Agent: Convert destination path to string in SMB exploiter

This commit is contained in:
vakaris_zilius 2022-03-23 15:14:23 +00:00
parent 06f33e0fa1
commit 18e3dd7c91
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class SMBExploiter(HostExploiter):
def _exploit_host(self):
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"])
for user, password, lm_hash, ntlm_hash in interruptible_iter(creds, self.interrupt):