Skip to content

Commit 059b0e9

Browse files
committed
Don't report service
* The mssql could be in a third host, not rhost
1 parent b467bda commit 059b0e9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/auxiliary/admin/mssql/mssql_enum_domain_accounts_sqli.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ def run
9898
end
9999

100100
# Create output file
101-
this_service = report_service(
102-
:host => rhost,
103-
:port => rport,
104-
:name => 'mssql',
105-
:proto => 'tcp'
106-
)
107101
filename= "#{datastore['RHOST']}-#{datastore['RPORT']}_windows_domain_accounts.csv"
108102
path = store_loot(
109103
'mssql.domain.accounts',

0 commit comments

Comments
 (0)