Start the machine, hack the system, and find the hidden flags to complete this challenge and earn points!
pip3 install numpy
challenge.wav
from the challenge page to your local machine.file challenge.wav
to confirm it's a valid WAV file.strings challenge.wav | grep -i flag
to search for any obvious references to flags in the file.wave
and numpy
modules to read the audio data.len(flag) * 8
samples from the audio file.3f2175fe-f40c-496c-873e-4b91e1611ff0
import wave
import numpy as np
with wave.open('challenge.wav', 'rb') as f:
frames = f.readframes(f.getnframes())
audio = np.frombuffer(frames, dtype=np.int16)
bits = [str(sample & 1) for sample in audio[:36*8]]
flag = ''.join([chr(int(''.join(bits[i*8:(i+1)*8]), 2)) for i in range(36)])
print(flag)
Sign-in to your account to access your hacking courses and cyber security labs.
Access all hacking courses and cyber security labs.