1

I wanna reverse CGI binary file.
Is it possible?
What are the recommended tools and guides?
Thank you for reading my question.

$ file test.cgi
status.cgi: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.16, stripped

2 Answers 2

2

You can use radare. It is a free framework.

$radare2 -aarm -b32 test.cgi

More on radare: https://radare.gitbooks.io/radare2book/content/

2
  • Thank you for your answer. Can you let me know the best linux GUI tools like IDA please?
    – three2zero
    Commented May 29, 2021 at 14:54
  • 2
    hi, you can use ghidra
    – R4444
    Commented May 29, 2021 at 15:19
1

CGI is not a specific type of file; it more so describes the way the file is interacted with. A CGI file could be a script written in any scripting language (e.g. Python, Bash, Perl etc.), or it could be an ELF executable like you have here.

Since it's just a normal ELF, you can use any common disassembly/decompilation tool that you would use for other binaries.

1
  • Thank you for your answer.
    – three2zero
    Commented May 29, 2021 at 14:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.