PDA

View Full Version : Any way to OpenProcess after zoned in using XP?



UncleBen
11-10-2002, 06:40 PM
Ok, I've searched, read, learned A LOT. And now I have a setup I"m happy with:

Run perl script that open telnet on a port and waits for enter key then executes the program I want (thanx Jax)

Exececuted sniffer runs once, exits, updates keyfile.dat, then runs a .bat file that samba's it over to my /usr/local/share/showeq/keyfile.dat.
makes a long system beep to let me know a key was found
and prints the output to the telnet window on linux for shits and giggles


I love this method, I just hit enter key on my linux box and all is done in like 1/2 a sec and only thing left running is the perl script


Now, from what I've read, OpenProcess (PROCESS_VM_READ, FALSE, pe32.th32ProcessID); will not work on XP after the game is running cause of the XP's security to lock me out and give the OpenProcess failed, error: 5 message :(

So I ask, is there ANY way to disable XP's security on that so i can read the key with OpenProcess at my leisure? I can't stand the thought of having a keysniffer looping over and over while I play.

Flame me if you want, but I read so damn much I actually learned from scatch how to get all this going. Just have one stupid problem now; lol

Thanx

mvern
11-10-2002, 08:03 PM
You might wanna look over at the example in the first post of my thread, it has a nice little function to handle that.

Logic_Dingo
11-10-2002, 08:28 PM
Key word "Token" :p

Amadeus
11-10-2002, 08:54 PM
I posted a fix to this as well, under Mvern's thread.

UncleBen
11-10-2002, 08:57 PM
rofl, think I read that and didn't get what all the code was. Gonna dig it up again.

Thanx for the bone!


EDIT: Added your enable_debug_privs funtion to my code and it work like a charm!

Got everything just the way I want it. Thank you and everyone else for their hard work for all these years