Parcourir la source

handle long interface names

Mathy il y a 4 ans
Parent
commit
753fbf29fe
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      krackattack/krack-test-client.py

+ 1 - 1
krackattack/krack-test-client.py

@@ -266,7 +266,7 @@ class KRAckAttackClient():
 
 		# Set other variables
 		self.nic_iface = interface
-		self.nic_mon = interface + "mon"
+		self.nic_mon = ("mon" + interface)[:15]
 		self.options = None
 		try:
 			self.apmac = scapy.arch.get_if_hwaddr(interface)