File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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-
You can’t perform that action at this time.
0 commit comments