Skip to content

Commit df9b642

Browse files
committed
More print_status -> print_good
1 parent b8d80d8 commit df9b642

File tree

20 files changed

+23
-23
lines changed

20 files changed

+23
-23
lines changed

modules/auxiliary/admin/http/sysaid_sql_creds.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def run
117117
fail_with(Failure::Unknown, 'Could not resolve database server hostname.')
118118
end
119119

120-
print_status("Stored SQL credentials #{username}:#{password} for #{matches.captures[2]}")
120+
print_good("Stored SQL credentials #{username}:#{password} for #{matches.captures[2]}")
121121
return
122122
end
123123
else

modules/auxiliary/admin/mssql/mssql_findandsampledata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def sql_statement()
448448
if (save_loot=="yes")
449449
filename= "#{datastore['RHOST']}-#{datastore['RPORT']}_sqlserver_query_results.csv"
450450
path = store_loot("mssql.data", "text/plain", datastore['RHOST'], sql_data_tbl.to_csv, filename, "SQL Server query results",this_service)
451-
print_status("Query results have been saved to: #{path}")
451+
print_good("Query results have been saved to: #{path}")
452452
end
453453

454454
end

modules/auxiliary/admin/oracle/oracle_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def run
8787
user: "#{datastore['SID']}/#{datastore['DBUSER']}",
8888
password: datastore['DBPASS']
8989
)
90-
print_status("Found user/pass of: #{datastore['DBUSER']}/#{datastore['DBPASS']} on #{datastore['RHOST']} with sid #{datastore['SID']}")
90+
print_good("Found user/pass of: #{datastore['DBUSER']}/#{datastore['DBPASS']} on #{datastore['RHOST']} with sid #{datastore['SID']}")
9191
end
9292
end
9393
end

modules/auxiliary/gather/browser_info.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def translate_script_meaning(value)
6060
end
6161

6262
def print_target_info(cli, target_info)
63-
print_status("#{cli.peerhost} - We have found the following interesting information:")
63+
print_good("#{cli.peerhost} - We have found the following interesting information:")
6464
report_host_info(target_info)
6565
ignore_items!(target_info)
6666
target_info.each_pair do |key, value|

modules/auxiliary/scanner/db2/db2_version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def run_host(ip)
3535
if info[:excsatrd]
3636
inst,plat,ver,pta = info[:instance_name],info[:platform],info[:version],info[:plaintext_auth]
3737
report_info = "Platform: #{plat}, Version: #{ver}, Instance: #{inst}, Plain-Authentication: #{pta ? "OK" : "NO"}"
38-
print_status("#{ip}:#{rport} DB2 - #{report_info}")
38+
print_good("#{ip}:#{rport} DB2 - #{report_info}")
3939
report_service(
4040
:host => rhost,
4141
:port => rport,

modules/auxiliary/scanner/db2/discovery.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def run_host(ip)
5454
:info => "#{res[2]}_#{res[1]}"
5555
)
5656

57-
print_status("Host #{ip} node name is " + res[2] + " with a product id of " + res[1] )
57+
print_good("Host #{ip} node name is " + res[2] + " with a product id of " + res[1] )
5858

5959
rescue ::Rex::ConnectionError
6060
rescue ::Errno::EPIPE

modules/auxiliary/scanner/discovery/udp_probe.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def run_host(ip)
125125
end
126126

127127
report_service(conf)
128-
print_status("Discovered #{data[:app]} on #{k} (#{data[:info]})")
128+
print_good("Discovered #{data[:app]} on #{k} (#{data[:info]})")
129129
end
130130
end
131131

@@ -355,7 +355,7 @@ def parse_reply(pkt)
355355
:info => inf
356356
)
357357

358-
print_status("Discovered #{app} on #{pkt[1]}:#{pkt[2]} (#{inf})")
358+
print_good("Discovered #{app} on #{pkt[1]}:#{pkt[2]} (#{inf})")
359359

360360
end
361361

modules/auxiliary/scanner/discovery/udp_sweep.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def scanner_postscan(batch)
8989
end
9090

9191
report_service(conf)
92-
print_status("Discovered #{data[:app]} on #{k} (#{data[:info]})")
92+
print_good("Discovered #{data[:app]} on #{k} (#{data[:info]})")
9393
end
9494
end
9595

modules/auxiliary/scanner/mysql/mysql_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def mysql_version_check(target="5.0.67") # Oldest the library claims.
127127
version = data[offset..-1].unpack('Z*')[0]
128128
report_service(:host => rhost, :port => rport, :name => "mysql", :info => version)
129129
short_version = version.split('-')[0]
130-
vprint_status "#{rhost}:#{rport} - Found remote MySQL version #{short_version}"
130+
vprint_good "#{rhost}:#{rport} - Found remote MySQL version #{short_version}"
131131
int_version(short_version) >= int_version(target)
132132
end
133133

modules/auxiliary/scanner/oracle/oracle_hashdump.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def report_hashes(table, is_11g, ip, service)
128128

129129
create_credential_login(login_data.merge(service_data))
130130
end
131-
print_status("Hash Table has been saved")
131+
print_good("Hash Table has been saved")
132132
end
133133

134134

0 commit comments

Comments
 (0)