|
@@ -92,7 +92,7 @@ class Controller:
|
|
print("Copying single attack pcap to location of base pcap...", end=" ")
|
|
print("Copying single attack pcap to location of base pcap...", end=" ")
|
|
sys.stdout.flush() # force python to print text immediately
|
|
sys.stdout.flush() # force python to print text immediately
|
|
|
|
|
|
- timestamp = time.strftime("%Y%m%d") + '-' + time.strftime("%X").replace(':', '')
|
|
|
|
|
|
+ timestamp = '_' + time.strftime("%Y%m%d") + '-' + time.strftime("%X").replace(':', '')
|
|
self.pcap_dest_path = self.pcap_src_path.replace(".pcap", timestamp + '.pcap')
|
|
self.pcap_dest_path = self.pcap_src_path.replace(".pcap", timestamp + '.pcap')
|
|
shutil.copy(attacks_pcap_path, self.pcap_dest_path)
|
|
shutil.copy(attacks_pcap_path, self.pcap_dest_path)
|
|
|
|
|