Security_RNRF
0x45. 본문
45. Exploit Fails? Debug Your Shellcode - bin 0x2B
: Test Coding
-> vi test.c
int main(int argc, char **argv)
{
int (*func)();
func = (int (*)()) argv[1];
(int)(*func)();
}
-> gcc test.c -o test -fno-stack-protector -z execstack -no-pie
... ING!!
Comments