#๐Ÿ”’ Microsoft defender thinks my script is a virus

14 messages ยท Page 1 of 1 (latest)

opal orchidBOT
#

@minor saddle

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

minor saddle
latent trench
#

That's normal for pyinstaller executables. There isn't much you can do about it.

ashen axle
#

Blame the malware authors who made Pyinstaller's signature suspicious.

minor saddle
#

well Im planning to use it just for my friends which is nice but they kinda dont trust me much in this topic since they know I few times made an actual "dangerous" script (just shuts down your computer)

ashen axle
#

Given malware's effects are potentially irreversible without massive amounts of work or just nuking everything, being suspicious is a good default. You couldn't even realiably prove after that fact that all your code did was shutdown their machine, since your code could have been self-editing.

#

If they don't trust you, giving them the source, which they can audit, is the best option anyway.

minor saddle
#

yeah except you can see in the script the code they have to guess which would ruin the whole point of making that program

ashen axle
#

You could see that with a PyInstaller executable as well (just with more work).

#

And you could always make what's being guessed dynamic so it isn't in the source at all.

minor saddle
#

alr thank you

#

!close

opal orchidBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.