I'm trying out a crackme from the "LSE CTF" called "Blue Box" worth only 10 points. I've attempted this inside GDB and radare2...

It is very simple, takes one argument and first checks to make sure it has that arg then it calls strlen later in the code. I set a breakpoint before the call and after but during the call to strlen I get a SIGTRAP signal which I continue but it never comes back to main, it just exits, even if I step through it all.

I'm stumped and would appreciate any help with this one, just to figure out this one part, I'm not asking for the answer or anything.

If you don't have an account with the CTF I uploaded the file here: https://ufile.io/te97v

enter image description here

  • 1
    can you upload the file again please? – Alberto Jul 14 '17 at 12:15

Hopefully, this will get you moving in the right direction. Look closely at what is being passed to the strlen function; does the address make sense?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.