Created
August 7, 2018 12:04
-
-
Save mjmckinnon/782b3f9405fadf0199b41db4005432a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# used once in a CTF for dumping audio data | |
f = 'song.mp3' | |
from pydub import AudioSegment | |
sound = AudioSegment.from_mp3(f) | |
of = open('song_serial.txt','w') | |
of.write(sound._data) | |
of.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment