The Wayback Machine - https://web.archive.org/web/20230903025701/https://github.com/R4yGM/netscanner
Skip to content

R4yGM/netscanner

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 5, 2020 12:23
March 23, 2020 20:31
March 23, 2020 20:47
March 23, 2020 20:41
March 11, 2020 22:07
March 12, 2020 15:46
March 8, 2020 10:57
March 23, 2020 20:38
March 5, 2020 12:23
March 23, 2020 20:54
March 11, 2020 22:08

Build Status

netscanner

netscanner - TCP/UDP scanner to find open or closed ports

installation

you have to run this command to install the program

$ go get github.com/R4yGM/netscanner

Usage

Commands :

netscanner 0.1 : TCP/UDP port scanner

Usage: netscanner <command>

Commands:

   sp,scanport - scan a singular port: usage sp,scanport <protocol> <hostname> <port> (ex. scanport tcp 127.0.01 80)
   in,initscan - scan the first 1023 ports: usage in,initscan <protocol> <hostname> <savefilebool>(ex. initscan udp 127.0.0.1 false)
   cs,completescan - scan all the ports: usage cs,completescan <protocol> <hostname> <savefilebool>(ex. completescan tcp 127.0.0.1 true)
   sft,scanfromto - scan the ports from a port given to another port given: usage sft,scanfromto <protocol> <hostname> <startport> <endport> <savefile>(ex. sft tcp 127.0.0.1 80 443 true)
   h,help - shows this text
   v,version - show the current version of the program
   info,information - shows some information about the program
   msp,maskscanport - scan a port of all the IPs in Subnet: usage msp,maskscanport <protocol> <hostname> <port> <savefilebool>(ex. msp tcp 127.0.0.1/24 true)
   

Parameters:

<protocol> - protocol to use - can be tcp or udp
<hostname> - hostname of the target - ex. 127.0.0.1
<port> - port to scan
<savefile> - bool that saves the scan in a file - true / false
<startport> - port to start scanning
<endport> - last port to scan
<hostname>(for mask scan) - must contain /24 or /32

Example

$ netscanner sp tcp 127.0.0.1 80

 Port     status   service

 80/tcp,  Closed,  http

Scan started at : 2020-03-07 12:16:08.4845743 +0100 CET m=+0.002086201
And finished at : 2020-03-07 12:16:08.4854596 +0100 CET m=+0.002971501

About

netscanner - TCP/UDP scanner to find open or closed ports

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages