Skip to content

Instantly share code, notes, and snippets.

@telecastr
telecastr / norzh2021-norzh-flight.md
Last active January 10, 2022 15:30
Norzh CTF 2021 - Welcome to Norzh Flight writeup

Welcome to Norzh Flight !

The starting point for this challenge is a flight-booking website. The goal is to book a particular flight from VNE to CTF on May 21. The catch is that apparently there are no seats available on that flight. 😕

Starting Point

@telecastr
telecastr / svn_extractor.py
Created May 23, 2021 19:17
Dirty fix for anantshri/svn-extractor
#!/usr/bin/env python
import requests
import sys
import argparse
import os
import sqlite3
import traceback
import re
# disable insecurerequestwarning
@telecastr
telecastr / htb2021-discovery.md
Created April 23, 2021 23:38
HTB - Cyberapocalypse 2021 - Discovery (HW) - Rough Writeup

Discovery

  • Port 31227 -> Basic Auth, no luck with admin/admin, ... & user admin+ rockyou.txt

  • Port 32544 -> AMQP, requires auth, no luck with guest/guest & user admin+rockyou.txt

  • Ports change with restart of Docker-container + Services of other challanges are running on the same IP but different port ...

  • The authentication form tells us, this is a AppWeb Embedded Server

@telecastr
telecastr / htb2021-off-the-grid.md
Last active April 24, 2021 17:40
HTB - Cyberapocalypse 2021 - Off The Grid (HW) - Rough Writeup

Off the grid

  • Given is a data-stream to an SH1306-OLED display

  • SH1306 is slightly different to well known SSD1306, differences in Protocol

  • Basic explanation of SSD1306 display: lastminuteengineers.com

  • SSD1306 datasheet: adafruit.com

  • SH1306 seems to only support page addressing mode. This can also be seen on the data stream itself - 128 Bytes are transmitted in one go = 128 Lines*8 Rows at 1 bit 'color-depth' (black/white)

  • Correct Settings for Saleae Logic can be determined from the capture itself or the shematic given by HTB: screens

  • After exporting the Saleae Logic analyser result as .csv, the protocol can be reversed/display can be emulated and the pixel-stream can be saved to an image file