Skip to content

Commit 7370d7d

Browse files
committed
Final touchup
1 parent 7b10e68 commit 7370d7d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

modules/auxiliary/scanner/http/titan_ftp_admin_pwd.rb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
##
2+
# This file is part of the Metasploit Framework and may be subject to
3+
# redistribution and commercial restrictions. Please see the Metasploit
4+
# Framework web site for more information on licensing and terms of use.
5+
# http://metasploit.com/framework/
6+
##
7+
18
require 'msf/core'
29
require 'rexml/document'
310

@@ -80,9 +87,10 @@ def run_host(ip)
8087

8188
if (info[:username] and info[:password])
8289
if (info[:domain] and info[:basedir])
83-
print_good("#{ip}:#{datastore['RPORT']} - Domain: #{info[:domain]} Base Directory: #{info[:basedir]}")
90+
print_good("#{ip}:#{datastore['RPORT']} - Domain: #{info[:domain]}")
91+
print_good("#{ip}:#{datastore['RPORT']} - Base Directory: #{info[:basedir]}")
8492
end
85-
print_good("#{ip}:#{datastore['RPORT']} - Admin Credentials: #{info[:username]} #{info[:password]}")
93+
print_good("#{ip}:#{datastore['RPORT']} - Admin Credentials: '#{info[:username]}:#{info[:password]}'")
8694
report_auth_info(
8795
:host => ip,
8896
:port => datastore['RPORT'],

0 commit comments

Comments
 (0)