Skip to content

Commit c421b8e

Browse files
committed
Change if not to unless
1 parent 557cd56 commit c421b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/mssql/ms09_004_sp_replwritetovarbin_sqli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def check
259259
# since we need to have credentials for this vuln, we just login and run a query
260260
# to get the version information
261261
version = mssql_query_version
262-
if not version
262+
unless version
263263
return Exploit::CheckCode::Safe
264264
end
265265
print_status("@@version returned:\n\t" + version)

0 commit comments

Comments
 (0)