PDA

View Full Version : Shutting down the sniffer



Jel321
11-07-2002, 06:07 PM
Using the example code here i was able to come up with a sniffer that meets my needs.

My problem is I can't locate an example section of code that will shutdown the command window after the sniffer has located a key.

I gotta believe this is something easy to do and probably accomplished in very lines of code (probably 1)

An example would be greatly appreciated.

Thanks,

J

Jel321
11-07-2002, 06:16 PM
I knew if I posted i would find out the answer for myself in the next 5 mins :)

Anyway if anyone else is wondering what the command is:


exit(0);



J

baelang
11-07-2002, 06:50 PM
Originally posted by Jel321
I knew if I posted i would find out the answer for myself in the next 5 mins :)


that is the reason for 90% of my own posts with questions.

Jel321
11-07-2002, 08:41 PM
Hmmm im gonna say hold on using this.

It seems that its killing EQ when it fires :/

Doesnt kill it if i fire it before the patcher but in game i get dumped to desktop it seems.

Gjeret
11-14-2002, 01:51 PM
I just telent into my XP machine, run my code with the exit(0) to kill it after it gets my key and 'Vola! Instant key/kill sniffer process.

The trick is to use a Telnet program that doesn't have windows popping up every time someone logs in (like a free one I saw on the boards here...) It's the windows that seem to kill EQ (you can try running EQWindows, that might stop the crashing too)

-Gj-

bonkersbobcat
11-14-2002, 03:18 PM
Originally posted by Gjeret
The trick is to use a Telnet program that doesn't have windows popping up every time someone logs in (like a free one I saw on the boards here...)The telnet that comes with XP works fine for me.