Test Page
测试展示
Easy shellcode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| #include <stdio.h> #include <string.h>
int main(void) { unsigned char buf[] = "\x48\x31\xc9\x48\x81\xe9\xfc\xff\xff\xff\x48\x8d\x05\xef\xff" "\xff\xff\x48\xbb\x95\xdb\xe9\x3a\xf5\xd2\xb2\x9b\x48\x31\x58" "\x27\x48\x2d\xf8\xff\xff\xff\xe2\xf4\xdd\xea\x3b\xd2\xf2\xd2" "\xb2\x9b\xe2\xb3\x86\x5b\x98\xbb\xb2\xc4\xc7\x8c\xa1\xb3\x13" "\x9a\x75\x5b\xae\xdb\xe9\x38\xfa\xd7\xb2\x9b";
printf("Shellcode Length: %lu\n", sizeof(buf) - 1); int (*ret)() = (int(*)())buf; ret(); return 0; }
|
引用 粗体 斜体
生成的 payload
将编译为……
脚注
Image
Tag
标记
| import time
time.sleep(2) print("Hello")
|
Label