问题
I have written a little tool a few days ago (see Github project here) that works as a single .exe
portable file. It is compiled/linked with:
cl mytool.c
I have uploaded the .exe
on internet, but when people try to download it (direct link here), the file is seen as malware / potential threat, and thus can't be downloaded. (Note that when disabling antivirus for 10 minutes, it is possible to download it successfully.)
How to compile/link my tool so that my .exe
file is seen as potential threat?
回答1:
You may be able to get around this problem by putting a password on the zip file or rar file. The only thing is that you would then have to hand the password where the file is downloaded from so that users can get into it.
If you want some more information on this you could read this page: Getting around Chrome's Malicious File Warning
Hope this helps.
来源:https://stackoverflow.com/questions/28919827/how-to-prevent-my-exe-to-be-recognized-as-malware