Skip to content

Commit 9aef758

Browse files
committed
fix: abort run when get_sqli_object returns error constant
1 parent 869ed8d commit 9aef758

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/auxiliary/gather/wp_depicter_sqli_cve_2025_2011.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ def check
9595

9696
def run
9797
@sqli ||= get_sqli_object
98+
if @sqli == GET_SQLI_OBJECT_FAILED_ERROR_MSG
99+
fail_with(Failure::UnexpectedReply, @sqli)
100+
end
98101
wordpress_sqli_initialize(@sqli)
99102
wordpress_sqli_get_users_credentials(datastore['COUNT'])
100103
end

0 commit comments

Comments
 (0)