Skip to content

Commit f61b4fe

Browse files
author
ekultek
committed
minor update to make it 'prettier'
1 parent 80f7f84 commit f61b4fe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/jsonize.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ def load_exploits(path, node="exploits"):
5050
retval = []
5151
file_list = os.listdir(path)
5252
if len(file_list) != 1:
53-
lib.output.info("total of {} exploit files discovered for use, select one".format(len(file_list)))
53+
lib.output.info("total of {} exploit files discovered for use, select one:".format(len(file_list)))
5454
for i, f in enumerate(file_list, start=1):
55-
print("{}. {}".format(i, f[:-5]))
55+
print("{}. '{}'".format(i, f[:-5]))
5656
action = raw_input(lib.settings.AUTOSPLOIT_PROMPT)
5757
selected_file = file_list[int(action) - 1]
5858
else:
@@ -88,4 +88,3 @@ def text_file_to_dict(path):
8888
_data = json.dumps(start_dict, indent=4, sort_keys=True)
8989
exploits.write(_data)
9090
return filename_path
91-

0 commit comments

Comments
 (0)