Browse Source

Improved structure for QS

Marcel 6 years ago
parent
commit
f4e4a57b3d
1 changed files with 1 additions and 6 deletions
  1. 1 6
      code/CLI.py

+ 1 - 6
code/CLI.py

@@ -165,12 +165,7 @@ class CLI(object):
         # Process attack(s) with given attack params
         if self.args.attack is not None:
             # If attack is present, load attack with params
-            if self.args.inject_empty:
-                # Attack PCAPs will not be merged with base PCAP
-                controller.process_attacks(self.args.attack, inject_empty=True)
-            else:
-                # Attack PCAP will be merged with base PCAP
-                controller.process_attacks(self.args.attack)
+            controller.process_attacks(self.args.attack, self.args.inject_empty)
 
         # Parameter -q without arguments was given -> go into query loop
         if self.args.query == [None]: