diff --git a/exploit.rb b/exploit.rb index bb8c0f0..92d4f1f 100644 --- a/exploit.rb +++ b/exploit.rb @@ -130,11 +130,12 @@ def display_config(root_url, http) args = Docopt.docopt(doc) Paint.mode = 0 if args['--no-color'] puts args if args['--debug'] - + + url = args[''].sub(/\/\z/, '') http = HTTPX - display_users(args[''], http) + display_users(url, http) puts - display_config(args[''], http) + display_config(url, http) rescue Docopt::Exit => e puts e.message -end \ No newline at end of file +end