Skip to content

binutils are killing me #3

@shufan123

Description

@shufan123

what should i do if i have an x64 architecture
I am on ubuntu 12.0.2


your local binutils won't be used because architecture 'i686' is not supported.
[!] Could not find 'as' installed for ContextType(arch = 'arm', bits = 32, endian = 'little')
Try installing binutils for this architecture:
https://pwntools.readthedocs.org/en/latest/install/binutils.html
Traceback (most recent call last):
File "scaredycat.py", line 498, in
main()
File "scaredycat.py", line 491, in main
find_rop_gadgets(libcfile)
File "scaredycat.py", line 175, in find_rop_gadgets
stack_pivot = find_arm_gadget(e, pivot_asm)
File "scaredycat.py", line 112, in find_arm_gadget
gadget_bytes = asm.asm(gadget, arch='arm')
File "/usr/local/lib/python2.7/dist-packages/pwnlib/asm.py", line 335, in asm
assembler = _assembler()
File "/usr/local/lib/python2.7/dist-packages/pwnlib/asm.py", line 120, in _assembler
gas = which_binutils('as')
File "/usr/local/lib/python2.7/dist-packages/pwnlib/asm.py", line 117, in which_binutils
raise Exception('Could not find %(util)r installed for %(context)s' % locals())

Exception: Could not find 'as' installed for ContextType(arch = 'arm', bits = 32, endian = 'little')

this is the error .....thanks

P.S.
I have tried the bash file

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