Cracking
samedi 3 janvier 2015, 02:28 #1
erreur sur mac : zsh : exec format error : ./ch1.bin
Anonyme
Bonjour
je n arrive pas a executer le .bin du ELF - 0 protections.
En effet il m annonce une erreur de format, pourtant sur ma vm linux, avec le meme fichier, ca fonctionne.
Auriez vous une idee pour me debloquer ?
merci
ps : je suis sous Yosemite
dimanche 8 janvier 2017, 10:33 #5
erreur sur mac : zsh : exec format error : ./ch1.bin
C is multi-platform, but must be compiled for each.
Compiled C is certainly not multi-platform.
These binaries tend to be linux 32bit, and therefore must be run on linux with lib32 installed (or you know, on a 32bit image).
Using Docker was a nightmare for me, bugs with gdb tripled my solution time.
I now use just Vagrant and it’s awesome !
vagrant init ubuntu/trusty32
vagrant up
(Make sure to read the output for the username and port.)
vagrant ssh-config
(Add the ssh private key, aka IdentityFile, with)
ssh-add $USERPATH$/.vagrant/machines/default/virtualbox/private_key