INNER CODE UNIT · Python

recv

paulveillard/cybersecurity · cyber-security-scripts/Client-ServerWithAuthentication.py:76

def recv():
    while True:
        try:
            msg = s.recv(1024)
            msg = msg.decode('utf-8')
            if msg == "":
                pass
            else:
                print(f"\n[+] Msg from Serv: {msg}")
        except:
            pass
sender = threading.Thread(target=instruct)
sender.start()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…