I already reversed this and managed to find the username and decrypt the password. However, when I put that as a flag in the solution it says “Try harder”
I am not sure what is going on! Am I putting it in a wrong format? Or is there something else I have to find.
Would appreciate any hints. While I wont post my findings to not spoil the solution.
Same here, I got the username and password, program says “Good Job” but I cannot submit the flag. I’ve tried various formats but none seems to work! Also it seems the program checks only the first character of the password??
There is a reason you can get “Good Job” and it not be correct. Try to understand the rest of the script and the programs logic; don’t overlook anything.
@m0noc said:
There is a reason you can get “Good Job” and it not be correct. Try to understand the rest of the script and the programs logic; don’t overlook anything.
So I wrote a tiny python script to help reverse The Snake (after getting tired of retyping stuff in the REPL). It’s output produces ‘Good Job’ from snake.py everytime, but wasn’t being accepted as the correct flag.
When I looked over the script again I found a way to input a simpler password, but this still isn’t being accepted by the HTB site…
Any suggestions?
Trying not to say too much here… apologies if I did.
Feel like the challenge in this one is trying to figure out what the creator was thinking because I have deciphered the script and no idea what expected password is
I’m confused;
I have already got the string but it is not accepted on HTB. I don’t see how fixing the comparison loop is going to change the contents of the string/list
I really dont know what to do here. I think i understand the logic behind the “encryption” and the password checking, i still have no idea what the intended password parameter for the flag is. It doesnt seem to be the things that are working as a password entry, and i dont know what else could be meant with “password” in the flag if not the text you can put into the programm to get a “Good job” message.
Even tried the unused variables and they don’t change to anything meaningful
Not good enough to fix the loop but I still can’t fathom how that matters as I know the what its getting compared against
Feel like I need to know some obscure quirk to python that is still years of practice away for me tbh