Comments (35)
in look into it.
from python-backdoor.
I think the real problem is the server crashing since even killing the process will still allow the client to reconnect. When does the server crash?
from python-backdoor.
Yes, Server crash when killing the process.
When server restart, client cannot reconnect
from python-backdoor.
try running both in a command window see what the output is.
I killed the server and restarted it and client still connected.
from python-backdoor.
1 . I killed server ==> restart server => client connected ok
2. I try killed server again ==> restart server => alway stuck in Listening on port
I test on windows 10 and ngrok
from python-backdoor.
I tried killing it multiple times, the client still connects. Maybe try changing line 442 in client.py to except:
instead of except socket.error:
.
from python-backdoor.
Thank you @xp4xbox
I change line 442 as you help
error as image below when i killed server and reopen
Server
from python-backdoor.
Test 2nd :
from python-backdoor.
Right below line 79 do you want to add print(client_info)
so I can see what data that list has when you get that error?
from python-backdoor.
error does not appear as picture above
But killed the server and restart, it's stuck
Connected
Restart Server , stuck on Listening on port 3000, client not reconnect
from python-backdoor.
Error appear
from python-backdoor.
Try changing line 154 in refresh_connections()
from except socket.error:
to just except:
from python-backdoor.
from python-backdoor.
maybe error appear when i use ngrok ?
from python-backdoor.
Whats ngrok
from python-backdoor.
Ngrok : expose local server to internet (https://ngrok.com/)
Because ISP in my country does not provide static ip
from python-backdoor.
Ah I think i know the problem do you want to add print(strUserInfo)
to line 100 in client.py and show the output.
from python-backdoor.
Error appear
I believe this error can be fixed with changing del arrAddresses[intCounter]
to arrAddresses.remove(conn)
. This should prevent index out of range errors
from python-backdoor.
from python-backdoor.
part of the problem is that since you are using ngroc hostname socket.gethostname() returns nothing. so il have to fix that.
did you try doing arrAddresses.remove(conn)
?
from python-backdoor.
Yes, i tried
from python-backdoor.
Ngrok port forwarding service, I don't think it interferes with socket.gethostname()
from python-backdoor.
from python-backdoor.
try this instead del arrAddresses[arrConnections.index(conn)] arrConnections.remove(conn)
for thoses two lines.
from python-backdoor.
@Y4hL any reason why socket.gethostname returns blank then?
from python-backdoor.
I think socket.gethostname() returns DESKTOP-XXXX
from python-backdoor.
oh wait yeah your right, platform.system() and platform.release() arent showing up
from python-backdoor.
It think it would make it much easier if the list was sent in json format instead of splitting strings
from python-backdoor.
try this instead
del arrAddresses[arrConnections.index(conn)] arrConnections.remove(conn)
for thoses two lines.
Error does not appear
Restart Server , stuck on Listening on port 3000
from python-backdoor.
@xp4xbox I can make the client send the client_info in json format, but it would require an extra import, is that fine?
from python-backdoor.
from python-backdoor.
#38 @ittech25 try using ngrok with these changes
from python-backdoor.
from python-backdoor.
from python-backdoor.
Hi @xp4xbox @Y4hL
I tried using serveo (same ngrok) - expose local server to internet
Working fine. No error appear.
Thank you for your support ^^
from python-backdoor.
Related Issues (20)
- sh: 1: /usr/bin/Scripts/pyinstaller: not found HOT 8
- error building EXE windows10 HOT 5
- Doesn't work on other PCs HOT 8
- I am facing this issue :( HOT 19
- Adding python packages to the client.exe HOT 2
- view.py have minor error HOT 1
- 'Match' keyword causes errors HOT 7
- Pyinstaller error HOT 11
- Keylogger HOT 2
- Issue with execution of main_client file in Windows 10 HOT 5
- Download feature HOT 2
- Module Windows has no atribute send.file HOT 2
- Error during run executable on Ubuntu 18.4 HOT 1
- ModuleNotFoundError: No module named 'winpwnage.core.error'
- setup.py not working HOT 2
- XD
- Rat
- help HOT 6
- Backdoor
- [ENHANCEMENT] Easier way to add commands HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-backdoor.