H7CTF 2026Database Forensics
Deleted SQLite Record
Title unconfirmedSQLite messages.db / deleted rows / hexadecimal strings / XOR
- Competition
H7CTF 2026
- Category
- Database ForensicsMedium · estimated
- Analysis status
- Flag extracted locally
- Document
- Original PDF
01Challenge analysis
The problem
The flag was hidden in a deleted SQLite record, not visible through the ordinary table results. Recovering the remnants and decoding their stored bytes revealed the message.
02Exploit or recovery path
How I solved it
- 01
I inspected messages.db and searched its database pages for remnants of deleted records and string payloads.
- 02
I recovered the relevant hexadecimal data and converted it to bytes.
- 03
I identified the XOR key n0v4ch4t from the challenge evidence, applied the repeating XOR operation, and decoded the plaintext.
- 04
The recovered output matched the H7CTF flag format.
Result
RECOVERED FLAG
H7CTF{7adf9695fb655c752810}
Flag extracted locally
- Local Verification
- Exact flag reported in the September 26 solve session.
- Evidence Limitation
- Page offsets and the original deleted-record extraction script are absent from the retained notes.