Can't Execute Binary
See original GitHub issueGood afternoon,
I’m using arm_now to debug a MIPS binary. I was able to download the challenge binary but cannot run it. I ran chmod +x on the file. I get the following.
ls
ch27.bin wget-log wget-log.2 wget-log.4 wget-log.6
index.html wget-log.1 wget-log.3 wget-log.5 wget-log.7
# ./ch27.bin
-sh: ./ch27.bin: not found
#
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
How can I resolve the error "cannot execute binary file"?
This means that you are trying to execute a binary file using your bash script which is not intended to be run ......
Read more >How to Fix Cannot Execute Binary File Error
When you cannot execute binary file Linux, generally the message of the error appears when Linux is not able to detect or identify...
Read more >Error: cannot execute binary file - Educative.io
This error typically occurs when a binary file for a certain processor architecture is run on a different architecture e.g., an x86 executable...
Read more >"cannot execute binary file" when trying to run a shell script on ...
chmod -x removes execution permission from a file. Do this: chmod +x path/to/mynewshell.sh. And run it with /path/to/mynewshell.sh.
Read more >How to Resolve "Cannot Execute Binary File" Errors? (5 ...
Whenever a user encounters the “cannot execute binary file” error, it usually serves as a warning not to open the file you are...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes @SakiiR you’re right … that’s a root-me challenge … i’v done it with ghidra instead … but , as i said , i tried all the possible arch … and none worked binwalk and file gives me different results … weird … anyway, i can post the output of ld cmd next week …if it can help …
Hi, this usually happens when you’re executing a binary on the wrong architecture, try using another MIPS arch, see
arm_now list