• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

Monitoring another programs output with VB program

Is it possible to monitor a programs output from a vb program? I want to create an anti-cheat system for certain games.
0
rentonc
Asked:
rentonc
1 Solution
 
fds_fatboyCommented:
If you can pipe or redirect the output to a file it is. Simply read the file from within VB.
0
 
EDDYKTCommented:
>>Is it possible to monitor a programs output from a vb program

where the output goes to? TCP/TP, file ?
0
 
rentoncAuthor Commented:
It's the tcp output of the game. So i will have to read the output from that. It doesn't use a file. I want to monitor tcpip traffic and interchanges for the online multiplayer game in realtime.
0
 
AjithJoseCommented:
You can implement a proxy service in vb to monitor tcp/ip traffic between game and its server. You need to get information regarding the ports used by the game/server. Then create a winsock server program which listens locally on server port and then relay the data through your monitoring routine to the server.

Sample vb code is available at the url:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=55820&lngWId=1

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=11679&lngWId=1

You can easily adapt these code just by changing port numbers
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now