![]() |
| | #1 |
| Registered User Join Date: Jul 2006
Posts: 63
| Creating a cheat proxy with winpcap Theres plenty of guides on the net on how to send and receive packets, so i wont go there, but what i do need help on is figuring out where to send the packets. http://www.winpcap.org/docs/docs_40/...cap__tut8.html thats the tutorial if anyone cares. Code: pcap_t* pcap_open ( const char * source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth * auth, char * errbuf ) Code: int pcap_sendpacket ( pcap_t * p, u_char * buf, int size ) Looking at another program which does essentially what i want to do, its "send packet" dialog has an option for "socket ID". What exactly is a socket ID, and how would i determine what socket an application is using (mem reading i guess, i can do that). Or does winpcap work differently. Basically, if someone could in a nutshell explain to me whats needed to create a proxy which would allow me to capture and send packets (even block packets if its possible) with winpcap id be much appreciative. Thanks |
| *DEAD* is offline | |
| | #2 |
| and the hat of vanishing Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,214
| http://cboard.cprogramming.com/annou....php?f=28&a=51 Far too close to rule 6 IMO. I don't want to help someone who wants to ruin an online game by cheating.
__________________ If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut. Up to 8Mb PlusNet broadband from only £5.99 a month! |
| Salem is offline | |
| | #3 |
| Woof, woof! Join Date: Mar 2007 Location: Australia
Posts: 3,139
| There's tonnes of tutorials on the 'interzweb'. Look at a few 'packet sniffer' scanner examples, that should get you somewhere. But as Salem outlined you could possibly be asking for malicious purposes, and I don't want to be involved with that. |
| zacs7 is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Profiler Valgrind | afflictedd2 | C++ Programming | 4 | 07-18-2008 09:38 AM |
| Though implementation problem | Elysia | C++ Programming | 296 | 05-31-2008 01:02 PM |
| Simple Proxy | Lina | C Programming | 0 | 04-01-2007 12:36 PM |