3v@l

Homepage

Request

Solve

First I tried to read the file, a simple payload worked.

I changd body encoding btw*

Now that I have the source code, I can peacefully test it locally without connection reset problem & also debugging is easier this way for me.

Program:

Looking at file, it's a simple challenge now.

Let's break down--

A simple blocklist, nothing intresting keywords anyway. Next was the regex, which basically looks if we're using file extension, backslash, unicode, etc.. Chatgpt ftw: Unicode escapes (like \u0041) URL encoding (like %20) File extensions (like .exe, .txt) File path characters (/ and \) Directory traversal patterns (..)

Flag

Since the open function was enabled/something we can use, I thought to use something that's similar to /flag.txtbut spells otherwise.

An easy approach is to use chr()to make ascii do our work.

And done.............

ascii -> string -> flag.txt :)

I changd body encoding btw*

_____________________________heapbytes's still pwning.

Last updated