/NetworkPacketSniffer

A network packet sniffer made in python.

Primary LanguagePython

NETWORK PACKET SNIFFER

A network packet sniffer made in python.

This tool monitors network traffic for devices, protocols, and various information captured in different packets.

How To use?

To use the code:

$ git clone https://github.com/Sanjipan/NetworkPacketSniffer
$ cd NetworkPacketSniffer
$ sudo python3 ./NetworkPacketSniffer.py

Demo:

┌──(kali㉿kali)-[~/]
└─$ cd NetworkPacketSniffer
┌──(kali㉿kali)-[~/NetworkPacketSniffer]
└─$ sudo python3 ./NetworkPacketSniffer.py
______________________________________________________________
|                                                            
|             ⠀⠀⠀⠀⠀⠀⣠⣴⣾⣿⣿⣿⣿⣿⣿⣶⣤⣄⠀⠀⠀⠀⠀⠀⠀⠀              
|             ⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣄⠀⠀⠀⠀⠀             
|             ⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣆⠉⠉⢉⣿⣿⣿⣷⣦⣄⡀⠀            
|             ⠀⠚⢛⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡄            
|             ⠀⢠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⠿⠿⣿⡇            
|             ⢀⣿⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠁⠀⠀⠀⠀⠀⠀⠈⠃             
|             ⠸⠁⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀             
|             ⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀              
|             ⠀⠀⠀⣿⣿⣿⡿⣿⣿⣿⣿⣿⣿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀             
|             ⠀⠀⠀⠹⣿⣿⡇⠈⠻⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀              
|             ⠀⠀⠀⠀⠈⠻⡇⠀⠀⠈⠙⠿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀               
|  _    _    __          ___  __     ______            _____ 
| | |  | |   \ \        / / |/ /    |  ____|          / ____|
| | |__| | __ \ \  /\  / /| ' /_____| |__  _   _  ___| (___  
| |  __  |/ _` \ \/  \/ / |  <______|  __|| | | |/ _ \___ \ 
| | |  | | (_| |\  /\  /  | . \     | |___| |_| |  __/____) |
| |_|  |_|\__,_| \/  \/   |_|\_\    |______\__, |\___|_____/ 
|                                           __/ |            
|                                          |___/             
|============================================================|
SNIFFING HAS BEEN STARTED:
[*] Ethernet Frame: 
[*] Destination: 36:34:00:00:00:02, Source: 00:0A:23:90:E2:0B, Protocol: 46640
[*] Data :
         \x30\x0c\xc9\xe7\x00\x08\x2a\xff\xfe\x90\x00\x00\x00\x00\x00\x00\xf8\xfa\x00\x
         3d\x33\xa7\xe1\xbc\xfd\x02\x00\x0f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
         \x02\x85\x00\x6b\x99\x00\x00\x00\x00

Terminate the program:

Use this Key-Combination in the terminal to terminate the program:

  Ctrl+c

Authors:

Disclaimer

"EDUCATIONAL PURPOSES ONLY"

Legal Disclaimer

The use of code contained in this repository, either in part or in its totality, for engaging targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws.

Developers assume no liability and are not responsible for misuses or damages caused by any code contained in this repository in any event that, accidentally or otherwise, it comes to be utilized by a threat agent or unauthorized entity as a means to compromise the security, privacy, confidentiality, integrity, and/or availability of systems and their associated resources. In this context the term "compromise" is henceforth understood as the leverage of exploitation of known or unknown vulnerabilities present in said systems, including, but not limited to, the implementation of security controls, human- or electronically-enabled.

The use of this code is only endorsed by the developers in those circumstances directly related to educational environments or authorized penetration testing engagements whose declared purpose is that of finding and mitigating vulnerabilities in systems, limiting their exposure to compromises and exploits employed by malicious agents as defined in their respective threat models.

The application must be used for "EDUCATIONAL PURPOSES ONLY"