decept.py 文件源码

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

项目:Decept 作者: Cisco-Talos 项目源码 文件源码
def shutdown(self):
        if self.local_end_type in ConnectionBased:
            server_kill = self.socket_plinko(self.lhost,self.local_end_type)
            if server_kill.type != socket.AF_UNIX:
                server_kill.connect((self.lhost,self.lport))
                server_kill.close()
            elif "unix" in self.local_end_type:
                try:
                    remove(self.lhost)
                except:
                    output("[?.?] Unable to delete Unix Socket: %s"%self.lhost,YELLOW)

        output("[^.^] Thanks for using Decept!")
        sys.exit()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号