EmbedInHTML icon indicating copy to clipboard operation
EmbedInHTML copied to clipboard

Error mime input file

Open VirusEmp opened this issue 7 years ago • 2 comments

#i have done this already with a .exe file and it worked perfectly. #but when i try it with an apk file using this same command python embedInHTML.py -k Data -f '/root/Playstore.apk ' -o google.html #and i get this error [!] Could not determine the mime type for the input file. Force it using the -m switch. #1 what causes this error.

VirusEmp avatar Dec 15 '18 01:12 VirusEmp

Oh I see, this is due to the mimeTypeDict hashtable in the embedInHTML.py file that simply doesn't contain a mime type definition for the apk extension.

You just need to add this extension and the corresponding mime type. I guess this would be something like: ".apk": "application/octet-stream"

Arno0x avatar Dec 15 '18 10:12 Arno0x

after i add the extension it said killed can you help please

pretech86 avatar Jan 16 '20 09:01 pretech86