Skip to content

AttributeError: 'X64DynamicRelocations' object has no attribute 'r_386_relative' #39

@Cishanduwang

Description

@Cishanduwang
Traceback (most recent call last):
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/site-packages/py_shelf-3.0.5-py3.6.egg/shelf/__main__.py", line 123, in <module>
    start_file_method=args.start_method, args=args)
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/site-packages/py_shelf-3.0.5-py3.6.egg/shelf/relocate.py", line 38, in make_shellcode
    return shellcode_handlers[arch](args=args)
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/site-packages/py_shelf-3.0.5-py3.6.egg/shelf/lib/shellcode.py", line 728, in wrapper
    return make_shellcode(args=args, shellcode_cls=shellcode_cls)
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/site-packages/py_shelf-3.0.5-py3.6.egg/shelf/lib/shellcode.py", line 719, in make_shellcode
    shellcode = shellcode_handler.get_shellcode()
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/site-packages/py_shelf-3.0.5-py3.6.egg/shelf/lib/shellcode.py", line 567, in get_shellcode
    shellcode_data=shellcode_data)
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/site-packages/py_shelf-3.0.5-py3.6.egg/shelf/lib/ext/dynamic_relocations_base.py", line 51, in handle
    relocation=relocation
  File "/home/kali/.pyenv/versions/3.6.15/lib/python3.6/site-packages/py_shelf-3.0.5-py3.6.egg/shelf/lib/ext/dynamic_relocations_base.py", line 21, in call_entry_handler
    entry_handler = getattr(self, mapped_name)
AttributeError: 'X64DynamicRelocations' object has no attribute 'r_386_relative'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions