angr / rex

Shellphish's automated exploitation engine, originally created for the Cyber Grand Challenge.
BSD 2-Clause "Simplified" License
635 stars 102 forks source link

Failure to use shellphish-qemu-linux-x86_64 for a 32-bit ELF on a 64-bit host #91

Closed xjbian closed 2 years ago

xjbian commented 2 years ago

https://github.com/shellphish/shellphish-qemu/issues/22

xjbian commented 2 years ago

raise QEMUTracerError("the target didn't crash inside qemu or no corefile was created!" +

archr.analyzers.qemu_tracer.QEMUTracerError: the target didn't crash inside qemu or no corefile was created!Make sure you launch it correctly! command: /tmp/archr_local_8suuaflh/shellphish_qemu/fire /tmp/archr_local_8suuaflh/shellphish_qemu/shellphish-qemu-linux-x86_64 -C /tmp/tracer_target_71_vz9cl -d nochain,exec,page,strace -D /tmp/tracer-e6sk_8x4.trace -E LD_BIND_NOW=1 -- ./rop

root@bxj-virtual-machine:/home/bxj/other/rex/tests# /tmp/archr_local_9k_8a488/shellphish_qemu/fire /tmp/archr_local_9k_8a488/shellphish_qemu/shellphish-qemu-linux-x86_64 -C /tmp/tracer_target_t_ue2dw1 -d nochain,exec,page,strace -D /tmp/tracer-ul43piva.trace -E LD_BIND_NOW=1 -- ./rop shellphish-qemu-linux-x86_64: ./rop: Invalid ELF image for this architecture