Advertisement
Guest User

Private Static ORTMAPILib.IProcess (PHP)

a guest
Jan 4th, 2017
572
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.01 KB | None | 0 0
  1. RFOoD x MoDz x Hydrogen
  2.  
  3. Wouldn't know if this would be useful, but RFOoD x MoDz shared this out with us on NextGenUpdate. This is a continuation work from the Interop.ORTMAPILib that OldSchoolModzHD shared with us at PSXHAX the other day from Mr. Niato's release of his Source Code towards his Console Manager Tool. Maybe a developer/RE can find this useful to something.
  4.  
  5. RFOoD x Modz:
  6.  
  7. private static ORTMAPILib.IProcess IProcess;
  8.  
  9. PHP Code:
  10.  
  11.  
  12.        void SetMemory(ulong Address, object Bytes)
  13.             {
  14.                 IProcess.SetMemory(Address, Bytes);
  15.             }
  16.  
  17.  
  18.            void GetMemory(ulong Address, uint ByteCount, out uint Bytes)
  19.            {
  20.                IProcess.GetMemory(Address, ByteCount, out Bytes);
  21.            }
  22.  
  23.  
  24.            void SendConsoleInput(string InptText)
  25.            {
  26.                IProcess.SendConsoleInput(eConsoleOutputPort.STREAM_STDERR, InptText);
  27.            }  
  28.  
  29.  
  30.  
  31.  
  32. Example:
  33.  
  34. byte[] buffer = new byte[] { 0xFF, 0xFF };
  35. SetMemory(0xFFFFF, buffer);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement