Networking

I have wrote an automated WPA cracking script (matts-wpacrack.sh). Let me know if you have any improvements.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140#!/bin/bash # wpacrack.sh v.1.1 # Create by Matthew Phillips # New versions can be downloaded from www.phillips321.co.uk # VERSION="1.1" # This tool requires aircrack-ng tools to be installed and run as root # # ChangeLog.... # Version 1.1 - Randomises MAC Address on start # Version 1.0 - First Release ################################################################# # CHECKING… Continue reading

I have wrote a little script (matts-monitor.sh) to monitor for new devices on your subnet and then perform an action against each new device.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788#!/bin/bash # # matts-monitor.sh v1.1 # This tool allows you to monitor your current subnet and then runs a command against the new target! # Create by Matthew Phillips # New versions can be downloaded from www.phillips321.co.uk VERSION="1.1" # # This tool requires nmap to be… Continue reading

Run the following in the first terminal window to create an interface in monitor mode called mon0 of interface wlan0 The second command shows WEP encrypted networks nearby The third command starts capturing traffic from your target

123airmon-ng start wlan0 #create interface man0 in monitor mode of wlan0 airodump-ng --encrypt WEP mon0 #shows APs with WEP only airodump-ng -c [channel] --bssid [mac_of_ap] --ivs -w [filename] mon0

Now open a second… Continue reading

Make sure wireless-tools is installed and then edit /etc/network/interfacese

12345678910auto eth1 iface eth1 inet dhcp wpa-driver wext wpa-ssid [ssid here] wpa-ap-scan 1 wpa-proto WPA wpa-pairwise TKIP wpa-group TKIP wpa-key-mgmt WPA-PSK wpa-psk [result of wpa_passphrase essid phrase]

#or

1234auto eth1 iface eth1 inet dhcp wireless-essid [ssid here] wireless-key [network key]

And to improve your wireless performance if you’re getting dropped packets use

1iwconfig [interface] rate 5.5M auto

This allows mounting of a remote file system over ssh. Ensure that theĀ sshfs package is installed.

1sshfs phillips321@torrenter.co.uk:/var/www /media/ssh -o allow_other