RADARCTF2019 — Misc(+Programming) Writeup

hsb pride ❤

Logo

Can you find what is hidden inside the photo ?

before
after

Ocean

We took it from the ocean and we don’t know what is file include !

Mon’s Notes: I had so much fun with this challenge, due to its creativity 😂

Hawking

Stephen love to hide some secrets ;)

Stephen love to hide some secrets ;) 
1. Stephen
2. Hawking
3. love
4. hide
5. secrets
6. hawking
7. stephen
8. stephenhawking
9. etc.

Mon’s Notes: May you rest in peace, Dr. Hawking. I felt compelled to solve this challenge just because it had your name and face on it, as you will always be one of my greatest role models.

EasyZip

zip2john EasyZip.zip | cut -d ':' -f 2 > easyzip_hash

Black

Unzip

Unzip me and get your flag

As mentioned earlier, CM 99 is unsupported by unzip
flag.zip
Unzip.zip
fixed

Mon’s Notes: Now I kinda feel bad for our crackstation for using it without even trying some passwords haha

yes or yes? yes!

Bonus: Scattered1

Mon’s Notes: This programming problem is definitely one of the most fun challenges I’ve ever encountered.

A lot of scattered pictures , do you think they give you a secret ?

#Script Name: resizer.py
#Description: Resizes images to 150x150
#made with <3 by mon from the hackstreetboys
import cv2

for i in range(1, 577):
im_path = './' + str(i) + '.jpg'
img = cv2.imread(im_path)

cropped = img[0:150, 0:150]

cv2.imwrite('./cropped/' + str(i) + '.jpg', cropped)
left, before, right: after
#Script Name: ocra.py
#Description: Performs OCR on multiple images and prints the result
#made with <3 by mon from the hackstreetboys
from PIL import Image
import pytesseract

for i in range(1, 577):
img = str(i) + '.jpg'
text = pytesseract.image_to_string(Image.open(img), config='--psm 10')
print (text)
SGVsbG8gYWdhaW4gLCB5b3UgZGlkIGEgZ29vZCBqb2Igd293IGFuZCBiZWNhdXNlIHlvdSBkaWQgYSBnb29kIGpvYiBhbmQgeW91IGNhbiBmaW5kIHlvdXIgZmxhZyBpbiB0aGUgZW5kIG9mIHRleHQgLCBnb29klGx1Y2SgYW5klGRvbld0lGZvcmdldCB0byB0YWtllGEgcmVzdCBhbmQgaGF2ZSBhlGdvb2QgbmlnaHQgYmVjYXVzZSB5b3UgYXJllGdvb2QgcHJvZ3JhbW1lclBhbmQgZG9uJ3QgZm9yZ2V0lHRvlHN1Ym1pdCB0aGUgZmxhZyBhbmQgeWVzlHllcyBJlHdhbnQgdG8gbWFrZSB0aGUgYmFzZTY0lHZlcnkgbG9uZyBlZWNhdXNllEkgd2FudCB0byBjcmVhdGUgYSBSb3Qgb2YgcGhvdG9zlGJlY2F1c2UgdGhllGxhenp5lHBlb3BSZSBmaW5hbGx5lHRoaXMgaXMgeW91clBmbGFnlHJhZGFye3Byb2dyYW1taW5nX2lzX2ltcG9ydGFudF9nb29kX2pvYl9icm99

Conclusion

PS

Hi I’m Mon, and I’m one of the founders of hackstreetboys, a CTF team from the Philippines!

While you’re at it, please like our Facebook page (hackstreetboys)
Follow our Twitter account (https://twitter.com/_hackstreetboys)
Read our writeups on Medium (https://medium.com/hackstreetboys)
Look at our new GitHub page (https://github.com/hackstreetboysph)

Also, visit our website (https://hackstreetboys.ph)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store