Git Product home page Git Product logo

nudisc's Introduction

nudisc

Network Utilities - Discovery Tool

nudisc workflow

Setup

  1. Clone the repository.
git clone https://github.com/pfeiffermj/nudisc.git
  1. Change directory to the repository.
cd nudisc
  1. Build the image for the nudisc container.
sudo docker image build --tag local:nudisc .
  1. Run the container in detached state with TCP 8080->80 port mapping.
sudo docker container run -d -p 8080:80 --name nudisc local:nudisc
  1. Connect to the container's shell.
sudo docker exec -it nudisc bash
  1. Stop the container when finished.
sudo docker container stop nudisc
  1. Start the container if stopped.
sudo docker container start nudisc

Basic Usage

  1. When you are in an interactive session with the container a similar prompt will appear:
root@57576b930eba:/app#
  1. To execute the nudisc Python app run the following command:
root@57576b930eba:/app# ./nudisc.py
  1. When the protocol scans are complete output will placed in the targets folder.
root@57576b930eba:/app# ls targets/
icmp_targets.txt  tcp_targets.txt  udp_targets.txt
  1. You can view the contents of each file using cat.
root@57576b930eba:/app# cat targets/tcp_targets.txt 
192.168.2.1
192.168.3.1
192.168.4.1
192.168.5.1
192.168.5.9
192.168.10.1
192.168.11.1
  1. The targets output files are formatted for use as input files with other nmap commands and scripts.

scan.json

To modify what will be scanned modify the scan.json file either before or after the container build.

The container includes vim but you are free to download any text editor you wish to use.

{
    "ipv4_range" : "192.168.0.0/20",
    "ip_protocols" : "1,6,17",
    "tcp_ports" : "22,23,25,53,80,443,445,1433,3306,3389,5800,5900,8080,8443",
    "udp_ports" : "53,67,68,69,123,161,162,514,636,2055"
}

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.