diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..291678c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +__pycache__/ +lib/ +venv/ diff --git a/lib/TunnaClient.py b/lib/TunnaClient.py index c350526..3c04320 100644 --- a/lib/TunnaClient.py +++ b/lib/TunnaClient.py @@ -336,7 +336,7 @@ def Threaded_request(self, remote_port, remote_ip=None, socks=True): # send options resp = self.HTTPreq(url) - if (resp[:4] == '[OK]'): # If ok is received (non-php webshell): Thread not needed + if (resp[:4] == b'[OK]'): # If ok is received (non-php webshell): Thread not needed print('[-] Keep-alive thread not required') # if ok/proxy is not received something went wrong (if nothing is received: it's a PHP webshell) else: