Ethical Hacker Community Forums

Ethical Hacking Discussions and Related Certifications => Network Pen Testing => Topic started by: Hack_80 on June 24, 2008, 07:10:49 AM



Title: Mp3 file scanner
Post by: Hack_80 on June 24, 2008, 07:10:49 AM
HI,
  Please suggest me the tools to scan renamed mp3,avi,mpeg or any audio/video scanner.
i found system where people rename the files and use audio files.

Thanks


Title: Re: Mp3 file scanner
Post by: jason on June 24, 2008, 08:13:28 AM
You can use the file command in Linux for this, as it doesn't depend on the extension being correct:

~/Documents/portishead dummy$ file 11-portishead-glory_box-ksi_int.mp3
11-portishead-glory_box-ksi_int.mp3: MPEG ADTS, layer III, v1, 256 kBits, 44.1 kHz, Stereo

~/Documents/portishead dummy$ cp 11-portishead-glory_box-ksi_int.mp3 11-portishead-glory_box-ksi_int.mp3.copy

~/Documents/portishead dummy$ file 11-portishead-glory_box-ksi_int.mp3
11-portishead-glory_box-ksi_int.mp3: MPEG ADTS, layer III, v1, 256 kBits, 44.1 kHz, Stereo


Title: Re: Mp3 file scanner
Post by: oneeyedcarmen on June 24, 2008, 08:20:06 AM
One of my favorite albums  :D


Title: Re: Mp3 file scanner
Post by: Hack_80 on June 24, 2008, 10:27:27 PM
Thanks for reply,
I am looking for windows based espcially 2Kand XP


Title: Re: Mp3 file scanner
Post by: jason on June 24, 2008, 10:56:51 PM
It is a good album :)


Title: Re: Mp3 file scanner
Post by: jason on June 24, 2008, 10:58:09 PM
I *think* that you might be able to get the file command on Windows with Cynwin

http://www.cygwin.com/ (http://www.cygwin.com/)


Title: Re: Mp3 file scanner
Post by: jason on June 24, 2008, 11:07:14 PM
Aha! Here's a tool that does what you want

http://www.forensicinnovations.com/fisdk.html (http://www.forensicinnovations.com/fisdk.html)

Though it is a bit pricey. I'll bet a person could code something up in perl to do this.


Title: Re: Mp3 file scanner
Post by: jason on June 25, 2008, 09:42:18 AM
Ha! I knew someone would be doing this in perl

http://search.cpan.org/~knok/File-MMagic-1.27/MMagic.pm (http://search.cpan.org/~knok/File-MMagic-1.27/MMagic.pm)