Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error mime input file #3

Open
VirusEmp opened this issue Dec 15, 2018 · 2 comments
Open

Error mime input file #3

VirusEmp opened this issue Dec 15, 2018 · 2 comments
Labels

Comments

@VirusEmp
Copy link

#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.

@Arno0x
Copy link
Owner

Arno0x commented Dec 15, 2018

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"

@pretech86
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants