windows auditing
+ Reply to Thread
Results 1 to 4 of 4

Thread: Need a port scanner in Batch

  1. #1
    Join Date
    Dec 2005
    Posts
    2

    Unhappy Need a port scanner in Batch

    Hi,
    I'm writting a program in batch and I wanted to write a port scanner.
    I haven't had any luck, and I'm going crazy because I have been trying for days to make it... I have tryed serching Google but I come up with nothing.
    I understand that SyntaX****** knows a lot of Batch and I really need help on this one.

    I just want to know if its even possible to write a port scanner in Batch? And if it is, could someone paste the code here so I can view it and try to see what I was doing wrong?

    Thx a lot for your answers!

  2. #2
    Join Date
    Sep 2005
    Posts
    2,050

    batch port scanner

    You can't "write a program" in batch, because batch isn't actually a programming language, it's just a series of comands to be executed by the command interpreter. You could only use commands already available to you in cmd, so you wouldn't get very far making a port scanner out of ms-dos commands. If you really wanted to use batch, you could probably use telnet in your script to connect to every single port available, but it would be too slow to be a useful port scanner.

  3. #3
    Join Date
    Dec 2005
    Posts
    2
    I know that Batch is just a script file filled with DOS commands... Therefore its not a programming language. But I want to learn as much of DOS as possible before I go and learn Python or maybe even Perl.

    So if anyone has any ideas of how a Telnet port scanner code would look like, please post it.
    Thx.

  4. #4
    Join Date
    Jan 2005
    Posts
    623
    Add nmap to your system*2 folder and incorporate this into your script ~
    [url=http://www.syntax******.info/tools/services.php]Speed Up Windows XP[/url]
    [url=http://www.syntax******.info/tools/ip.php]Get An Ip Address[/url]
    [url=http://www.syntax******.info/tools/base_converter.php]Base Converter[/url]
    --------------------------------
    [URL=http://www.boninroad.com/syntax******/]Old Site[/URL]
    [URL=http://www.syntax******.info]Comming Soon[/URL]

+ Reply to Thread

Similar Threads

  1. Need Help with a Port Scanner
    By Moonbat in forum Programming
    Replies: 6
    Last Post: 05-16-2008, 05:59 PM
  2. IP / Port / Lan Scanner
    By Noodles in forum Programming
    Replies: 3
    Last Post: 11-13-2007, 06:17 PM
  3. Batch file
    By Demonizer in forum Viruses and Trojans
    Replies: 2
    Last Post: 08-19-2005, 11:07 AM
  4. port 80 and port 8080
    By ted1546 in forum Proxies and Firewalls
    Replies: 1
    Last Post: 04-17-2005, 10:22 PM
  5. Port 445 - Batch Script
    By Unregistered in forum Internet Privacy
    Replies: 2
    Last Post: 01-12-2005, 04:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts