Coder Social home page Coder Social logo

vscan-go's Introduction

vscan-go

golang version for nmap_vscan nmap service and application version detection (without nmap installation)

Building

Get and Build:

git clone https://github.com/rickgray/vscan-go vscan-go
cd vscan-go
go build

./vscan-go -h

Or use "make" tool to build:

git clone https://github.com/rickgray/vscan-go vscan-go
cd vscan-go
make && make install

vscan-go -h

Usage

Usage of ./vscan-go:
  -in string
    	Input filename, use - for stdin (default "-")
  -null-probe-only
    	Use NULL probe to probe service only
  -out string
    	Output filename, use - for stdout (default "-")
  -routines int
    	Goroutines numbers using during scanning (default 10)
  -scan-probe-file string
    	A flat file to store the version detection probes and match strings (default "./nmap-service-probes")
  -scan-probe-file-extra string
    	Extra probes to expand "nmap-service-probes"
  -scan-rarity int
    	Sets the intensity level of a version scan to the specified value (default 7)
  -scan-read-timeout int
    	Set connection read timeout in seconds (default 5)
  -scan-send-timeout int
    	Set connection send timeout in seconds (default 5)
  -use-all-probes
    	Use all probes to probe service
  -verbose int
    	Output more information during service scanning

Specailly, vscan-go use NMap vscan probe file - nmap-service-probes to detect service, you can download and use it directly:

wget https://raw.githubusercontent.com/nmap/nmap/master/nmap-service-probes -O ./nmap-service-probes

vscan-go -scan-probe-file ./nmap-service-probes -h

if you want more details about vscan, see https://nmap.org/book/vscan.html.

Example

With masscan:

$ masscan -p1-65535,U:1-65535 --excludefile=blacklist.conf 0.0.0.0/0 | awk -F '/' '{print $1" "$2}' | awk '{print $7":"$4"/"$5}' | vscan-go vscan-go -scan-probe-file ./nmap-service-probes -routines=2000 | jq

With zmap:

$ zmap -p 80 | awk '{print $1":80"}' | vscan-go -scan-probe-file ./nmap-service-probes -routines=2000 | jq

vscan-go's People

Contributors

rickgray avatar jax777 avatar

Watchers

 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.