Advertisement
johnmahugu

python - hack wifi using scapy

Jul 6th, 2015
3,131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.28 KB | None | 0 0
  1. # For educational purposes only
  2. # Hacking Wifi Using Scapy
  3.  
  4.  
  5.  
  6. #!/usr/bin/env python
  7.  
  8. from scapy.all import *
  9.  
  10. ap_list = []
  11.  
  12. def PacketHandler(pkt) :
  13.  
  14.   if pkt.haslayer(Dot11) :
  15.                 if pkt.type == 0 and pkt.subtype == 8 :
  16.                         if pkt.addr2 not in ap_list :
  17.                                 ap_list.append(pkt.addr2)
  18.                                 print "AP MAC: %s with SSID: %s " %(pkt.addr2, pkt.info)
  19.  
  20.  
  21. sniff(iface="mon0", prn = PacketHandler)
  22. '''
  23. Keywords:
  24.  
  25. wifi hacker, wifi hacker app ,wifi hack android ,wifi hacker for android
  26. wifi hack app, wifi hacker apk, wifi hacker program, wifi hack 2013 ,wifi hack cydia, wifi hack android app, wifi hacker, wifi hacking
  27. wifi hack software, wifi hackware, wifi hack tools, wifi hacking sites
  28. wifi hackers software, free wifi hack, wifi hack password, wifi hacked, wifi hacker, wifi hacker password, wifi hacking, wifi hacks, wifi hacking software, wifi hacker android, wifi hacker for ipod touch, wifi hacker download, wifi hacker free, wifi hacker apps, wifi hack, wifi hacker, wifi hack 4, wifi hack password 2013, wifi hack android, wifi hack password, wifi hack 2013, wifi hacker for android, wifi hack windows, wifi hacker for windows 7, wifi hacker, wifi hack, wifi hacking software
  29. '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement