forked from p15670423/monkey
Agent: Always send log to server
This commit is contained in:
parent
6ee1949d46
commit
c43cfe490c
|
@ -82,7 +82,6 @@ class Configuration(object):
|
|||
dropper_log_path_linux = "/tmp/user-1562"
|
||||
monkey_log_path_windows = "%temp%\\~df1563.tmp"
|
||||
monkey_log_path_linux = "/tmp/user-1563"
|
||||
send_log_to_server = True
|
||||
|
||||
###########################
|
||||
# dropper config
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
"max_iterations": 3,
|
||||
"monkey_log_path_windows": "%temp%\\~df1563.tmp",
|
||||
"monkey_log_path_linux": "/tmp/user-1563",
|
||||
"send_log_to_server": true,
|
||||
"ms08_067_exploit_attempts": 5,
|
||||
"user_to_add": "Monkey_IUSER_SUPPORT",
|
||||
"ping_scan_timeout": 10000,
|
||||
|
|
|
@ -323,8 +323,7 @@ class InfectionMonkey(object):
|
|||
).send() # Signal the server (before closing the tunnel)
|
||||
InfectionMonkey.close_tunnel()
|
||||
firewall.close()
|
||||
if WormConfiguration.send_log_to_server:
|
||||
self.send_log()
|
||||
self.send_log()
|
||||
self._singleton.unlock()
|
||||
|
||||
InfectionMonkey.self_delete()
|
||||
|
|
Loading…
Reference in New Issue