Skip to content

Instantly share code, notes, and snippets.

@0xffcourse
0xffcourse / Google CTF 2022 writeups.md
Last active October 24, 2022 14:03
Google CTF 2022 writeups

This google-ctf I couldn't solve any web challenges because I spent too much time trying dns-leaking on log4j challenge while the solution was to leak it thru the error logs. Near the end of ctf, I tried out this sandbox challenge and solved it. I will try sharing my journey for this flag with you.

Treebox

Challenge description

image

# dependency modules
import xlsxwriter
# standard modules
from itertools import combinations
from random import shuffle
from math import ceil
class TieSheet:

This year was actually my second trial at google CTF. Last year I was not able to solve any challenges at all, so my goal this year was to collect at least one flag. Thus, I decided to start with the most solved challenge(probably was 50+) at the moment I first checked in: Pasteurize. I however spent too much time in it and managed to solve only 2 challenges before the end of the CTF: Pasteurize and Log-me-in.

Pasteurize

Challenge description:

The site pasteurize.web.ctfcompetition.com had a simple form titled "create new paste":

image