Skip to content

Commit ee28a3a

Browse files
dmaloney-r7dmaloney-r7
authored andcommitted
Update http_login.rb
add parens around conditional to make bikeshed prettier
1 parent 4503a7a commit ee28a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/http_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def do_login(user='admin', pass='admin')
149149
print_status("#{target_url} - Random passwords are not allowed.")
150150
end
151151

152-
unless user == "anyuser" and pass == "anypass"
152+
unless (user == "anyuser" and pass == "anypass")
153153
report_auth_info(
154154
:host => rhost,
155155
:port => rport,

0 commit comments

Comments
 (0)