Hack your way through Stripe's Capture the Flag
41–50 of 219 posts
Re: Hack your way through Stripe's Capture the Flag
#42Is /home/level02/.password empty?
Re: Hack your way through Stripe's Capture the Flag
#43What am I doing wrong: Current time: cat: /home/level02/.password: Permission denied Does someone has a tip?
Re: Hack your way through Stripe's Capture the Flag
#44Earlier quoted context omitted.
Same, the only thing I can think of is doing something with the pointers in the fns variable in main, but I can't quite figure out what to do.
I've been playing with nm, but without a hex editor I feel crippled :/
(gdb) x/4x fns
0xffeaa0cc: 0x080485e4 0x08048640 0x0804869c 0x08048719 (gdb) x run
0x804875b : 0x83e58955 (gdb) gdb) x/40x (void*)fns-0x40
etc.Re: Hack your way through Stripe's Capture the Flag
#45What am I doing wrong: Current time: cat: /home/level02/.password: Permission denied Does someone has a tip?
The whole point is that you're supposed to find vulnerabilities in what you have access to and exploit them to view contents of things you don't have permission to.
Re: Hack your way through Stripe's Capture the Flag
#46Bonus to anyone who gets the answer by intercepting another solver's email message.
Re: Hack your way through Stripe's Capture the Flag
#47Earlier quoted context omitted.
The whole point is that you're supposed to find vulnerabilities in what you have access to and exploit them to view contents of things you don't have permission to.
I replaced the date with my own script, but it still gets executed as level01 user
Re: Hack your way through Stripe's Capture the Flag
#48Re: Hack your way through Stripe's Capture the Flag
#49Bonus to anyone who gets the answer by intercepting another solver's email message.
I just hope this machine is isolated from Stripe's network, in case someone makes it to secret level 99.
Re: Hack your way through Stripe's Capture the Flag
#50Earlier quoted context omitted.
EDIT: doh, didn't know we had write access to /tmp, that makes it easy
You can write to /tmp. But since most people are also doing that, /tmp/date gets overriden frequently. I'd recommend mkdir /tmp/CZ-18; PATH=/tmp/CZ-18:$PATH; And then you can figure it out :)