Explorar el Código

Return None as filepath if no packets were injected

dustin.born hace 6 años
padre
commit
95a65b2200
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      code/Attack/MembersMgmtCommAttack.py

+ 1 - 1
code/Attack/MembersMgmtCommAttack.py

@@ -187,7 +187,7 @@ class MembersMgmtCommAttack(BaseAttack.BaseAttack):
         messages = self._create_messages()
 
         if messages == []:
-            return 0, []
+            return 0, None
 
         # Setup (initial) parameters for packet creation loop
         BUFFER_SIZE = 1000