Example #1
0
        /// <summary>Get a string with the length input.</summary>
        public string GetString(uint Address, uint lengthString)
        {
            byte[] Longueur = new byte[lengthString];
            PS3TMAPI.ProcessGetMemory(Target, PS3TMAPI.UnitType.PPU, Parameters.ProcessID, 0, Address, ref Longueur);
            string StringResult = Hex2Ascii(ReplaceString(Longueur));

            return(StringResult);
        }
Example #2
0
 public static byte[] GetMemory(uint Address, int length, uint thread = 0)
 {
     Random random = new Random();
     ulong threadID = (ulong) random.Next(0, 4);
     byte[] buffer = new byte[length];
     PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, threadID, (ulong) Address, ref buffer);
     return buffer;
 }
Example #3
0
        public byte[] GetMemory(uint address, uint length)
        {
            if (this.ConnectionStatus != ConnectionStatus.Connected)
            {
                return(new byte[1] {
                    0x00
                });
            }

            byte[]            bytes  = new byte[length];
            PS3TMAPI.SNRESULT result = PS3TMAPI.ProcessGetMemory(this.TargetIndex, UNIT, Params.processID, 0, address, ref bytes);
            return((PS3TMAPI.SUCCEEDED(result)) ? bytes : new byte[1] {
                0x00
            });
        }
Example #4
0
 /// <summary>Get a bytes array with the length input.</summary>
 public byte[] GetBytes(uint Address, uint lengthByte)
 {
     byte[] Longueur = new byte[lengthByte];
     PS3TMAPI.ProcessGetMemory(Target, PS3TMAPI.UnitType.PPU, Parameters.ProcessID, 0, Address, ref Longueur);
     return(Longueur);
 }
Example #5
0
 /// <summary>Get memory from the address.</summary>
 public void GetProcMem(uint Address, byte[] Bytes)
 {
     PS3TMAPI.ProcessGetMemory(Target, PS3TMAPI.UnitType.PPU, Parameters.ProcessID, 0, Address, ref Bytes);
 }
 // Token: 0x06000CF7 RID: 3319 RVA: 0x00041D3C File Offset: 0x0003FF3C
 public string GetString(uint Address, uint lengthString)
 {
     byte[] bytes = new byte[lengthString];
     PS3TMAPI.ProcessGetMemory(TMAPI.Target, PS3TMAPI.UnitType.PPU, TMAPI.Parameters.ProcessID, 0uL, (ulong)Address, ref bytes);
     return(TMAPI.Hex2Ascii(TMAPI.ReplaceString(bytes)));
 }
 // Token: 0x06000CF6 RID: 3318 RVA: 0x00041D08 File Offset: 0x0003FF08
 public byte[] GetBytes(uint Address, uint lengthByte)
 {
     byte[] result = new byte[lengthByte];
     PS3TMAPI.ProcessGetMemory(TMAPI.Target, PS3TMAPI.UnitType.PPU, TMAPI.Parameters.ProcessID, 0uL, (ulong)Address, ref result);
     return(result);
 }
 // Token: 0x06000CF5 RID: 3317 RVA: 0x00041CEB File Offset: 0x0003FEEB
 public void GetMemory(uint Address, byte[] Bytes)
 {
     PS3TMAPI.ProcessGetMemory(TMAPI.Target, PS3TMAPI.UnitType.PPU, TMAPI.Parameters.ProcessID, 0uL, (ulong)Address, ref Bytes);
 }
Example #9
0
 public void GetProcMem(uint Offset, byte[] bytes)
 {
     PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, Offset, ref bytes);
 }
Example #10
0
 /// <summary>
 /// Gets Memory from the target or process.
 /// </summary>
 /// <param name="Address"></param>
 /// <param name="bytes"></param>
 public static void GetMemory(uint Address, byte[] bytes)
 {
     PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0, Address, ref bytes);
 }