Skip to content

Commit f2f8c08

Browse files
committed
Use blank? method
1 parent a380d9b commit f2f8c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/gather/vbulletin_vote_sqli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def run
155155

156156
print_good("#{peer} - Using node id #{node_id} to exploit sqli... Counting users...")
157157
data = do_sqli(node_id, "select count(*) from user")
158-
if data.nil? or data.empty?
158+
if data.blank?
159159
print_error("#{peer} - Error exploiting sqli")
160160
return
161161
end

0 commit comments

Comments
 (0)