Giter Club home page Giter Club logo

gans's Introduction

README

GANS is a tool to automate nmap scan.

Install GO

Install go from the package downloader of your distribution or use official download from https://golang.org/dl

Create a workspace to load your code :

mkdir ~/.go
export GOPATH=$HOME/.go
export PATH=$PATH:$HOME/.go/bin

(edit your .profile file if you want to execute this at every login)

Install GANS

go get github.com/restanrm/gans

It will download all the dependencies needed.

Using GANS

Gans is used from a daemon process and some control processes. The command gans run need root permission due to the nmap permissions that are required to do the scan. Here is a simple example to use gans.

You will need 2 terminals :

Here is the first one : (it needs root because it interacts with nmap)

sudo ./gans run -d data.json

This deamon is now waiting for commands. It will read/write the infos it gathers/needs in the data.json file. (you can change this of course)

Open a second terminal and run the command

./gans scan <IP address(es)|IP address range(s)>

ex :

./gans scan 192.168.0.0/24 192.168.2.254 172.16.0.0/12

You can then parse the data generated by GANS :

./gans parse data.json

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.