Skip to content

orignalbox/cybersecurity-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

pcap file analyzer

quick start

git clone https://github.com/orignalbox/cybersecurity-task.git
cd cybersecurity-task

Install dependencies (scapy)

pip install -r requirements.txt

Usage

python pcap_analyzer.py /path/to/your/capture.pcap

using for the given file

[ogbox@meru ~/projects/ac/cybersecurity-task]$ python pcap_analyzer.py ipv4frags.pcap

Analyzing ipv4frags.pcap...
--------------------------------------------------
PCAP Analysis Report
--------------------------------------------------

[+] Total Packets: 3

[+] Protocol Distribution:
    - ICMP    : 2      packets (66.67%)
    - IP_Other: 1      packets (33.33%)

[+] Unique Source IPs:
    - 2.1.1.1
    - 2.1.1.2

[+] Unique Destination IPs:
    - 2.1.1.1
    - 2.1.1.2

--------------------------------------------------
[ogbox@meru ~/projects/ac/cybersecurity-task]$

About

RnD Task Round - 2024 Batch Recruitment

Resources

Stars

Watchers

Forks

Languages