Skip to content

Instantly share code, notes, and snippets.

View securityMB's full-sized avatar

Michał Bentkowski securityMB

View GitHub Profile
@securityMB
securityMB / writeup.md
Created July 21, 2025 01:39
Lost In Transliteration - Writeup

Lost In Transliteration - Google CTF 2025 challenge writeup

Setup

The challenge is written in C#. In the beginning of Program.cs we can find the following line:

Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
@securityMB
securityMB / twitter-quiz.md
Last active July 16, 2021 04:07
Twitter quiz solution

Yesterday I posted a little quiz on Twitter about HTML parsing.

The question was: what element is going to be the parent of the final <s> in the following snippet of HTML:

<div><table><svg><foreignObject><select><table><s>

The final answers are:

@securityMB
securityMB / scrollbar.md
Created February 24, 2018 23:21
Scrollbar

CSS Scrollbar attack

Image we have the following code:

<script>
var TOKEN="abcdef";
</script>