Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

How to make your own port scanner (batch)

Hey guys this is an easy tutorial on how to make your own port scanner using only notepad.

1- Open notepad and write this:

@echo off
netstat -an |find /i "listening"
pause

2- save it as .bat

If you didn't understand the code I will explain to you don't worry. Normally cmd when being used you type a command and before your command you can see something like this:

X:\Users\xxx>

When this happens echo is on (by default), but when you type echo off you see nothing it makes the cmd more understandable. With netstat you look for local connections and ports, netstat -an will show all ports but with the command (|find /i "listening") It will find all ports that contain the string "listening" and it will show them.

Here it is hope you liked it👍!


Possibly Related Threads...
Thread / Author Replies Views Last Post
[H4CK3R$] by ▄︻デ══━一一一一━Sep 12, 2026 06:21 AM 3 218 Sep 12, 2026 06:21 AM
Last Post: Stanley
by NYANxCATDec 5, 2020 03:25 PM 91 3,187 Dec 5, 2020 03:25 PM
Last Post: Psytek
by alexvenutelli7Mar 24, 2020 06:27 AM 0 143 Mar 24, 2020 06:27 AM
Last Post: alexvenutelli7