Ad End 1 August 2026
Ad End 4 july 2026
ad End 17 June 2026
ad End 25 July 2026
banner Expire 25 April 2025
adv exp at 20 April 2026
banner Expire 25 July 2025
banner Expire 23 June 2026
banner Expire 3 July 2026
Ads end 31 October 2026
What's new
Ad expires at 9 July 2026
Ads end 31 October 2026
Wizard's shop 2.0
RonalClub cc shop
Patrick Stash
Luki Crown
best shop
best shop

File_closed07

TRUSTED VERIFIED SELLER
Staff member
Joined
Jun 13, 2020
Messages
8,072
Reaction score
1,040
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