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.