-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dcomrt.py] RPC connect timeout shouldn't be hard-coding #1600
Comments
Hi, this doesn't seem to be an issue per se. I think it might be better to have some kind of PR in order to review/understand your necessities. Could you please send a PR instead? so we can explore which option would be the best? Thanks |
@anadrianmanrique Thanks for your reply, I tried to make a PR about that, But it is really hard for me. l can tell you why, because in some cases if the firewall blocks the port of stringbinding like Shouldn't hard-coding that timeout threshold, need something like |
It always happens in |
@anadrianmanrique Maybe the PR like this mpgn#1 |
I can confirm that this is an issue if the firewall doesn't allow DCOM connection. I can make the PR if @XiaoliChan doesn't mind. |
@ilija-lazoroski Sure! |
Duplicated with #1454 ? |
Seems to be yes. |
Configuration
impacket version: latest
Python version: 3.11.4
Target OS: Kali Linux latest
Debug Output With Command String
The timeout shouldn't be hard-coding
impacket/impacket/dcerpc/v5/dcomrt.py
Line 1294 in 6e2b0c7
If the
stringbinding
address is inaccessible, then it will be hanging a long time inwmiexec.py
.The text was updated successfully, but these errors were encountered: