Browse Source

handle long interface names

Mathy 4 years ago
parent
commit
753fbf29fe
1 changed files with 1 additions and 1 deletions
  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)