Skip to content

Commit 2bb2bbc

Browse files
authored
Update wp_depicter_sqli_cve_2025_2011.rb
1 parent ac62c42 commit 2bb2bbc

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

modules/auxiliary/gather/wp_depicter_sqli_cve_2025_2011.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,8 @@ def get_sqli_object
7373
)
7474

7575
next GET_SQLI_OBJECT_FAILED_ERROR_MSG unless res&.code == 200
76-
77-
doc = begin
78-
res.get_json_document
79-
rescue StandardError
80-
nil
81-
end
76+
77+
doc = res.get_json_document
8278
value = if doc.respond_to?(:dig)
8379
doc.dig('hits', 0, 'content', 'id')
8480
else

0 commit comments

Comments
 (0)