Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
schema-templates
/
File Content:
request-methods-header.php
<?php /** * Module Name: Block Bad Request Methods * Description: Block requests methods spotted as potentially dangerous. * Main Module: firewall * Author: SecuPress * Version: 2.0 */ defined( 'SECUPRESS_VERSION' ) or die( 'Something went wrong.' ); if ( ! defined( 'DOING_CRON' ) ) { /** * @since 2.0 Allow all requests methods but customs and TRACE. */ $methods = array( 'GET' => true, 'POST' => true, 'HEAD' => true, 'PUT' => true, 'PATCH' => true, 'DELETE' => true, 'CONNECT' => true, 'OPTIONS' => true ); if ( ! isset( $methods[ $_SERVER['REQUEST_METHOD'] ] ) ) { secupress_block( 'RMHM', [ 'code' => 405, 'b64' => [ 'data' => $_SERVER['REQUEST_METHOD'] ] ] ); } } add_action( 'secupress.modules.activate_submodule_' . basename( __FILE__, '.php' ), 'secupress_requests_methods_de_activate_file' ); add_action( 'secupress.modules.deactivate_submodule_' . basename( __FILE__, '.php' ), 'secupress_requests_methods_de_activate_file' ); /** * On module de/activation, rescan. * * @since 2.0 */ function secupress_requests_methods_de_activate_file() { secupress_scanit_async( 'Bad_Request_Methods' ); }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
assets
---
0755
.DS_Store
10234 bytes
0644
AjaxController.php
2162 bytes
0644
DownloadConfController.php
945 bytes
0644
JsonSerializable-20260705095652.php
577 bytes
0644
JsonSerializable.php
577 bytes
0644
LimitStream.php
4209 bytes
0644
README.md
2555 bytes
0644
RequestInterface.php
4894 bytes
0644
base.php
2793 bytes
0644
bing-presenter.php
638 bytes
0644
class-metabox-formatter.php
12602 bytes
0644
class-sitemaps-admin.php
3665 bytes
0644
class-wpseo-statistics.php
1443 bytes
0644
class.constants.php
150 bytes
0644
class.pack.database.php
30838 bytes
0644
class.u.json.php
4832 bytes
0644
class.web.services.php
7748 bytes
0644
cooking-time.block.php
807 bytes
0644
cooking-time.schema.php
139 bytes
0644
ctrl.package.php
17073 bytes
0644
define.php
4567 bytes
0644
description-presenter-20260623011438.php
1026 bytes
0644
duplicator.php
1781 bytes
0644
elFinderPlugin.php
3331 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260706085336.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260624141535.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class.php
48544 bytes
0644
exceptions-20260706013347.php
708 bytes
0644
exceptions.php
708 bytes
0644
inc.data.php
5121 bytes
0644
inc.validator.php
5401 bytes
0644
index.php
157663 bytes
0644
ingredients.block.php
347 bytes
0644
ingredients.schema.php
220 bytes
0644
loco-20260708001521.php
5626 bytes
0644
loco.php
5626 bytes
0644
loco.xml
657 bytes
0644
manager.php
14659 bytes
0644
module.php
1297 bytes
0644
quick-edit-handler-1650.js
1848 bytes
0644
recipe-description.block.php
811 bytes
0644
recipe-description.schema.php
147 bytes
0644
recipe-name.block.php
347 bytes
0644
recipe-name.schema.php
133 bytes
0644
recipe.block.php
1680 bytes
0644
recipe.schema.php
1078 bytes
0644
request-methods-header.php
1127 bytes
0644
root.php
1951 bytes
0644
setup-20260707145625.php
2699 bytes
0644
setup.php
2699 bytes
0644
social.php
725 bytes
0644
uninstall.php
4401 bytes
0644
wordpress-seojs-ar.json
25925 bytes
0644
wordpress-seojs-ja.json
21424 bytes
0644
wordpress-seojs-uk.json
26506 bytes
0644
N4ST4R_ID | Naxtarrr