Finally my Raspberry PI Model B Rev.2 is arrived !! I choose to buy an used one just to start some testing 🙂
I choose PWNPI 3.0 as operating system because it contains lots of useful tools to help me in my pentesting activities.
In this article I’ll show you how to install and configure PWNPI 3.0 in a 64Gb SD card.
In order to complete the task you need:
– Raspberry PI
– PWNPI 3.0 image (download from PWNPI official website)
– SD Card (I’m using a Sandisk 64Gb SDXC Class 10 for maximum performance)
First of all you have to uncomprezz the 7zip image. Using Ubuntu 12.10 right click on the image and select “Extract Here”. The uncompressed size of the PWNPI 3.0 image will be about 3.4Gb so be sure you have enough space on your disk.
At the end of uncompression, insert your SD card into the reader and delete all the partitions already present: we need an unformatted unpartitioned SD card to proceed! Under Linux you can choose gparted to complete this task.
If the previous task is completed without errors, you can proceed to transfer PWNPI 3.0 image on your SD card. Personally I like to have progress bar during dd operations, so I can see the status. To do this you must have installed “pv” on your system. In Debian/Ubuntu distro just type
sudo apt-get install pv sudo pv ./pwnpi-3.0.img | sudo dd of=/dev/mmcblk0 bs=4M
In the example above I’m running the command rom the same directory where the image is.
Please be sure to specify the right parameter in your target device !! I’m using /dev/mmcblk0 because the SD card reader is embedded in my Sony Vaio. If you are using an USB device, please be sure to select the right path (probably /dev/sdx)
Now you have to wait that dd will finish the image….depend of your hardware it could require some time!
At the end of the process you can eject your SD card and insert in your raspberry. Boot your little system and connect using ssh client.
Default credentials are user root with password root.