Skip to content

This repo contain a python script which is a collection of modules that allows you to perform various networking tasks, including device scanning, speed testing, DOS attacks, and Internet connection diagnostics.

Notifications You must be signed in to change notification settings

sachdev27/LAN-Network-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project logo

Python Networking Toolbox

Status GitHub Pull Requests License


Description

This Python script is a collection of modules that allows you to perform various networking tasks, including device scanning, speed testing, DOS attacks, and Internet connection diagnostics. The script uses the Scapy library for scanning and DOS attacks, the speedtest-cli library for speed testing, and the built-in Python libraries for Internet connection diagnostics.

Screenshots

Requirements

To run this script, you will need the following:

  • Python 3.6 or higher
  • Scapy library
  • speedtest-cli library
  • traceroute

Usage

To use this script, simply run the main.py file. You will be prompted to choose which task you want to perform. Follow the on-screen instructions to complete the task.

The directory consist of a Virtual Environment, which is a tool that helps to keep dependencies required by different projects separate by creating isolated python virtual environments for them. This is one of the most important tools that most of the Python developers use.

Enter into the Virtual Environment by running the following command:

source network/bin/activate

Modules

  1. Device Scanner This module uses Scapy to scan for devices on the network. It sends an ARP request to the broadcast address and listens for responses. The module returns a list of devices with their IP and MAC addresses.
Project logo
  1. Speed Test This module uses the speedtest-cli library to test the download and upload speed of your Internet connection. It returns the download and upload speed in Mbps.
  1. DOS Attack This module uses Scapy to launch a DOS attack on a target device. It sends a large number of packets to the target device, overwhelming it and causing it to crash or become unresponsive. This module should only be used for testing purposes on a network that you own.
  1. Traceroute module: This module uses the CMDLine to perform a traceroute analysis of the network. It identifies the exact hop at which the packet is being dropped and provides the necessary information to diagnose the issue.
  • Connection Type: The first condition that is checked is whether the user is connected to a Wi-Fi or Ethernet network. This can be important because different types of connections can have different bandwidths, latency, and reliability characteristics that may affect the user's ability to access the internet.
  • Gateway Connection: The next condition that is checked is whether the user can connect to the gateway, which is the device that connects the user's network to the internet. If the user is unable to connect to the gateway, it may indicate a problem with the user's network configuration or hardware.
  • Packet Loss: The third condition that is checked is whether the user's packets are getting dropped within the internet. This can be caused by various factors, such as network congestion, routing issues, or faulty network hardware. If packets are getting dropped, it may result in slow or inconsistent internet performance.
  • Internet Access: The final condition that is checked is whether the user is able to access the internet. This includes checking whether websites or online services can be accessed, and whether internet-based applications are able to function properly. If the user is unable to access the internet, it may indicate a problem with the user's network, service provider, or the internet as a whole.

⛏️ Built Using

✍️ Authors

About

This repo contain a python script which is a collection of modules that allows you to perform various networking tasks, including device scanning, speed testing, DOS attacks, and Internet connection diagnostics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages