Misc
DWORD x[2];
memcpy(x, &hevdReturn, sizeof(hevdReturn));
memcpy(&hevdReturn, x, sizeof(hevdReturn));
ntdll!_TEB
dt _peb
dt _peb @$peb
r $peb
dt _peb @$peb processp*
dt _RTL_USER_PROCESS_PARAMETERS <addr>
sudo -H python3 setup.py install
import FloatToHex
>>> FloatToHex.hextodouble(0xdeadc0de,False)
1.845794201e-314
? 0x00 - 0x1C6
Evaluate expression: -454 = fffffe3a
? 0x00 - 0xfffffe3a
Evaluate expression: -4294966842 = ffffffff`000001c6
Now we can store this (null byte free) value ( fffffe3a ) in a register and use
neg eax
.Last modified 6mo ago