Explorar o código

Fixed "attribute definition outside of __init__" warning in the botnet attack

Stefan Schmidt %!s(int64=6) %!d(string=hai) anos
pai
achega
3ac98e13e8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      code/Attack/MembersMgmtCommAttack.py

+ 2 - 0
code/Attack/MembersMgmtCommAttack.py

@@ -80,6 +80,8 @@ class MembersMgmtCommAttack(BaseAttack.BaseAttack):
         for msg_type in Bmsg.MessageType:
             self.msg_types[msg_type.value] = msg_type
 
+        self.DEFAULT_XML_PATH = None
+
     def init_params(self):
         """
         Initialize some parameters of this communication-attack using the user supplied command line parameters.