Home

Buckeye CTF'21 writeup

pwn staff This is an easy challenge but requires careful observation and code analysis to solve. challenge files if you observe, instuctor string is printed at the end of the both functions, but is unreachable in one of the functions // find_instructor() printf("Professor %s will teach %s, but we'll probably change our minds the week before...

Read more

random - pwnable.kr

Daddy, teach me how to use random value in programming! ssh random@pwnable.kr -p2222 (pw:guest) three files on the ssh server : random,random.c,flag downloading for better analysis: ~/Downloads/pwnabl/random ❯ scp -P 2222 random@pwnable.kr:~/random.c ./ random@pwnable.kr's password: random.c 100% 301 0.7KB/s ...

Read more

passcode - pwnable.kr

Mommy told me to make a passcode based login system. My initial C code was compiled without any error! Well, there was some compiler warning, but who cares about that? ssh passcode@pwnable.kr -p2222 (pw:guest) So on the ssh server we have three files, we can download passcode and passcode.c to better examine them ❯ scp -P 2222 passcode@pw...

Read more

flag - pwnable.kr

Papa brought me a packed present! let’s open it. Download : http://pwnable.kr/bin/flag This is reversing task. all you need is binary So in this challenge we are given a binary, no src code. So, first the file command ❯ file flag flag: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, no section header hmmm, ver...

Read more

bof - pwnable.kr

Nana told me that buffer overflow is one of the most common software vulnerability. Is that true? Download : http://pwnable.kr/bin/bof Download : http://pwnable.kr/bin/bof.c Running at : nc pwnable.kr 9000 Method 1 : without pwntools bof.c #include <stdio.h> #include <string.h> #include <stdlib.h> void func(int key){ cha...

Read more

collision - pwnable.kr

Daddy told me about cool MD5 hash collision today. I wanna do something like that too! ssh col@pwnable.kr -p2222 (pw:guest) apparently there is something called collision in hashes when two hashes become equal, read about it later. This also has a flag , and an binary file which can access the flag file content. Fortunately , the source cod...

Read more

fd - pwnable.kr

Required Knowledge : what are file descriptors default file desciptors for stdin ssh [fd@pwnable.kr](mailto:fd@pwnable.kr) -p2222 On carefully looking at the code, we can see that we need to read LETMEWIN string from the file desciptor fd which is determined by the argument of the binary. So we can make fd = 0 to read from stdin and ...

Read more