We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc239da commit ec66078Copy full SHA for ec66078
1 file changed
nxc/protocols/smb.py
@@ -1522,6 +1522,7 @@ def rid_brute(self, max_rid=None):
1522
self.logger.debug(f"StringBinding {string_binding}")
1523
rpc_transport = transport.DCERPCTransportFactory(string_binding)
1524
rpc_transport.setRemoteHost(self.host)
1525
+ rpc_transport.setRemoteName(self.hostname or self.host)
1526
1527
if hasattr(rpc_transport, "set_credentials"):
1528
# This method exists only for selected protocol sequences.
0 commit comments