Skip to content

Commit

Permalink
Land rapid7#18874 Fix undefined mssql_query method call on mssql client
Browse files Browse the repository at this point in the history
  • Loading branch information
zgoldman-r7 committed Feb 22, 2024
2 parents a183289 + a07d1c8 commit d658273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rex/post/mssql/ui/console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def initialize(session, opts={})

# @return [String]
def database_name
session.client.mssql_query('SELECT DB_NAME();')[:rows][0][0]
session.client.query('SELECT DB_NAME();')[:rows][0][0]
end

# @param [Object] val
Expand Down

0 comments on commit d658273

Please sign in to comment.