Simple TCP Port Scanner
Written in Go Lang by Gaurav Raj [TheHackersBrain]
NetScan is a simple TCP
Port Scanner written in Golang while learning it.
NOTE: This tool only supports TCP Protocol, will add more eventually ;)
NetScan 1.0.0
Nothing Specifically Required just Golang should be installed.
- To Add
UDP
and other method supports. - To Add Service Banner Grabbing for datails of the Port Service.
- To Improve it further :)
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
- 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/
- For specifing port, default is 1024
./netscan --port 1024
- For specifing the target, default is
scanme.nmap.org
./netscan --target 127.0.0.1
Creator: Gaurav Raj
Portfolio: Here
Blog: TheHackersBrain Blog
Projects: Here
Twitter: @thehackersbrain
TryHackMe: hackersbrain