You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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.
The text was updated successfully, but these errors were encountered:
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"
#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.
The text was updated successfully, but these errors were encountered: