Misc Challenges
Fun
WTF is This
Solution
JSFuck - Write any JavaScript with 6 Characters: []()!+
Flag:aupCTF{j4v45c1pt_but_f*ck3d}
Sanity check
Have you checked the Rules
Solution
Flags are in the format: aupCTF{5an1ty-ch3ck} except if specified differently.
Flag:aupCTF{5an1ty-ch3ck}
Zoo
when was the first ever video uploaded on youtube?.
Flag format: aupCTF{epoch}
Solution
"Me at the zoo" is the first ever video uploaded to YouTube, on April 23, 2005, 8:31:52 p.m. PDT, or April 24, 2005, at 03:31:52 UTC.(source)
Using epochConverter to convert Human date to Timestamp April 24, 2005 03:31:52 UTC
we get the flag answer.
Flag:aupCTF{1114313512}
Frequency
My friend was making a call on his iconic Nokia 3310. Can you figure out who he was calling?
Challenge: rec
Solution
I used dtmf-decoder to decode get the keys pressed from recording.
└─$ dtmf rec.wav
009234586060484
Flag:aupCTF{00923456060484}
pHash
Analysis
from django.shortcuts import render
from django.contrib import messages
import hashlib
import random
with open('marvel.txt', 'r', encoding='utf-8', errors='ignore') as file:
wordlist = file.read().splitlines()
random_word = random.choice(wordlist)
random_md5 = hashlib.md5(random_word.encode('utf-8')).hexdigest()
def login(request):
if request.method == 'POST':
username = request.POST.get('username')
password = request.POST.get('password')
if username == 'admin' and password == random_md5:
messages.success(request, 'Congratulations! Here is your flag [REDACTED]')
else:
messages.error(request, 'Invalid username or password.')
return render(request, 'phash.html')
Application opens marvel.txt wordlist, gets random line, converts to md5 which ends up being the password.
Solution
Since I didn't know who was the character that fans speculated would appear in a "Marvel Show" but ultimately did not make an appearance, I decided to just try all characters.
import re
import asyncio
import aiohttp
from hashlib import md5
URL = "https://challs.aupctf.live/phash/"
marvel = set()
with open('marvel.txt') as f:
for line in f.readlines():
line = ( # Filter Out Comments
line.strip() if '(' not in line
else re.search(r"(.*) \(", line).group(1)
).lower() # Convert To Lowercase
marvel.add(line) # Filter Duplicates
async def make_request(session, character):
phash = md5(character.encode()).hexdigest() # Calculate Hash
data = {'username': 'admin', 'password': phash} # Create the request data
async with session.post(URL, data=data) as resp: # Send the request
response_text = await resp.text()
if 'Invalid username or password.' not in response_text: # Check Success
return character, re.findall(r'aupCTF\{.*\}', response_text)[0]
async def main():
async with aiohttp.ClientSession() as session:
tasks = []
for character in marvel:
tasks.append(make_request(session, character))
results = await asyncio.gather(*tasks)
for result in results:
if result:
print(result)
break
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Flag:aupCTF{y0u-ar3-a-tru3-m4rv3l-f4n}
The Circle Of Life
This message was intercepted by our secret agent but we don't know how to read it. Help us to find secret of the circle.
Challenge: file
Solution
G-code, short for "Geometric Code," is a programming language used in computer numerical control (CNC) machines to control their movements and operations. It consists of a series of instructions that tell the machine how to perform specific tasks, such as moving the tool along a particular path, cutting or shaping materials, and controlling various machine functions.
There's a great tool to visualize gcode at https://ncviewer.com.

Flag:aupCTF{Ti3_i3_fu9_rig4ht}
Mr white
Yeah, science!
Analysis
└─$ exiftool doc.jpg
...
Comment : where did the protagonist lived ?
Walter and Skyler's home on the show, located at "308 Negra Arroyo Lane" is a private residence actually located at 3828 Piermont Dr, Albuquerque, NM.
└─$ steghide extract -sf doc.jpg -p "albuquerque"
wrote extracted data to "wordlist.txt".
└─$ cat wordlist.txt
isaac
aaron
matthew
taylor
henry
elan
oliver
noah
ethan
william
hunter
owen
kevin
nathaniel
olivia
claire
keira
skyler
Looks like we got first hint. Opening wav
file it's clear that start of the audio is Morse Code, but then sound gets weird.. as if its reversed? I opened file in audacity and tried to reverse => Ctrl+A -> Effects -> Special -> Reverse.
I cut out the morse code and listened to it, turns out it was a hint from the start. If you listen to original file and decode with Morse Audio Decoder.
REVERSE THE AUDIO AND LISTEN TO IT CAREFULLY
Note: Words joined for more verbosity, tool can't do it
I could't make use of clip nor wordlist in any way, looking at flag format on TryHackMe flag length is 17, same as wordlist. Extracting first letter of each word -> iamtheonewhoknocks
(Another famous scene from Breaking Bad).
Flag:aupCTF{iamtheonewhoknocks}
Last updated