Saturday 31 August 2013

ASIS CTF 2013 - Reverse 50 - Simple Binary

In "Simple binary" task teams were provided a MS-DOS binary that asked for 6 numbers.
Firstly I found that the first number is 102. I've tried numbers that are near 102 for the second one and 108 matched. Then I realized that 102 and 108 are printable ASCII characters they were "f" and "l". It was quite obvious to try "agis" for the rest to make it "flagis".

irb(main):002:0> "flagis".each_char { |c| puts c.ord}
102
108
97
103
105
115
After inputing those numbers program printed :
ASIS_97 56 50 56 54 102 97 51 49 48 52 48 49 48 97 48 101 49 52 52 49 56 55 53 102 99 101 50 102 98 97 101
So the flag was : ASIS_a8286fa3104010a0e1441875fce2fbae

No comments:

Post a Comment