403Webshell
Server IP : 151.101.66.159  /  Your IP : 216.73.216.66
Web Server : Flywheel/5.1.0
System : Linux wordpress 6.12.113+ #1 SMP Thu Oct 22 02:38:20 UTC 2026 x86_64
User : root ( )
PHP Version : 7.4.33.18
Disable Function : disk_free_space,diskfreespace,dl,exec,fpassthru,getmypid,getmyuid,highlight_file,link,opcache_compile_file,opcache_get_configuration,opcache_is_script_cached,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifcontinued,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,phpinfo,popen,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,socket_listen,source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wp-content/plugins/header-footer/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wp-content/plugins/header-footer/admin/controls.php
<?php

defined('ABSPATH') || exit;

function hefo_request($name, $default = null) {
    if (!isset($_REQUEST[$name])) {
        return $default;
    }
    return stripslashes_deep($_REQUEST[$name]);
}

function hefo_base_checkbox($name, $label = '') {
    global $options;
    echo '<label>';
    echo '<input type="checkbox" name="options[' . esc_attr($name) . ']" value="1" ' .
    (isset($options[$name]) ? 'checked' : '') . '>';
    echo esc_html($label);
    echo '</label>';
}

function hefo_field_checkbox_only($name, $tips = '', $attrs = '', $link = null) {
    global $options;
    echo '<td><input type="checkbox" name="options[' . esc_attr($name) . ']" value="1" ' .
    (isset($options[$name]) ? 'checked' : '') . '/>';
    echo ' ' . wp_kses_post($tips);
    if ($link) {
        echo '<br><a href="' . esc_attr($link) . '" target="_blank">Read more</a>.';
    }
    echo '</td>';
}

function hefo_field_checkbox_only2($name, $tips = '', $attrs = '', $link = null) {
    global $options;
    echo '<td><input type="checkbox" name="options[' . esc_attr($name) . ']" value="1" ' .
    (!empty($options[$name]) ? 'checked' : '') . '/>';
    echo ' ' . wp_kses_post($tips);
    if ($link) {
        echo '<br><a href="' . esc_attr($link) . '" target="_blank">Read more</a>.';
    }
    echo '</td>';
}

function hefo_field_text($name, $label = '', $tips = '') {
    global $options;

    if (!isset($options[$name])) {
        $options[$name] = '';
    }

    echo '<th scope="row">';
    echo '<label>' . esc_html($label) . '</label></th>';
    echo '<td><input type="text" name="options[' . esc_attr($name) . ']" value="' .
    esc_attr($options[$name]) . '" size="50"/>';
    echo '<br /> ' . wp_kses_post($tips);
    echo '</td>';
}

function hefo_base_text($name) {
    global $options;

    if (!isset($options[$name])) {
        $options[$name] = '';
    }

    echo '<input type="text" name="options[' . esc_attr($name) . ']" value="' .
    esc_attr($options[$name]) . '" size="30">';
}

function hefo_field_textarea($name, $label = '', $tips = '') {
    global $options;

    if (!isset($options[$name])) {
        $options[$name] = '';
    }

    if (is_array($options[$name])) {
        $options[$name] = implode("\n", $options[$name]);
    }

    echo '<th scope="row">';
    echo '<label>' . esc_html($label) . '</label></th>';
    echo '<td><textarea style="width: 100%; height: 100px" wrap="off" name="options[' . esc_attr($name) . ']">' .
    esc_html($options[$name]) . '</textarea>';
    echo '<p class="description">' . esc_html($tips) . '</p>';
    echo '</td>';
}

function hefo_base_textarea_cm($name, $type = '', $tips = '') {
    global $options;

    if (!empty($type)) {
        $type = '-' . $type;
    }

    if (!isset($options[$name])) {
        $options[$name] = '';
    }

    if (is_array($options[$name])) {
        $options[$name] = implode("\n", $options[$name]);
    }

    echo '<textarea class="hefo-cm' . esc_attr($type) . '" name="options[' . esc_attr($name) . ']" onfocus="hefo_cm_on(this)">';
    echo esc_html($options[$name]);
    echo '</textarea>';
    echo '<p class="description">', wp_kses_post($tips), '</p>';
}

function hefo_field_select($name, $items) {
    global $options;
    echo '<select name="options[', esc_attr($name), ']">';
    foreach ($items as $k => $v) {
        echo '<option value="', esc_attr($k), '"';
        if (isset($options[$name]) && $options[$name] === $k) {
            echo ' selected';
        }
        echo '>', esc_attr($v), '</option>';
    }
    echo '</select>';
}

function hefo_rule($number) {
    global $options;

    if (!isset($options['inner_pos_' . $number])) {
        $options['inner_pos_' . $number] = 'after';
    }

    if (!isset($options['inner_skip_' . $number])) {
        $options['inner_skip_' . $number] = 0;
    }

    if (!isset($options['inner_tag_' . $number])) {
        $options['inner_tag_' . $number] = '';
    }

    echo '<div class="rules">';
    echo '<div style="float: left">Inject</div>';
    echo '<select style="float: left" name="options[inner_pos_' . esc_attr($number) . ']">';
    echo '<option value="after"';
    echo ($options['inner_pos_' . $number] ?? '') == 'after' ? ' selected' : '';
    echo '>after</option>';
    echo '<option value="before"';
    echo ($options['inner_pos_' . $number] ?? '') == 'before' ? ' selected' : '';
    echo '>before</option>';
    echo '</select>';
    echo '<input style="float: left" type="text" placeholder="marker" name="options[inner_tag_' . esc_attr($number) . ']" value="';
    echo esc_attr($options['inner_tag_' . $number] ?? '');
    echo '">';
    echo '<div style="float: left">skipping</div>';
    echo '<input style="float: left" type="text" size="5" name="options[inner_skip_' . esc_attr($number) . ']" value="';
    echo esc_attr($options['inner_skip_' . $number] ?? '');
    echo '">';
    echo '<div style="float: left">chars, on failure inject</div>';
    echo '<select style="float: left" name="options[inner_alt_' . esc_attr($number) . ']">';
    echo '<option value=""';
    echo ($options['inner_alt_' . $number] ?? '') == 'after' ? ' selected' : '';
    echo '>nowhere</option>';
    echo '<option value="after"';
    echo ($options['inner_alt_' . $number] ?? '') == 'after' ? ' selected' : '';
    echo '>after the content</option>';
    echo '<option value="before"';
    echo ($options['inner_alt_' . $number] ?? '') == 'before' ? ' selected' : '';
    echo '>before the content</option>';
    echo '</select>';
    echo '<div class="clearfix"></div></div>';
}

Youez - 2016 - github.com/yon3zu
LinuXploit