Index

TAMU CTF 2019 Writeups

  1. Pwn
    1. Pwn1
    2. Pwn2
    3. Pwn3
    4. Pwn4
    5. Pwn5
  2. Network/pentest
    1. Stop and listen
    2. Wordpress
    3. Calculator

Pwn5

Challenge Link: nc pwn.tamuctf.com 4325
Difficulty: easy
Binary Link:

This was similar to pwn4 but only different is it only take three chars input this time.....however 3 chars are enough for me to get a shell

i use
‘&sh’ to run ‘sh’ command anded with ls so command become ‘ls&sh’ which gave me the shell and i read the flag.txt

images/19-1.png

again a simple challenge
www.000webhost.com