Hi

I know forensictool.net 's mime detection program. You can use this