Results 1 to 2 of 2
  1. #1
    SansID
    SansID is offline
    Inactive
    Join Date
    2021 Jan
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Question Can help me for this Script, What is Rt1AdjustPrivilage ?

    Hallo, i am new here, can help me for this
    I have Problem, can tell me whats wrong with my script?

    Code:
    procedure WriteInt(IDProcess, Address: Integer; Value: Integer);
    Var
    Unc:Dword;
    THandle: integer;
    begin
       RtlAdjustPrivilege(20, True, 0, @Unc);
      THandle := OpenProcess(PROCESS_ALL_ACCESS, False, IDProcess);
      WriteProcessMemory(THandle, Ptr(Address), @Value, 4, e);
      CloseHandle(THandle);
    end;
    Please, help me.
    I am use Delphi Studio 10.4 now
    Thank You

  2. #2
    savasfan
    savasfan is offline
    New member
    Join Date
    2012 Jan
    Posts
    4
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0
    Quote Originally Posted by SansID View Post
    Hallo, i am new here, can help me for this
    I have Problem, can tell me whats wrong with my script?

    Code:
    procedure WriteInt(IDProcess, Address: Integer; Value: Integer);
    Var
    Unc:Dword;
    THandle: integer;
    begin
       RtlAdjustPrivilege(20, True, 0, @Unc);
      THandle := OpenProcess(PROCESS_ALL_ACCESS, False, IDProcess);
      WriteProcessMemory(THandle, Ptr(Address), @Value, 4, e);
      CloseHandle(THandle);
    end;
    Please, help me.
    I am use Delphi Studio 10.4 now
    Thank You
    {$REGION 'SetPrivilege'}

    function RtlAdjustPrivilege(dwPrivilegeId : DWORD; bSet : BOOL; AdjType : INTEGER; Unc : PDWORD) : WORD; stdcall; external 'ntdll.dll';

    const SE_DEBUG_PRIVILEGE = $14;
    If I remember, this function sets privilege to kernel or something.

    Portugues

    Se eu me lembro, está função seta o privilégio para kernel ou algo assim.

Similar Threads

  1. [Help] script 3ds max 7 dds
    By dody3 in forum Games Lounge
    Replies: 0
    Last Post: 2020-03-26, 08:44 PM
  2. [Source] VB script for writing
    By darius12 in forum MapleStory
    Replies: 0
    Last Post: 2013-08-27, 01:41 PM
  3. [Info] The War Z BIN Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-10-24, 10:20 PM
  4. [PHP] Rating script
    By dunkerr in forum Web, PHP
    Replies: 0
    Last Post: 2012-01-21, 07:23 PM

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
  •