agent: Use variable 'is_32bit' for function argument
This commit is contained in:
parent
ba8c44d22c
commit
dc4a5fbb85
|
@ -59,8 +59,9 @@ class PowershellExploiter(HostExploiter):
|
|||
return False
|
||||
|
||||
arch = self.get_host_arch()
|
||||
is_32bit = arch == WIN_ARCH_32
|
||||
|
||||
monkey_fs_path = get_target_monkey_by_os(is_windows=True, is_32bit=(arch == WIN_ARCH_32))
|
||||
monkey_fs_path = get_target_monkey_by_os(is_windows=True, is_32bit=is_32bit)
|
||||
|
||||
# write virtual file to actual local file
|
||||
with monkeyfs.open(monkey_fs_path) as monkey_virtual_file:
|
||||
|
|
Loading…
Reference in New Issue