Browse Source

Remove unused function

dustin.born 6 years ago
parent
commit
f64aaae43e
1 changed files with 0 additions and 9 deletions
  1. 0 9
      code/Attack/MembersMgmtCommAttack.py

+ 0 - 9
code/Attack/MembersMgmtCommAttack.py

@@ -336,15 +336,6 @@ class MembersMgmtCommAttack(BaseAttack.BaseAttack):
                 bot_configs[random_id] = {"Type": idtype, "IP": ip, "MAC": mac}
                 ids.remove(random_id)
 
-        def index_increment(number: int, max: int):
-            """
-            Number increment with rollover.
-            """
-            if number + 1 < max:
-                return number + 1
-            else:
-                return 0
-
         def assign_realistic_ttls(bot_configs:list):
             '''
             Assigns a realisitic ttl to each bot from @param: bot_configs. Uses statistics and distribution to be able