diff --git a/chaos_monkey/config.py b/chaos_monkey/config.py index 47d8724ae..3ea1e37e7 100644 --- a/chaos_monkey/config.py +++ b/chaos_monkey/config.py @@ -103,6 +103,12 @@ class Configuration(object): dropper_target_path = r"C:\Windows\monkey.exe" dropper_target_path_linux = '/bin/monkey' + ########################### + # Kill file + ########################### + kill_file_path_windows = os.path.expandvars("%temp%\~df4150.tmp") + kill_file_path_linux = '/tmp/user-4150' + ########################### # monkey config ########################### diff --git a/chaos_monkey/example.conf b/chaos_monkey/example.conf index 5d933b6d3..ef4c2ca0c 100644 --- a/chaos_monkey/example.conf +++ b/chaos_monkey/example.conf @@ -35,6 +35,9 @@ "dropper_set_date": true, "dropper_target_path": "C:\\Windows\\monkey.exe", "dropper_target_path_linux": "/bin/monkey", + + "kill_path_linux": "/tmp/user-4150", + "kill_path_windows": "%temp%\\~df4150.tmp", "dropper_try_move_first": false, "exploiter_classes": [ "SSHExploiter", diff --git a/chaos_monkey/network/info.py b/chaos_monkey/network/info.py index 09c484605..c59971faa 100644 --- a/chaos_monkey/network/info.py +++ b/chaos_monkey/network/info.py @@ -3,7 +3,6 @@ import sys import socket import struct import array -import psutil from random import randint __author__ = 'hoffer'