Commit 27794142 authored by Sophie Brun's avatar Sophie Brun

Add a patch wifi-jammer.patch (closes: 0003100)

parent d7c742ea
websploit (3.0.0-0kali2) kali-dev; urgency=medium
* Add a patch wifi-jammer.patch (closes: 0003100)
-- Sophie Brun <sophie@freexian.com> Thu, 03 Mar 2016 14:54:05 +0100
websploit (3.0.0-0kali1) kali-dev; urgency=medium websploit (3.0.0-0kali1) kali-dev; urgency=medium
* Import new upstream release * Import new upstream release
......
add-sys-path-append add-sys-path-append
fix-interpreter.patch fix-interpreter.patch
wifi-jammer.patch
Description: Fix module_wifi_jammer
Use the new monitoring interface (wlan0mon)
Origin: http://www.hackingtutorials.org/metasploit-tutorials/websploit-wifi-jammer/
Bug-kali: https://bugs.kali.org/view.php?id=3100
Forwarded: not-needed
Last-Update: 20160303
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/modules/wifi_jammer.py
+++ b/modules/wifi_jammer.py
@@ -9,7 +9,7 @@ from core import wcolors
from core import help
from time import sleep
-options = ["wlan0", "", "", "mon0", "11"]
+options = ["wlan0", "", "", "wlan0mon", "11"]
def wifi_jammer():
try:
@@ -32,7 +32,7 @@ def wifi_jammer():
print "ESSID => ", options[2]
wifi_jammer()
elif com[0:7] =='set mon':
- options[3] = com[8:12]
+ options[3] = com[8:16]
print "MON => ", options[3]
wifi_jammer()
elif com[0:11] =='set channel':
@@ -83,4 +83,4 @@ def wifi_jammer():
print "Wrong Command => ", com
wifi_jammer()
except(KeyboardInterrupt):
- print(wcolors.color.RED + "\n[*] (Ctrl + C ) Detected, Module Exit" + wcolors.color.ENDC)
\ No newline at end of file
+ print(wcolors.color.RED + "\n[*] (Ctrl + C ) Detected, Module Exit" + wcolors.color.ENDC)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment