forked from p15670423/monkey
Agent: Convert destination path to string in SMB exploiter
This commit is contained in:
parent
06f33e0fa1
commit
18e3dd7c91
|
@ -32,7 +32,7 @@ class SMBExploiter(HostExploiter):
|
||||||
|
|
||||||
def _exploit_host(self):
|
def _exploit_host(self):
|
||||||
agent_binary = self.agent_repository.get_agent_binary(self.host.os["type"])
|
agent_binary = self.agent_repository.get_agent_binary(self.host.os["type"])
|
||||||
dest_path = get_agent_dest_path(self.host, self.options)
|
dest_path = str(get_agent_dest_path(self.host, self.options))
|
||||||
creds = generate_brute_force_combinations(self.options["credentials"])
|
creds = generate_brute_force_combinations(self.options["credentials"])
|
||||||
|
|
||||||
for user, password, lm_hash, ntlm_hash in interruptible_iter(creds, self.interrupt):
|
for user, password, lm_hash, ntlm_hash in interruptible_iter(creds, self.interrupt):
|
||||||
|
|
Loading…
Reference in New Issue