| View previous topic :: View next topic |
| Author |
Message |
slippppppppp Grandmaster Cheater
Reputation: 0
Joined: 08 Aug 2006 Posts: 929
|
Posted: Sun Feb 22, 2009 11:44 am Post subject: [C++]Help, Input colliding with Bytes |
|
|
Well i was thinking about making a program that will work like so.
| Code: | | WriteBytes 89 90 90 |
And make that use WriteProcessmemory with a BYTE[3].
But i'm not completely sure how im going to get Strings from a char* or string and use them as Bytes. Any ideas are appreciated.
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Sun Feb 22, 2009 11:54 am Post subject: |
|
|
Just remove everything else (spaces etc), but the hex values. Then read two chars from your string and do unsigned char byte = char[0]*0x10 + char[1]; and then WPM ?
For a string, check the length, divide by two, allocate memory, do the constructing with a loop and then just WPM
|
|
| Back to top |
|
 |
BanMe Master Cheater
Reputation: 0
Joined: 29 Nov 2005 Posts: 375 Location: Farmington NH, USA
|
Posted: Sun Feb 22, 2009 1:25 pm Post subject: |
|
|
a program that does what exactly..
are you talking about like a ASM interpreter, or a Self Modifying Code or
just a program that gets input be it Data or Code and stores it o0 and executes it on some command?
|
|
| Back to top |
|
 |
|