We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb309aa commit 77c8dc2Copy full SHA for 77c8dc2
modules/auxiliary/admin/mssql/mssql_enum_sql_logins.rb
@@ -58,9 +58,9 @@ def run
58
59
# Get a list if sql server logins using SUSER_NAME()
60
print_status("Setup to fuzz #{datastore['FuzzNum']} SQL Server logins.")
61
- print_status("Enumerating logins...")
+ print_status('Enumerating logins...')
62
sql_logins_list = get_sql_logins
63
- if sql_logins_list.nil? || sql_logins_list.length == 0
+ if sql_logins_list.nil? || sql_logins_list.empty?
64
print_error('Sorry, somethings went wrong - SQL Server logins were found.')
65
disconnect
66
return
@@ -92,7 +92,6 @@ def run
92
end
93
94
95
- return
96
97
98
# Checks if user is a sysadmin
0 commit comments