Friday, October 23, 2015

OverTheWire - Leviathan - Level 4

After logging into leviathan4 and checking the home directory we will see a hidden folder called .trash. If we check in here we have a file called bin. That is correct - it is a file, not a directory!
./.trash/bin
If we run bin it will give us binary output. You can use an online converter to convert it back to ascii and this will be your password. Or we can do it in a single line using the following perl command:
./.trash/bin | perl -lape '$_=pack"(B8)*",@F'

No comments:

Post a Comment