[vorbis-dev] file header

John Ripley JRipley at sonicblue.com
Mon Mar 3 06:16:35 PST 2003



> -----Original Message-----
> From: captain birdseye [mailto:captainbrowneye at hotmail.com]
> Sent: 03 March 2003 04:40
> To: vorbis-dev at xiph.org
> Subject: [vorbis-dev] file header
> 
> I was wondering if there was a way to recompile ogg123 so 
> that it didnt look 
> for "Ogg" at the start of each file. Ie change it so it 
> looked for "Dog" or 
> something. Why you ask? because in theory Im not ment to have 
> any music 
> files on my work computer NFI why but just cant. If I could 
> mask an ogg file 
> to look like another file then I could beat the system. 
> Assuming that they 
> even know what Ogg Vorbis is.
> 
> the bits in the header I would like to change are
> 
> Ogg vorbis Xiphophorus libVorbis

Easy to do without modifying libvorbis/ogg at all...

eor.cpp:
#include <stdio.h>
int main() { int c; while((c = fgetc(stdin)) != EOF) putchar(c ^ 0xff); }

Compile with: g++ -O -Wall -o eor eor.cpp
"Encrypt" with: "./eor <ogg_file.ogg >ogg_file.encrypt"
Play back with: "./eor <ogg_file.encrypt | oggdec -"

Of course it doesn't take much to "crack" that encryption :)

- John Ripley.
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list