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()
评论列表
文章目录