Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
banner Expire 25 April 2025
adv ex on 22 February 2024
Kfc Club

Patrick Stash
banner expire at 13 August 2024
BidenCash Shop
banner Expire 10 May 2025
Money Club cc shop
Luki Crown
Wizard's shop 2.0
Trump cc shop
Blackstash cc shop
Yale lodge shop
UniCvv
banner Expire 1 April  2021

A simple batch program for Port Scanning

Neon Ghost

TRUSTED VENDOR
Staff member
Joined
Dec 3, 2020
Messages
2,271
Hi friends in this post we are going to see how to create Batch programming for port scanning.
  • Open Notepad
  • Paste this code:
@ECHO off

color 0a
cd
C:
cls
for /L %%v in (1,1,11) do telnet %1 %%v
GOTO scan2
:scan2
for /L %%w in (12,1,20) do telnet %1 %%w

  • Save it with .bat extension(for eg: portscanner.bat)
  • Goto command prompt and, goto the exact location of where this port.bat is located.
  • now type the following command on the command prompt. port 127.0.0.1
  • This will port scan upto 20 continuous ports starting from 1 to 20 on your localhost.
  • This is not much efficient and not much reliable, but this is just to show, that there is a possibility for port scanning automation using Batch file programming.
 
Top Bottom