This is a collection of writeups for Gaslight CTF 2026. We placed 5th, 3rd in the HS divison.
Corridors
Solve script: from bs4 import BeautifulSoup import requests if __name__ == "__main__": url = input("Enter the instance url (with https): ") i = 0 while True: i += 1 print(f"\rCount: {i}", end="", flush=True) url += "/l" response = requests.get(url) soup = BeautifulSoup(response.content, "lxml") if soup.title.text == "correct": pass elif soup.title.text == "wrong": url = url[:-2] url += "/r" response = requests.get(url) soup = BeautifulSoup(response.content, "lxml") if soup.title.text not in ("correct", "wrong"): print(soup.prettify()) print(url) break