02 June 2010

leviathan level 2 wargame at intruded.net (2/8) wargames

The level 2 is a little binary located in /wargame/check

The binary ask for a password

Using strings in binary:
$ strings /wargames/check
part of the output is omitted
Seems be the binary uses this functions...
printf
puts
system
getchar
seteuid
strcmp

Using hexdump show this other strings:

00000630 03 00 00 00 01 00 02 00 70 61 73 73 77 6f 72 64 |........password|
00000640 3a 20 00 2f 62 69 6e 2f 73 68 00 57 72 6f 6e 67 |: ./bin/sh.Wrong|
00000650 20 70 61 73 73 77 6f 72 64 2c 20 47 6f 6f 64 20 | password, Good |
00000660 42 79 65 20 2e 2e 2e 00 73 65 78 00 73 65 63 72 |Bye ....sex.secr|
00000670 65 74 00 67 6f 64 00 6c 6f 76 65 00 00 00 00 00 |et.god.love.....|

Is one of this the correct password?

Clue:
Hackers movie

Solution: Citing Plague from "hackers movie" the usual passwords are: "love", "secret", "god" and "SEX"


Posted at BinaryCell

No comments:

Post a Comment


Disclaimer: In no event shall the blog owner, be liable for any damages, including without limitation, special, indirect or consequential damages, or any damages, whatsoever resulting from access or use, or inability to access or use this Website or arising out of any materials, information, qualifications or recommendations on this Website.