We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0166a42 commit 9be17e9Copy full SHA for 9be17e9
1 file changed
nxc/modules/add-computer.py
@@ -104,7 +104,7 @@ def do_samr_add(self, context):
104
string_binding = epm.hept_map(self.__host, samr.MSRPC_UUID_SAMR, protocol="ncacn_np")
105
106
rpc_transport = transport.DCERPCTransportFactory(string_binding.replace(self.__host, self.__kdcHost))
107
- rpc_transport.sethost(self.__host)
+ rpc_transport.setRemoteHost(self.__host)
108
109
if hasattr(rpc_transport, "set_credentials"):
110
# This method exists only for selected protocol sequences.
0 commit comments