diff options
-rw-r--r-- | inc/heartbleed.py | 8 | ||||
-rw-r--r-- | results.txt | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/inc/heartbleed.py b/inc/heartbleed.py index 8d194d5..64431ad 100644 --- a/inc/heartbleed.py +++ b/inc/heartbleed.py @@ -195,10 +195,10 @@ def store_results(host_name, current_status): changelog_entry = [current_time, current_status] host['changelog'].append(changelog_entry) host['status'] = current_status - with open(opts.log_file, 'a') as f: - message = "{current_time} {host} {current_status}".format(**locals()) - f.write(message + "\n") - return message + #with open(opts.log_file, 'a') as f: + #message = "{current_time} {host} {current_status}".format(**locals()) + #f.write(message + "\n") + return message def scan_host(host): diff --git a/results.txt b/results.txt deleted file mode 100644 index b0a33bd..0000000 --- a/results.txt +++ /dev/null @@ -1 +0,0 @@ -1431780967.52 {'status': True, 'last_scan': 1431780967.5189061, 'first_scan': 1431780967.5189061} True |