PDA

View Full Version : Hey



Skull
05-05-2008, 06:39 PM
Hey im new at C++
and i were trying to nop but i dont know how.
i were trying this ;

http://www.plaatjesupload.nl/bekijk/2008/05/06/1210028999-070.jpg

PROBLEM SOLVED : ganglyman21 HELPED ME ALOT!!

ganglyman21
05-05-2008, 06:55 PM
BYTE smth[3] = {0x90, 0x90, 0x90};
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) (0xAddress), &smth, sizeof(smth), NULL);

The "smth" you can rename whatever, but you must also keep that the same in WriteProcess as thats where it applies the NOP. Whack it straight in a button and you're good to go. You are trying to Nop an addy with a value. You must use a sequence of bytes. Also I'm pretty sure there's only 2 bytes at the ESP address.

masterboy
05-06-2008, 05:50 AM
Scope isn't 3 NOP Bytes either Scope is freeze to 1 or 2

ganglyman21
05-06-2008, 05:52 AM
(Not to be bitchy) but he has ESP addy in there.

ZeaS
05-06-2008, 05:53 AM
BYTE Nop[3] = {0x90, 0x90, 0x90};
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) (0xAddress), &Nop, sizeof(Nop), NULL);

and you also forgott the "{"and "}" i think

masterboy
05-06-2008, 06:39 AM
(Not to be bitchy) but he has ESP addy in there.

Yea i seen that now lol but he named it ScopeOn and ScopeOff and esp has 2 bytes if im right

ZeaS
05-06-2008, 06:49 AM
Yea i seen that now lol but he named it ScopeOn and ScopeOff and esp has 2 bytes if im right

yes, 1 byte is also enough lol and esp isn't "nop"

ganglyman21
05-06-2008, 06:49 AM
You most certainly are right. I like to deal with all the bytes at each address, dunno why force of habit.