Skip to content

Commit 2161276

Browse files
PcapXray 2.8 (#49)
* flow sketches and ctf fix for mac spoof * add frame for file signature, clean up and solidify pyshark engine * stub for pcap engine * file signature detection for covert traffic
1 parent c99995b commit 2161276

12 files changed

+1100
-28
lines changed

Design/sketch_flow_diagram.pdf

2.29 MB
Binary file not shown.
1.67 MB
Binary file not shown.

Source/Module/communication_details_fetch.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from dns import reversename, resolver
66
import socket
77
# Module Import
8-
import pcap_reader
8+
#import pcap_reader
99
import netaddr
1010

1111
# Class Communication or Traffic Details Fetch
@@ -48,6 +48,7 @@ def is_multicast(ip):
4848
return False
4949

5050
def main():
51+
import pcap_reader
5152
capture = pcap_reader.PcapEngine('examples/test.pcap', "scapy")
5253
details = trafficDetailsFetch("sock")
5354
print(memory.destination_hosts)

Source/Module/device_details_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import json
77
import logging
88
# Module Import
9-
import pcap_reader
109
import memory
1110
import threading
1211
from netaddr import *
@@ -56,6 +55,7 @@ def oui_identification_via_ieee(self, mac):
5655
return "Unknown", "Unknown"
5756

5857
def main():
58+
import pcap_reader
5959
filename = "test.pcap"
6060
pcap_reader.PcapEngine('examples/test.pcap', "scapy")
6161
fetchDeviceDetails("ieee").fetch_info()

0 commit comments

Comments
 (0)