Hacktoberfestenhancementhelp-wantedshellcode
仓库指标
- Star
- (11,127 star)
- PR 合并指标
- (平均合并 18天 5小时) (30 天内合并 5 个 PR)
描述
from pwn import *
# context.arch = 'i386'
print shellcraft.mov('eax', 'ah')
Expected:
movzx eax, ah
Result:
NameError: name 'ah' is not defined
The error is raised when trying to eval ah as a system-constant value
But the real reason is ah is not defined in shellcraft/registers.py as a register in i386.
Issue occurs in amd64 as well.