Challenge Description:
got a joke? drop the URL and we will validate it.
if it ain't 67 we don't wanna hear it twin.
u should be slimed C00kieSn4tcher for making this
looks like it isn't a guessing game
ngl this was a fun lil bypass challenge started by main page and /source
first script
script.py
import requests
base='https://dalctf-67-47-64616c.instancer.dalctf2026.com'
for path in ['/source','/fetch','/robots.txt']:
r=requests.get(base+path, verify=False, allow_redirects=False)
print('
PATH', path, 'status', r.status_code, 'headers', dict(r.headers))
print(r.text[:4000])
/source giving the is_blocked code with BLOCKED_HOSTS = {"127.0.0.1" "localhost" "0.0.0.0" "::1"} and the regex for private nets comment "# try /jokes/1"
then script for jokes
jokes.py
import requests
base='https://dalctf-67-47-64616c.instancer.dalctf2026.com'
for path in ['/jokes/1', '/jokes/2', '/jokes/67', '/flag', '/admin']:
r=requests.get(base+path, verify=False, allow_redirects=False)
print(path, r.status_code, dict(r.headers), repr(r.text[:500]))
so
/jokes/ ... 'Why is 6 afraid of 7?'
/jokes/2 ... "don't bruteforce i told u it's 67"
/jokes/67 ... 'LMAOOOOOOOOOOOOOOOO TRY AGAIN LIL BRO'
not funny btw
/source shows the localhost filter only blocks exact hosts like 127.0.0.1 and localhost 127.1 resolves to loopback but bypasses the exact blockshit
so it gave me the idea for switching to 127.1 and adding URL-encoded control whitespace
i switched to 127.1 which is loopback but not exact match in BLOCKED_HOSTS
so i tried adding URL-encoded control whitespace %1c
and traaa dalctf2026{damnnn_u_funny_as_hell_twin_67}
aint ur twin
straight bypasses on host and path parsing no fancy shit
Flag
dalctf2026{damnnn_u_funny_as_hell_twin_67}