Setup Kali Linux on Raspberry Pi

Here is how you setup Kali Linux on a Raspberry Pi

Format your SD card to FAT32(exFAT) using Disk Utility then download the image for you pi model https://www.offensive-security.com/kali-linux-arm-images.

openssl sha1 kali-2.1.2-rpi2.img.xz 

Compare it with the sha1 next to the version you downloaded

To uncompress the downloaded xz file you will need to unxz it. (If you don’t have the utility then download it with brew install xz).

unxz kali-2.1.2-rpi2.img.xz

Find the name of your sd card disk using diskutil list. For me it’s /dev/disk2.

sudo dd if=kali-2.1.2-rpi2.img of=/dev/disk2 bs=512k 

This will take some time… If you get dd: /dev/disk2: Resource busy you will need to unmount your partition (not eject the disk!). Open Disk Utility and right-click on the partition, not the disk, and select unmount. Then re-run your dd command. Once the command completes, eject your disk, plug it into your pi and start it up. Done

Happy Hacking

 
4
Kudos
 
4
Kudos

Now read this

Wrap a REST API with Retrofit

Building a type-safe wrapper around a REST API is a pain. You need to deal with separate HTTP calls, dynamic construction of query strings, casting to your data types, handling exceptions etc. Luckily the smart folks at Square released a... Continue →