728x90 AdSpace

Latest News

Sports

Education

Business

Slider

Powered by Blogger.

Movies

Games

Travel

Fashion

News

Archive

Games

Music

Friday 13 September 2013

A simple batch program for Port Scanning

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.
- See more at: http://www.breakthesecurity.com/2010/12/simple-batch-program-for-port-scanning.html#more
  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment

Item Reviewed: A simple batch program for Port Scanning Description: Rating: 5 Reviewed By: Unknown
Scroll to Top