We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80f7f84 commit f61b4feCopy full SHA for f61b4fe
1 file changed
lib/jsonize.py
@@ -50,9 +50,9 @@ def load_exploits(path, node="exploits"):
50
retval = []
51
file_list = os.listdir(path)
52
if len(file_list) != 1:
53
- lib.output.info("total of {} exploit files discovered for use, select one".format(len(file_list)))
+ lib.output.info("total of {} exploit files discovered for use, select one:".format(len(file_list)))
54
for i, f in enumerate(file_list, start=1):
55
- print("{}. {}".format(i, f[:-5]))
+ print("{}. '{}'".format(i, f[:-5]))
56
action = raw_input(lib.settings.AUTOSPLOIT_PROMPT)
57
selected_file = file_list[int(action) - 1]
58
else:
@@ -88,4 +88,3 @@ def text_file_to_dict(path):
88
_data = json.dumps(start_dict, indent=4, sort_keys=True)
89
exploits.write(_data)
90
return filename_path
91
-
0 commit comments