Creating a cheat proxy with winpcap

This is a discussion on Creating a cheat proxy with winpcap within the Networking/Device Communication forums, part of the General Programming Boards category; Hi, i have no networking experience, so this is probably just a noob post which will annoy some people but ...

  1. #1
    Registered User
    Join Date
    Jul 2006

    Creating a cheat proxy with winpcap

    Hi, i have no networking experience, so this is probably just a noob post which will annoy some people but if anyones willing to help id appreciate it.

    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.
    thats the tutorial if anyone cares.

    pcap_t* pcap_open  	(	const char *   	 source,
    		int  	snaplen,
    		int  	flags,
    		int  	read_timeout,
    		struct pcap_rmtauth *  	auth,
    		char *  	errbuf	 
    Im not entirely sure what the source is or how networking really works, but the pcap_t* struct is needed for
    int pcap_sendpacket  	(  	pcap_t *   	 p,
    		u_char *  	buf,
    		int  	size	 
    which i want to send.
    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

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiler Valgrind
    By afflictedd2 in forum C++ Programming
    Replies: 4
    Last Post: 07-18-2008, 10:38 AM
  2. Though implementation problem
    By Elysia in forum C++ Programming
    Replies: 296
    Last Post: 05-31-2008, 02:02 PM
  3. Simple Proxy
    By Lina in forum C Programming
    Replies: 0
    Last Post: 04-01-2007, 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21