Posts

Showing posts from October, 2019

Square CTF 2019 Writeup's

Image
[*]-challenges
   [+] (one   - 100 pts) Talk to me
   [+] (two   - 700 pts) Aesni
   [+] (three - 150 pts) Decode me
   [+] (five  - 200 pts) Inwasmble
   [+] (seven - 600 pts) Lockbox
   [+] (nine  - 700 pts) Sudo make me a flag

Our Team Invaders ended up at 19th position
With points 3450 points


Talk to me A service running at `talk-to-me-dd00922915bfc3f1.squarectf.com:5678`
$ nc talk-to-me-dd00922915bfc3f1.squarectf.com 5678 Hello! aaaaaaaaaaaa Sorry, I can't understand you. Saying Hello! and asking for input(aaaaaaaaaaaa) Then returning a message
After some trails, Two errors meant a lot (for 1 and ')
$ nc talk-to-me-dd00922915bfc3f1.squarectf.com 5678 Hello! 1 undefined method `match' for 1:Integer /talk_to_me.rb:16:in `receive_data' /var/lib/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine' /var/lib/gems/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run' /talk_to_me.rb:31:in `'$ nc talk-to-me-dd00922915bfc3f1.s…