piping input to a program (is it possible?)

Need Help With an Existing Feature in Memory Hacking Software? Ask Here

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

piping input to a program (is it possible?)

Postby rogueyoshi » Sat Mar 06, 2010 2:24 pm

first off, my thanks L.Spiro for making this godlike program. anyways, i'm making a bot for atlantica online using mhs' scripting and was wondering if it is possible to pipe input (keystrokes, mouse, etc) directly to the program, so the bot could function while the window is minimized or unfocused. i somehow have a feeling that this is isn't a trivial task, but i thought i should ask how i should go about implementing something like this.
rogueyoshi
I Have A Few Questions
 
Posts: 5
Joined: Mon Jun 18, 2007 10:40 am

Re: piping input to a program (is it possible?)

Postby L. Spiro » Sat Mar 06, 2010 7:44 pm

If you can find the buffer where the input is being stored until used you can modify it directly.

This is trivial; simply hold a key down, pause the target process, and search.
Unpause the process with the key released, pause and search again. Repeat. Use the same key. It will usually be a bit mask but each key could be stored in a byte array.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Re: piping input to a program (is it possible?)

Postby rogueyoshi » Sat Mar 13, 2010 9:58 pm

thanks a lot.
rogueyoshi
I Have A Few Questions
 
Posts: 5
Joined: Mon Jun 18, 2007 10:40 am


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests