Skip to content

thehackersbrain/netscan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

NetScan

Simple TCP Port Scanner
Written in Go Lang by Gaurav Raj [TheHackersBrain]

bannerImage

NetScan is a simple TCP Port Scanner written in Golang while learning it.

NOTE: This tool only supports TCP Protocol, will add more eventually ;)

Version

NetScan 1.0.0

Requirement

Nothing Specifically Required just Golang should be installed.

Todo

  • To Add UDP and other method supports.
  • To Add Service Banner Grabbing for datails of the Port Service.
  • To Improve it further :)

Installation and Uses

Automated Installation (Recommanded)

Change the directory to where you want to install this tool and run the follwing command

curl https://raw.githubusercontent.com/thehackersbrain/netscan/main/install.sh -s | bash

Manual Installation

  • Make Sure Golang in Installed
go --version
  • Git clone this repo and change the directory
git clone https://github.com/thehackersbrain/netscan.git && cd netscan
  • Now Build the package
go build main.go && mv main netscan
  • Copy the binary in /usr/bin/ for easy access (optional)
sudo cp netscan /usr/bin/

How to Use

  • For specifing port, default is 1024
    ./netscan --port 1024
  • For specifing the target, default is scanme.nmap.org
    ./netscan --target 127.0.0.1

Author

Creator: Gaurav Raj
Portfolio: Here
Blog: TheHackersBrain Blog
Projects: Here
Twitter: @thehackersbrain
TryHackMe: hackersbrain

About

TCP Port Scanner written in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages