Skip to content

Commit 84e9f80

Browse files
author
jvazquez-r7
committed
Add check for WP-Super-Cache
1 parent 15c8d92 commit 84e9f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/unix/webapp/php_wordpress_total_cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def check
238238
end
239239
end
240240

241-
if res.body and res.body =~ /Performance optimized by W3 Total Cache/
241+
if res.body and (res.body =~ /Performance optimized by W3 Total Cache/ or res.body =~ /Cached page generated by WP-Super-Cache/)
242242
return Exploit::CheckCode::Detected
243243
end
244244

0 commit comments

Comments
 (0)