|
@@ -165,12 +165,7 @@ class CLI(object):
|
|
# Process attack(s) with given attack params
|
|
# Process attack(s) with given attack params
|
|
if self.args.attack is not None:
|
|
if self.args.attack is not None:
|
|
# If attack is present, load attack with params
|
|
# 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
|
|
# Parameter -q without arguments was given -> go into query loop
|
|
if self.args.query == [None]:
|
|
if self.args.query == [None]:
|