Results 1 to 1 of 1
  1. #1
    Vitrix Maggot
    Vitrix Maggot is offline
    Member-in-training Vitrix Maggot's Avatar
    Join Date
    2013 Apr
    Location
    Brasil
    Posts
    58
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    43
    Thanked in
    24 Posts
    Rep Power
    0

    Getuserdata Function (For Trainers)

    This function serves to hacker who does. Exe file and whenever it priston updates also have to upgrade, it is annoying to have to get down a hacker new every week ...

    Essa função serve para quem faz hacker em .exe e sempre que o priston atualiza ele tem que atualizar também, é chato ter que ficar baixando um hacker novo toda semana...


    function GetUserData : DWORD;
    var
    PID: DWORD;
    hProc : DWORD;
    BytesRead,i : DWORD;
    pData: Pointer;
    begin
    Result:=0;
    pData:= AllocMem($FFFFF);
    if pData = nil then
    exit;
    PID:= GetPidbyName('game.exe');
    hProc:= OpenProcess(PROCESS_VM_READ,False,PID);
    if hProc = 0 then
    Exit;
    if not(ReadProcessMemory(hProc,Pointer($00400000),pData,$FFFFF,BytesRead)) then
    Exit;
    for i:= 0 to $FFFFF do
    begin
    if PDWORD(DWORD(pData)+i)^= $2480BF0F then
    begin
    Result:=PDWORD(DWORD(pData)+i-$4)^;
    end;
    end;
    FreeMem(pData,$FFFFF);
    CloseHandle(hProc);
    end;
    You can use it in various ways since the game is open.
    It may be a button on the Form OnCreate or anywhere else is just so:

    Você pode usa-la de várias maneiras desde que o game esteja aberto.
    Pode ser em um botão, no evento OnCreate do Form ou qualquer outro lugar é só por assim:


    {~~ Nas variáveis globais ~~}
    var
    Userdata : DWORD;

    {~~ No Botão ou sei lá o lugar que tu escolher ~~}
    Userdata:= GetUserData;
    Pré requisto:

    • Função GetPidByName/GetPID/GetProcessIdByName
    Desde que retorne o ProcessId do Processo está de boas.
    Onde substituir a função:
    PID:= GetPidbyName('game.exe');
    I admire most other programmers not paid any dick!!

    Admiro outros Programadores mais nao pago pau pra nenhum !!


    Skype: Vitor Monteiro

  2. The Following 3 Users Say Thank You to Vitrix Maggot For This Useful Post:


Similar Threads

  1. [Tutorial] Fazendo Trainers Indetectáveis
    By Darkfreek in forum Point Blank
    Replies: 1
    Last Post: 2013-01-08, 02:15 PM
  2. [Help] Helpp trainers
    By crossfire457 in forum Aika Bots, Hacks, Cheats
    Replies: 3
    Last Post: 2012-10-12, 03:12 PM
  3. Trainers attaching to hidden processes?
    By Surubre in forum General Game Research
    Replies: 3
    Last Post: 2010-11-29, 04:06 PM
  4. Replies: 0
    Last Post: 2010-10-27, 12:56 PM
  5. Trainers attaching to hidden processes?
    By Surubre in forum Research Requests
    Replies: 0
    Last Post: 1970-01-01, 03:00 AM

Posting Permissions

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