We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Migrated from guardicore/monkey#675
WMI exploiter doesn't exploit machines behind NAT
WMI should exploit the machine behind NAT. This can be achieved in the following way:
impacket
\impacket\dcerpc\v5\dcomrt.py:1266
if stringBinding is None: # Something wen't wrong, let's just report it raise Exception('Can\'t find a valid stringBinding to connect')
to
if stringBinding is None: stringBinding = 'ncacn_ip_tcp:%s%s' % (self.get_target(), bindingPort)
as outlined here
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Migrated from guardicore/monkey#675
Describe the bug
WMI exploiter doesn't exploit machines behind NAT
To Reproduce
Expected behavior
WMI should exploit the machine behind NAT. This can be achieved in the following way:
impacket
repository\impacket\dcerpc\v5\dcomrt.py:1266
change the codeto
as outlined here
The text was updated successfully, but these errors were encountered: