Sfoglia il codice sorgente

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

Stefan Schmidt 6 anni fa
parent
commit
3ac98e13e8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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.