Initial Commit from Space Heroes

This commit is contained in:
Glahera 2024-04-15 14:04:52 +07:00
commit 359536a0e4
5 changed files with 22 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
Include/
Lib/
pwntools-doc/
Scripts/
share/

BIN
Space_Heroes/space.pcapng Normal file

Binary file not shown.

Binary file not shown.

5
pyvenv.cfg Normal file
View File

@ -0,0 +1,5 @@
home = C:\Users\Glahera\AppData\Local\Programs\Python\Python312
include-system-site-packages = false
version = 3.12.3
executable = C:\Users\Glahera\AppData\Local\Programs\Python\Python312\python.exe
command = C:\Users\Glahera\AppData\Local\Programs\Python\Python312\python.exe -m venv C:\Users\Glahera\Projects\ctf

12
run.py Normal file
View File

@ -0,0 +1,12 @@
import matplotlib.pyplot as plt
from scipy import signal
from scipy.io import wavfile
sample_rate, samples = wavfile.read('space_frisbee.wav')
frequencies, times, spectrogram = signal.spectrogram(samples, sample_rate)
plt.pcolormesh(times, frequencies, spectrogram)
plt.imshow(spectrogram)
plt.ylabel('Frequency [Hz]')
plt.xlabel('Time [sec]')
plt.show()