Ad End 1 November 2026
Adv exp at 7 December 2026
ad End 17 December 2026
banner Expire 15 January 2025
banner Expire 20 August 2026
banner Expire 23 october 2026
banner Expire 27 September 2026
adv exp at 20 OCtober  2026
What's new
 Ad expire at 26 September 2023
Ads end 31 October 2026
RonalClub cc shop
Patrick Stash
Luki Crown
Wizard's shop 2.0
best shop
Ads end 31 October 2026

File_closed07

TRUSTED VERIFIED SELLER
Staff member
Joined
Jun 13, 2020
Messages
8,134
Reaction score
1,141
Points
212
Awards
2
  • trusted user
  • Rich User
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.
 
Ad End 1 November 2024
Top