def p2p_upload(fn): #upload files if fn not in filestore: # For only signed files print(Fore.RED + "[-] File does not exist\n" + Style.RESET_ALL) return sconn = find_bot() sconn.send(bytes("FILE", "utf-8")) p2p_upload_file(sconn, fn)
def p2p_upload(fn): # Check if the file exists before sending empty if fn not in filestore: print("That file doesn't exist in the botnet's filestore") return sconn = find_bot() sconn.send(bytes("FILE", "ascii")) p2p_upload_file(sconn, fn)
def p2p_upload(fn): sconn = find_bot() sconn.send(bytes("FILE", "ascii")) p2p_upload_file(sconn, fn)
def p2p_upload(fn): sconn = find_bot() #sconn.verbose=True sconn.send(bytes("FILE", "ascii")) p2p_upload_file(sconn, fn)
def p2p_upload(fn): sconn = find_bot() #sconn.verbose=True sconn.send(bytes("FILE", "ascii")) p2p_upload_file(sconn,fn)