Skip to content

Commit ba57bc5

Browse files
committed
Don't report service
1 parent 059b0e9 commit ba57bc5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

modules/auxiliary/admin/mssql/mssql_enum_domain_accounts_sqli.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ def run
8181
# Print number of objects found and write to a file
8282
print_good("#{peer} - #{domain_users.length} user accounts, groups, and computer accounts were found.")
8383

84-
domain_users.sort.each do |windows_login|
85-
vprint_status(" - #{windows_login}")
86-
end
87-
8884
# Create table for report
8985
windows_domain_login_table = Rex::Ui::Text::Table.new(
9086
'Header' => 'Windows Domain Accounts',
@@ -105,8 +101,7 @@ def run
105101
datastore['RHOST'],
106102
windows_domain_login_table.to_csv,
107103
filename,
108-
'SQL Server query results',
109-
this_service
104+
'SQL Server query results'
110105
)
111106
print_status("Query results have been saved to: #{path}")
112107
end

0 commit comments

Comments
 (0)