Hard-coded timeout for DCOMConnection.PINGTIMER
#1599
Labels
in review
This issue or pull request is being analyzed
DCOMConnection.PINGTIMER
#1599
Configuration
impacket version: 0.10.0
Python version: 3.11.2
Target OS: Windows Server 2016
Debug Output With Command String
Log statements from Infection Monkey
Additional context
When using
DCOMConnection
we have a hard-coded value ofPINGTIMER
to 120 seconds which if the machine rejects the connection it will be waiting for 120 seconds for nothing.The exact function where we have that value:
impacket/impacket/dcerpc/v5/dcomrt.py
Line 1048 in e209233
The issue here is that we would like to make it possible to lower that number and not be hardcoded or at least get explanation on why is it 120 seconds. It is related somewhat to #1039.
I would be happy to make that change and submit a PR on this.
The text was updated successfully, but these errors were encountered: