Challenge Author: SYREAL
Category: General Skills
Difficulty: Easy
Description
Can you look at the data in this binary: static? This BASH script might help!
Process / Notes
wgetthe itemsfileshows static is also an ELF 64-bit LSB pie executablefileshows ltdis.sh is a BASH scriptcat ltdis.sh- Shows the bash script checks for the presence of the binary file and runs
objdump -Dj .textto disassemble all of the file, then only print out the “.text” sections. - Need to make the BASH script executable, then run the “static” through the bash script by listing the file after the bash script
catthe newly created file- Lots of stuff in there, but one of the items was the flag!
6 minutes 14 seconds to complete
Hints
Core Lessons
- Understand how to
cata BASH file to assess its operation - Understand enough of how
objdumpworks with binary files that you understand how the command is interacting with the binary