The Raspberry Pi is a low-cost, credit-card-sized ARM computer. Despite being a good bit less powerful than a laptop or desktop PC, its affordability makes it an excellent option for a tiny Linux system and it can do far more than act as a media hub.
The Raspberry Pi provides a SD card slot for mass storage and will attempt to boot off that device when the board is powered on.
So Let's Get Started..
-
Raspberry Pi 3 : Amazon
-
SD Card (16 GB) : Amazon
-
Card Reader/SD Card Adoptor : Amazon
-
PowerBank/Charger : Amazon
-
PC/Laptop : Amazon
-
Linux Operating System : Kali Linux or ParrotSecOS
-
Brain and Patience...
-
Download the Kali Linux or ParrotSecOS Raspberry Pi image.
-
Download Etcher for You Operating System
-
Get a fast SD card with at least 16 GB capacity and Connect it with your PC/Laptop using Card Reader.
-
Run Etcher, choose Downloaded .img file of Kali Linux then choose SD Card as disk then click on Flash button.
WARNING : This Process will overwrite any existing data on your SD card. If you specify the wrong device path, you could wipe out your computer’s hard disk !!!
- This process can take a while depending on your SD card’s device speed and image size..
-
Once the flashing process complete, open a Linux Operating System As Root (you can also use a Live Linux OS) (*if you're already using Linux skip this step).
-
Open Terminal and move to Desktop by typing :
cd /root/Desktop
-
Now Download HackPi by typing :
git clone https://github.com/thehackingsage/hackpi.git
-
Connect SD-Card with your PC/Laptop using card reader, don't mount the drive.
-
Open GParted Application by typing :
gparted
-
Select SD Card from the Top Right Corner.
-
Select the ext4 partition.
-
Resize the partition by dragging the right edge of the partition all the way to the right (click/drag the right edge).
-
then click on the green check mark, "Return" arrow, or other "apply" control to execute these changes.
-
after that Mount the SD Card.
-
Open Boot Partition of SD Card.
-
Create a simple empty file named
ssh
on Boot Partition of SD Card. -
After that Goto HackPi > Config Files > etc > wpa_supplicant and open wpa_supplicant.conf in a text editor
-
Type Your
WiFi SSID
in the place ofType_SSID
andWiFi Password
in the place ofType_Password
. and then save the file (ctrl+s). -
Now go back to Config File folder and Copy the etc folder and Paste it into Root Partition of SD Card.. it will ask you for Marge and Replace Files or Folder, click on Yes..
-
Copy and Paste HackPi folder in Root Partition of SD Card (/root/Downloads/)
-
Insert the SD card into the Raspberry Pi and power it on. it'll automatically login as root and connect to your wifi.
-
Now Download Putty and VNC Viewer and Install Them.
-
The Default Static IP of Your KaliPi is 192.168.1.155.
-
Open Putty And Type
192.168.1.155
in Host and22
in Port and click on Open. -
It'll ask you for log as :
root
and Password :toor
-
Now goto hackpi folder by typing :
cd Downloads/hackpi/
-
Give execution permission to install.sh file by typing :
chmod +x install.sh
-
now execute the file by typing :
./install.sh
-
Press Enter and Wait for Finish the Installation..
It'll Update Your Kali Linux/ParrotSecOS, Start Up The XFCE Desktop Environment, Configure Auto Root Login and Configure VNC Autorun on Startup..
In The Middle of Installation It'll Ask You for VNC Password, you can type whatever password you want, then it'll ask for Enter A View-Only Password?(y/n) : Type n
and Hit Enter..
- Once the Installation process complete. restart the raspberry pi by typing :
reboot
All Done.. !!!
-
Now Just Power On Your Raspberry Pi
-
Open VNC Viewer
-
Create a New Connection (CTRL+N)
-
Type
192.168.1.155:5900
in VNC Server andHackPi
in Name and click on OK. -
Now Double Click on Kali Pi, It'll Ask You For Password So Type Your VNC Password, Check Remember Password and Click OK.
By default, the Kali Linux Raspberry Pi image has been streamlined with the minimum tools, similar to all the other ARM images. If you wish to upgrade the installation to a standard desktop installation, you can include the extra tools by installing the kali-linux-full metapackage..
- So Open Your Terminal and Type
apt-get install kali-linux-full -y
and hit Enter.
That's It.. !!!
if you face any question or any problem in this process feel free to ask.. :)
and If You Like This Repo. Please Share This With Your Friends..
& Don't Forget To Follow Me At Twitter, Instagram, Github & SUBSCRIBE My YouTube Channel..!!!
Happy Hacking !!!