Skip to content

Commit f01b01a

Browse files
authored
Update modules/auxiliary/scanner/http/wp_ti_woocommerce_wishlist_sqli.rb
1 parent 4807b6f commit f01b01a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/auxiliary/scanner/http/wp_ti_woocommerce_wishlist_sqli.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ def get_share_key
7171

7272
if wishlist_data && !wishlist_data.empty?
7373
share_key = json_body['wishlist']['share_key']
74-
return print_good("Share key found: #{share_key}") && share_key if share_key
74+
if share_key
75+
print_good("Share key found: #{share_key}")
76+
return share_key
77+
end
7578
end
7679
end
7780

0 commit comments

Comments
 (0)