Jump to content

A question


trung0407
 Share

Recommended Posts

Hi. I want to write a packet sniffer for a specific program (actually game). Can u tell me what functions i should use?

packet sniffer example:

download windump.exe from internet first.

run ("cmd")
sleep (500)
send ("cd\")
send ("{enter}")
send ("c:\windump.exe -i 5 -X -x -s 400 ip host 9.164.185.11 > erezlog.txt")
send ("{enter}")
sleep (10000)
send ("{^c}")
sleep (500)
Run ("notepad C:\erezlog.txt")

then use string search and Array sorting to get the file into array and get the information you need...example output given in attached file.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...