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)
