Bläddra i källkod

Change interval selection attack parameter names for user

dustin.born 7 år sedan
förälder
incheckning
524eea28d9
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      code/Attack/AttackParameters.py

+ 3 - 3
code/Attack/AttackParameters.py

@@ -24,8 +24,8 @@ class Parameter(Enum):
     VICTIM_BUFFER = 'victim.buffer' # in packets
     TARGET_URI = 'target.uri'
     NUMBER_INITIATOR_BOTS = 'bots.count'
-    INTERVAL_SELECT_START = 'interval.select.start'
-    INTERVAL_SELECT_END = 'interval.select.end'
+    INTERVAL_SELECT_START = 'interval.selection.start'
+    INTERVAL_SELECT_END = 'interval.selection.end'
     # recommended type: domain -----------------------------------
     TARGET_HOST = 'target.host'
 
@@ -56,7 +56,7 @@ class Parameter(Enum):
     # otherwise the destination port is a normal ephemeral port
     BOTNET_DST_PORT_CALCULATION = "botnet.dstportcalculation"
     #recommended type: interval selection strategy, i.e. 'random', 'optimal' or 'custom' ------------------------------------
-    INTERVAL_SELECT_STRATEGY = 'interval.select.strategy'
+    INTERVAL_SELECT_STRATEGY = 'interval.selection.strategy'
 
 class ParameterTypes(Enum):
     """