Sign in to follow this  
Followers 0
Kardus

Packet/data sender

5 posts in this topic

I'm making a script and I'm not sure how I'd go about sending packets to a certain IP (like 'ping' in DOS).

I'd also like to know how I could genterate a list of incoming/outgoing IP's (like 'netstat' in DOS).

If anyone could instruct me how to do these (or any DOS commands for that matter), please tell me! I need the text (that would normally appear in the command prompt) to show up in my gui (i.e. List of ip's, packet sending info) Thanks!

Share this post


Link to post
Share on other sites



I'm making a script and I'm not sure how I'd go about sending packets to a certain IP (like 'ping' in DOS).

I'd also like to know how I could genterate a list of incoming/outgoing IP's (like 'netstat' in DOS).

If anyone could instruct me how to do these (or any DOS commands for that matter), please tell me! I need the text (that would normally appear in the command prompt) to show up in my gui (i.e. List of ip's, packet sending info) Thanks!

Option 1: From the RUN screen type CMD and press the ENTER key. You will find a black box is presented. Type HELP and a list of DOS commands will be presented. Choose one of the commands you want more information about and type HELP followed by a space and the command you chose for more information.

Option 2: The Microsoft web site (Microsoft is the current owner of MSDOS) has a lot of information on most DOS commands. Surf over to www.microsoft.com and try your command in the search area.

Once you have learnt how to execute the commands you need, learn about piping the commands.

NB: PING works well - why re-invent the wheel?

The AutoIT help guide has a lot of useful information on the RUN command. ;)

Share this post


Link to post
Share on other sites

I know what commands I want the use, the main problem is I don't know how to initiate those commands through autoit without bringing up the CMD (and get results/info to display on gui). I've seen something similar coded on a different language, but I'm not sure how to do it in autoit.

Share this post


Link to post
Share on other sites

read the help file... There is an exact example of what you want to do...


I AM ORCA!! A VERY POWERFUL WHALE!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0