简体   繁体   English

Python Exe混淆以规避Windows Defender

[英]Python Exe Obfuscation to Evade Windows Defender

I know this sounds kind of shady but let me explain.我知道这听起来有点可疑,但让我解释一下。

I wrote a program in Python to automate some tasks for my work.我在 Python 中编写了一个程序来自动化我的工作中的一些任务。 Now, when I try to build the project into an EXE and run it on my Windows machine, Windows Defender recognizes it as malware and removes it.现在,当我尝试将项目构建为 EXE 并在我的 Windows 机器上运行时,Windows Defender 将其识别为恶意软件并将其删除。 I don't want to buy any licenses or contact support.我不想购买任何许可证或联系支持人员。

What would be an efficient way to obfuscate my code and get it through Windows Defender?什么是混淆我的代码并通过 Windows Defender 获取它的有效方法?

I got a whole project folder with multiple scripts.我有一个包含多个脚本的整个项目文件夹。

I'd say the easier way to go about it would be to exclude the file from Windows Defender on your machine, see Windows Support thread on this.我想说 go 的更简单方法是将文件从您机器上的 Windows Defender 中排除,请参阅Windows Support thread on this。

You may exclude the entire project folder from Defender, should probably solve your problem?您可以从 Defender 中排除整个项目文件夹,应该可以解决您的问题吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM