Add a patch wifi-jammer.patch (closes: 0003100) master debian/3.0.0-0kali2
authorSophie Brun <sophie@freexian.com>
Thu, 3 Mar 2016 14:05:09 +0000 (15:05 +0100)
committerSophie Brun <sophie@freexian.com>
Thu, 3 Mar 2016 14:05:09 +0000 (15:05 +0100)
debian/changelog
debian/patches/series
debian/patches/wifi-jammer.patch [new file with mode: 0644]

index edb39f5..57abe87 100644 (file)
@@ -1,3 +1,9 @@
+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
 
   * Import new upstream release
index 260db24..1394064 100644 (file)
@@ -1,2 +1,3 @@
 add-sys-path-append
 fix-interpreter.patch
+wifi-jammer.patch
diff --git a/debian/patches/wifi-jammer.patch b/debian/patches/wifi-jammer.patch
new file mode 100644 (file)
index 0000000..68da89c
--- /dev/null
@@ -0,0 +1,35 @@
+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)