Installing additional packages for pentest
Hello! In addition to install most programs from the Kali repository, you can also install additional unofficial program for pentesting such as wifiphisher, waidps, linset.
1. Connect to SSH [Optional, but recommended]
2. Next install wifiphisher:
Code:
mkdir backup
cd backup
git clone https://github.com/sophron/wifiphisher.git
cp -rp /root/backup/wifiphisher/ /opt/
ln -s /opt/wifiphisher/wifiphisher.py /usr/bin/wifiphisher.py
chmod +x /usr/bin/wifiphisher.py
3. Install waidps:
Code:
mkdir backup
cd backup
git clone https://github.com/SYWorks/waidps.git
cd waidps/
cp /root/backup/waidps/waidps.py /opt/waidps.py
chmod +x /opt/waidps.py
4. Install linset [English Version]:
Code:
mkdir backup
cd backup
apt-get install isc-dhcp-server lighttpd macchanger php5-cgi macchanger-gtk
git clone https://github.com/Trig0n/Linset.git
cd Linset/
cp /root/backup/Linset/linset /usr/bin/linset
chmod +x /usr/bin/linset
To install the original version: 'git clone https://github.com/vk496/linset.git'
5. Install GoldenEye:
Code:
mkdir backup
cd backup
git clone https://github.com/jseidl/GoldenEye.git
cp -rp /root/backup/GoldenEye/ /opt/
ln -s /opt/GoldenEye/goldeneye.py /usr/bin/goldeneye.py
chmod +x /usr/bin/goldeneye.py
6. Install Penetrator WPS
Code:
mkdir backup
cd backup
git clone https://github.com/xXx-stalin-666-money-xXx/penetrator-wps.git
cd penetrator-wps/
sh ./install.sh
You can now delete the Backup folder
7. After installation, you must fix packs Wifi_Jammer and Wifi_DoS
Create Backup original files to restore:
Code:
cat /usr/share/websploit/modules/wifi_jammer.py > /usr/share/websploit/modules/wifi_jammer.py.bak
cat /usr/share/websploit/modules/wifi_dos.py > /usr/share/websploit/modules/wifi_dos.py.bak
Using the VIM editor open file wifi_jammer:
Code:
vim /usr/share/websploit/modules/wifi_jammer.py
Search string:
Code:
elif com[0:7] =='set mon':
options[3] = com[8:12]
Replace string:
Code:
elif com[0:7] =='set mon':
options[3] = com[8:]
Then open the file wifi_dos using the VIM editor:
Code:
vim /usr/share/websploit/modules/wifi_dos.py
Search string:
Code:
elif com[0:7] =='set mon':
options[3] = com[8:12]
Replace string:
Code:
elif com[0:7] =='set mon':
options[3] = com[8:]
Again search string:
Code:
elif com[0:3] =='run':
cmd_0 = "airmon-ng stop " + options[3]
Replace string:
Code:
elif com[0:3] =='run':
cmd_0 = "airmon-ng stop " + options[0]
Note: you can also use another editor and edit lines directly from the device, for example using ES file Explorer: /data/local/kali-armhf/usr/share/websploit/modules/file.py
After you get a working program, run: wifiphisher.py, waidps.py, lisnet