Browse Source

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

Stefan Schmidt 5 years ago
parent
commit
3ac98e13e8
1 changed files with 2 additions and 0 deletions
  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.