CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: Packet sending

  1. #1
    Join Date
    Jul 2009
    Posts
    4

    Packet sending

    Hello could anyone help me a bit (like giving an tutorial)
    On how to intercept a certain packet from being send from my computer to another
    end make my program send a modified packet instead
    I searched google but couldn´t find anything usefull so I´m asking it here



    Thanks in advance!

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Packet sending

    Why do you need it?

    FYI: I wouldn't like that some "unknown" program changed the data my App sent to another PC!
    Victor Nijegorodov

  3. #3
    Join Date
    Jul 2009
    Posts
    4

    Re: Packet sending

    Quote Originally Posted by VictorN View Post
    Why do you need it?

    FYI: I wouldn't like that some "unknown" program changed the data my App sent to another PC!
    Its for a game the game sends a md5 salt in a packet to the server I need to intercept it and change the value of the salt.

  4. #4
    Join Date
    May 2002
    Posts
    1,435

    Re: Packet sending

    Quote Originally Posted by Netbios View Post
    Its for a game the game sends a md5 salt in a packet to the server I need to intercept it and change the value of the salt.
    Wouldn't that be cheating?

  5. #5
    Join Date
    Jul 2009
    Posts
    4

    Re: Packet sending

    Quote Originally Posted by 0xC0000005 View Post
    Wouldn't that be cheating?
    Not really I´m just changing an md5 salt I don´t got any advantage by doing that.

  6. #6
    Join Date
    Jul 2009
    Posts
    4

    Re: Packet sending

    Bump

  7. #7
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Packet sending

    What "bump"?
    Don't you understand that no one here makes what you want to implement?
    Victor Nijegorodov

  8. #8
    Join Date
    Jan 2007
    Posts
    90

    Re: Packet sending

    hello,

    well packet filtering could be implemented by various ways it could be in the kernel or in the user mode. basically for user mode filtering the best unknown technique is implementing LSP (layered Service Provider) . there are couple of examples at MSDN as how to implement the LSP DLL.

    moving to kernel, it could be done at various level depending on your requirement. it could be a TDI (transport device interface ) filter. or may be a NDIS filter.

    but since you only want to modify the content of the packet. you could use LSP.

    regards
    deepak

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured