Exploit databaseDownload repository ZIP
GH-4188bf5c002a5c31cc222cb0978cb69c
joshuaprovoste/0-click-rce-exploit-for-cve-2024-10924
Sources for CVE-2024-10924
16 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files2
joshuaprovoste/0-click-rce-exploit-for-cve-2024-10924Revision 1a89bfdce5e3
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
plugin/9.1.1.1/security/server/disable-indexing.php
PHP · 554 bytes<?php
defined( 'ABSPATH' ) or die();
if ( rsssl_is_in_deactivation_list('disable-indexing') ){
rsssl_remove_from_deactivation_list('disable-indexing');
}
/**
* Disable indexing
* @param array $rules
* @return []
*/
function rsssl_disable_indexing_rules( $rules ) {
$rules[] = ['rules' => "\n" . 'Options -Indexes', 'identifier' => 'Options -Indexes'];
return $rules;
}
add_filter('rsssl_htaccess_security_rules', 'rsssl_disable_indexing_rules');
/**
* Dropped suggestions for indexing in NGINX as indexing in NGINX is by default disabled.
*/