Skip to content

Commit 1e6bbc5

Browse files
committed
Use blank?
1 parent 24f1b91 commit 1e6bbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/webapp/actualanalyzer_ant_cookie_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def get_analytics_host_admin
210210
end
211211

212212
def exploit
213-
if datastore['ANALYZER_HOST'].nil? || datastore['ANALYZER_HOST'] == ''
213+
if datastore['ANALYZER_HOST'].blank?
214214
analytics_host = get_analytics_host_code
215215
analytics_host = get_analytics_host_view if analytics_host.nil?
216216
analytics_host = get_analytics_host_admin if analytics_host.nil?

0 commit comments

Comments
 (0)