Git Product home page Git Product logo

net_scout's Introduction

Net_Scout

python3 network/port scanner built and tested within ubuntu 18.04.4 using python3.6.9

Dependencies

scapy

pip3 install scapy

progress

pip3 install progress

yaspin

pip3 install yaspin

figlet

 sudo apt install figlet

Functions

---> net_scan(ip, tout)

Uses the ARP Ping method to discover active hosts on a network. Provide an ip address range including CIDR notation of network. -to (timeout) flag is optional; defaults to 5. Example: -t 192.168.0.0/24 -to 10
sudo python3 net_scout.py -t <ip_address_range> -to <timeout>

---> port_scan(ip, end_port)

Uses TCP connect scan to find open ports. --port flag is required. Enter a single ip_address for the target using the -t flag. The -m flag is optional. -m indicates max port number you would like to scan up to. Example --> -m 500 will scan ports 1 - 500.
sudo python3 net_scout.py --port -t <ip_address> -m <max_port_number>
Flag Name Scan Type Optional Description
-m MAX port_scan yes Sets Max port to scan to. port_scan() starts port 1 and scans up to the specified MAX. Defaults to 1024.
-t TARGET both no net_scan() targets a range of ips and requires the target to have CIDR notation. port_scan() targets a single ip.
-to TIMEOUT net_scan yes Sets the Timeout of the scapy sr1() scan. Proper timeout value depends on the amount of hosts being scanned. Defaults to 5 seconds.
--port TYPE port_scan yes Tells script to run a port_scan() instead of the default net-scan()

---> print_net_scan(active_hosts)

Formats the results of a net_scan.

---> print_port_scan(active_ports)

Formats the results of port_scan.

---> get_arguments()

uses argparse module to parse the command line arguments entered when script is executed.

net_scout's People

Contributors

rangertech24 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.