[Hack The Boo] Day 1 Challenges
by - Thursday, January 1, 1970 at 12:00 AM
Thanks! U Are the best :D
Reply
😁
Reply
Thanks
Reply
thenks..
Reply
Thanks
Reply
(October 22, 2022, 05:25 PM)elliotal Wrote:
(October 22, 2022, 05:06 PM)Hacker2222 Wrote: for web change print() to open("/flag.txt", "r").readline()

any 1 know how to do crypto challenge ?


{"current_health":"100","attack_power":"100","operator":"+ 1; result=open('/flag.txt', 'r').readline()#"}

Just trying to understand this a bit better in my head 😊 
Understand the `operator` is exploitable. I see the `+ 1;` as extending the code (and can be any number) and then we have the python code to read the flag. While testing, it only works with `result` but again in my head this could be any word as it would be a variable - but a variable that is not returned. Is result something else or am I just over thinking it?
Reply
nice nice
Reply
thankss
Reply
Thanks!
Reply
thanks
Reply


 Users viewing this thread: [Hack The Boo] Day 1 Challenges: No users currently viewing.