3
0
Преглед на файлове

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

Stefan Schmidt преди 6 години
родител
ревизия
3ac98e13e8
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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.