esx.py 文件源码

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

项目:cuckoodroid-2.0 作者: idanr1986 项目源码 文件源码
def _auth_callback(self, credentials, user_data):
        for credential in credentials:
            if credential[0] == libvirt.VIR_CRED_AUTHNAME:
                credential[4] = self.options.esx.username
            elif credential[0] == libvirt.VIR_CRED_NOECHOPROMPT:
                credential[4] = self.options.esx.password
            else:
                raise CuckooCriticalError("ESX machinery did not recieve an object to inject a username or password into")

        return 0
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号