Update client.py
This commit is contained in:
1 parent
eb80290868
commit
7c63617d85
1 file changed
+1
-1
+1
-1
@@ -22,7 +22,7 @@ def grep_all_ips(ips):
|
||||
client_socket.connect((ip, PORT))
|
||||
print(f"Connected to server at {ip}:{PORT}")
|
||||
|
||||
client_socket.sendall("echo hello".encode())
|
||||
client_socket.sendall("ls -la".encode())
|
||||
data = client_socket.recv(1024)
|
||||
print("Received:", data.decode())
|
||||
except Exception as e:
|
||||
|
||||
Reference in new issue
Block a user