diff --git a/chapter04/find_ddos.py b/chapter04/find_ddos.py index ef864dc..1f38ad2 100644 --- a/chapter04/find_ddos.py +++ b/chapter04/find_ddos.py @@ -92,5 +92,10 @@ def find_attack(pcap): with open(pcap_file, 'rb') as file: _pcap = dpkt.pcap.Reader(file) find_download(_pcap) + with open(pcap_file, 'rb') as file: + _pcap = dpkt.pcap.Reader(file) find_hivemind(_pcap) + + with open(pcap_file, 'rb') as file: + _pcap = dpkt.pcap.Reader(file) find_attack(_pcap)