1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[HELP] Need the Packet Sending Function Code

Discussion in 'Programming' started by Nebbis, Aug 26, 2010.

  1. Nebbis

    Nebbis Banned Banned

    Please can anyone share it with me? ;)
     
  2. wh0re

    wh0re Nostalgia Overload Donor

    there are many Public sources, try searching ZPE source in google
     
  3. fag

    fag Banned Banned

    Code (Text):
    1.  
    2. struct Packet
    3. {
    4.    unsigned uNull1;
    5.    void* lpvData;
    6.    unsigned uSize;
    7.    unsigned uNull2;
    8. };
    9. typedef int (__stdcall* SPFunc)(Packet* pPkt);
    10. SPFunc SendPacket = (SPFunc)FindPattern(L"B8 ? ? ? ? E8 ? ? ? ? 83 EC ? 53 56 8B F1 8D 9E ? ? 00 00 57 8B CB 89 5D ? E8 ? ? ? ?");
    11. unsigned long ulNetClass = *(unsigned long*)FindPattern(L"? ? ? ? 83 65 ? ? 8d 45 ? 50 e8 ? ? ? ? 83 4d ? ? 8d 4d ? c7 46");
    12. ...
    13. void SendShit()
    14. {
    15.    Packet p;
    16.    SecureZeroMemory(&p, sizeof(Packet));
    17.    char szData[] = { 0x28, 0x00 };
    18.    p.uSize = sizeof(szData);
    19.    p.lpvData = szData;
    20.  
    21.    mov ecx,[ulNetClass]
    22.    mov ecx,[ecx]
    23.    SendPacket(&p);
    24. }
    25.  
    26.  
    If you don't have a FindPattern function, then just scan the AOB yourself.
     
  4. wh0re

    wh0re Nostalgia Overload Donor

    Just so you know, your going to have to code your buttons and textbox's aswell
     
  5. Cuckoo

    Cuckoo Fuckeh Yuuu Donor

    struct Packet
    {
    unsigned uNull1;
    void* lpvData;
    unsigned uSize;
    unsigned uNull2;
    };
    typedef int (__stdcall* SPFunc)(Packet* pPkt);
    SPFunc SendPacket = (SPFunc)FindPattern(L"B8 ? ? ? ? E8 ? ? ? ? 83 EC ? 53 56 8B F1 8D 9E ? ? 00 00 57 8B CB 89 5D ? E8 ? ? ? ?");
    unsigned long ulNetClass = (unsigned long)FindPattern(L"8b 0d ? ? ? ? 83 65 ? ? 8d 45 ? 50 e8 ? ? ? ? 83 4d ? ? 8d 4d ? c7 46");
    ...
    void SendShit()
    {
    Packet p;
    SecureZeroMemory(&p, sizeof(Packet));
    char szData[] = { 0x28, 0x00 };
    p.uSize = sizeof(szData);
    p.lpvData = szData;

    mov ecx,[ulNetClass]
    mov ecx,[ecx]
    SendPacket(&p);


    lol
    }
     
  6. Nebbis

    Nebbis Banned Banned

    Thanks, ima trying them now :)
     
  7. Nebbis

    Nebbis Banned Banned

    Uhm this is kinda hard o.o

    Please can anyone make a guide for the noobs howto send packets with C++ ? ;)
     
  8. Cairo

    Cairo New Member

    Seriously, there are MANY sources you can find with Google alone. How about you stop being lazy, put down the sammich, and go search for it yourself?
     
  9. Nebbis

    Nebbis Banned Banned

    I cant find a single one <.<
     
  10. King Virus

    King Virus Banned Banned

  11. Nebbis

    Nebbis Banned Banned

    The first one was only Form1.cpp, nothing to start from.

    The one Nullz posted was too complicated =P
     
  12. Cairo

    Cairo New Member

    If you look more into it, yes there is. It's practically the entire source code, minus the actual form design.
     
  13. DarkSpace

    DarkSpace Well-Known Member Coder

    i told you man, making a packet sender isnt as easy to do.
    so again scrap the packet spammer there is already like 5 trainers with the ability to send packets.
    and focus on things like. making a pro trainer that everyone needs for something.

    good luck anyway
     

Share This Page