Merge pull request #433 from VakarisZ/not_dying_fix

Bugfix for monkey not reporting being dead
This commit is contained in:
VakarisZ 2019-09-11 13:54:10 +03:00 committed by GitHub
commit ae7c0000c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ class InfectionMonkey(object):
InfectionMonkey.close_tunnel()
firewall.close()
else:
StateTelem(False).send() # Signal the server (before closing the tunnel)
StateTelem(True).send() # Signal the server (before closing the tunnel)
InfectionMonkey.close_tunnel()
firewall.close()
if WormConfiguration.send_log_to_server: