code hacking, zen coding

Hack.lu CTF – Python Jail Writeup

Hack.lu CTF – Python Jail Writeup

Challenge source code: #!/usr/bin/env python ”’ Running instructions.  sockets are insecure. We do not implement any socket behaviour in this  file.  Please make this file +x and run with socat:     socat TCP-LISTEN:45454,fork EXEC:./chal.py,pty,stderr Debugging:  Just execute chal.py and play on terminal, no need to run socat Note:  This […]

Share

HackYou CTF – Web 300 – RNG of Ultimate Security Writeup

HackYou CTF – Web 300 – RNG of Ultimate Security Writeup

Web challenge. We have the “source code” and we know the location of the flag: <!– can’t touch this: http://securerng.misteryou.ru/flag.txt.gz –> <!– can touch this: http://securerng.misteryou.ru/index.php.txt –> The web page is simple form to generate pseudo-random numbers. Here is the form:     <form method=’POST’>       Enter the […]

Share

CSAW 2012 CTF – Exploit 300 Writeup

CSAW 2012 CTF – Exploit 300 Writeup

We have an interesting binary that uses signals to call functions. The most interesting handler is the user input handler: (function names are my own, binary was stripped) .text:080488C8 inputHandler    proc near               ; DATA XREF: sub_8048A3D+2Bo .text:080488C8 .text:080488C8 s       […]

Share