403Webshell
Server IP : 89.108.64.180  /  Your IP : 216.73.217.95
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-root ( 1010)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/imperial28.ru/wp-content/plugins/clone-guard/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/imperial28.ru/wp-content/plugins/clone-guard/views/admin_scan_edit.php
<div class="cgss-scans-edit-page">

    <div class="cgss-head">

        <div class="cgss-head-inside">
            <img class="cgss-head-logo" src="<?php echo esc_url( plugins_url( '../img/clone-guard-icon.png', __FILE__ ) ); ?>" alt="Logo" />
            <span class="cgss-head-text">
                <h1 class="cgss-head-title">CloneGuard Security Scanning</h1>
                <span class="cgss-head-subtitle">By <a href="https://www.clone-systems.com/" target="_blank">Clone Systems, Inc.</a></span>
            </span>
        </div>

    </div>

    <div class="cgss_main">

        <h1>Edit Scan</h1>

        <div id="ajax_message"></div>

        <div id="poststuff">
            <form id="post-body" class="metabox-holder columns-2 ajax_form" action="admin-ajax.php" method="POST" style="margin:0;">
                <?php wp_nonce_field($action); ?>
                <input name="action" type="hidden" value="<?php echo esc_attr($action); ?>" />
                <input name="key" type="hidden" value="<?php echo esc_attr($key); ?>" />

                <div id="post-body-content">
                    <div class="stuffbox">
                        <div class="inside">
                            <fieldset>
                                <table class="form-table editcomment" role="presentation">
                                    <tbody>
                                        <tr>
                                            <td class="first"><label for="name"><?php esc_html_e('Name*', 'cgss'); ?></label></td>
                                            <td><input type="text" name="name" size="30" value="<?php echo esc_attr($scan['name']); ?>"></td>
                                        </tr>

                                        <tr>
                                            <td class="first"><label><?php _e('Schedule', 'cgss'); ?></label></td>
                                            <td>
                                                <select name="schedule">
                                                    <option value=""><?php echo esc_html_e('Please select...', 'cgss'); ?></option>
                                                    <?php foreach($schedules['schedules'] as $schedule): ?>
                                                        <?php if($scan['schedule']['id'] == $schedule['id']): ?>
                                                            <option value="<?php echo esc_attr($schedule['id']); ?>" selected><?php echo esc_html($schedule['name']); ?></option>
                                                        <?php else: ?>
                                                            <option value="<?php echo esc_attr($schedule['id']); ?>"><?php echo esc_html($schedule['name']); ?></option>
                                                        <?php endif; ?>
                                                    <?php endforeach; ?>
                                                </select>

                                                <a 
                                                    class="button return" 
                                                    href="<?php echo $this->adminLink('scans', 'schedule-create', $scan['id']); ?>" 
                                                    data-action="<?php echo esc_attr($this->key_ . 'scan_temp_save'); ?>"
                                                    data-nonce="<?php echo esc_attr($nonce_scan_temp_save); ?>">
                                                    <?php _e('New Schedule', 'cgss'); ?>
                                                </a>
                                                <span class="spinner inline"></span>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td class="first"><label><?php _e('Target*', 'cgss'); ?></label></td>
                                            <td>
                                                <select name="target">
                                                    <option value=""><?php echo esc_html_e('Please select...', 'cgss'); ?></option>
                                                    <?php foreach($targets['targets'] as $target): ?>
                                                        <?php if($scan['target']['id'] == $target['id']): ?>
                                                            <option value="<?php echo esc_attr($target['id']); ?>" selected><?php echo esc_html($target['name']); ?></option>
                                                        <?php else: ?>
                                                            <option value="<?php echo esc_attr($target['id']); ?>"><?php echo esc_html($target['name']); ?></option>
                                                        <?php endif; ?>
                                                    <?php endforeach; ?>
                                                </select>
                                                <a class="button return" href="<?php echo $this->adminLink('scans', 'target-create', $scan['id']); ?>" data-url="<?php echo esc_url(admin_url('admin-ajax.php')); ?>" data-action="<?php echo esc_attr($this->key_ . 'scan_temp_save'); ?>" data-nonce="<?php echo esc_attr($nonce_scan_temp_save); ?>"><?php _e('New Target', 'cgss'); ?></a>
                                                <span class="spinner inline"></span>
                                            </td>
                                        </tr>

                                        <tr>
                                            <td class="first"><label><?php _e('Notifications', 'cgss'); ?></label></td>
                                            <td>
                                                <select class="select2-multiple" name="notifications" multiple="multiple">
                                                    <option value=""><?php echo esc_html_e('Select notification...', 'cgss'); ?></option>
                                                    <?php foreach($notifications['notifications'] as $notification): ?>
                                                        <?php if(in_array($notification['id'], $scan['notification_list'])): ?>
                                                            <option value="<?php echo esc_attr($notification['id']); ?>>" selected><?php echo esc_html($notification['name']); ?></option>
                                                        <?php else: ?>
                                                            <option value="<?php echo esc_attr($notification['id']); ?>"><?php echo esc_html($notification['name']); ?></option>
                                                        <?php endif; ?>
                                                    <?php endforeach; ?>
                                                </select>
                                                <a class="button return"
                                                   style="margin-left:8px;"
                                                   href="<?php echo $this->adminLink('scans', 'notification-create', $scan['id']); ?>" 
                                                   data-action="<?php echo esc_attr($this->key_ . 'scan_temp_save'); ?>" 
                                                   data-nonce="<?php echo esc_attr($nonce_scan_temp_save); ?>"
                                                   >
                                                    <?php _e('New Notification', 'cgss'); ?>
                                                </a>
                                                <span class="spinner inline"></span>
                                            </td>
                                        </tr>

                                        <?php if ($this->userDetails['appType'] == 'vrms' || $this->userDetails['appType'] == 'penetration'): ?>
                                            <tr>
                                                <td class="first"><label><?php _e('Scanner*', 'cgss'); ?></label></td>
                                                <td>
                                                    <select name="scanner">
                                                        <option value=""><?php echo esc_html_e('Please select...', 'cgss'); ?></option>
                                                        <?php foreach($scanners['scanners'] as $scanner): ?>
                                                            <?php if($scan['scanner']['id'] == $scanner['id']): ?>
                                                                <option value="<?php echo esc_attr($scanner['id']); ?>" selected><?php echo esc_html($scanner['name']); ?></option>
                                                            <?php else: ?>
                                                                <option value="<?php echo esc_attr($scanner['id']); ?>" ><?php echo esc_html($scanner['name']); ?></option>
                                                            <?php endif; ?>
                                                        <?php endforeach; ?>
                                                    </select>
                                                </td>
                                            </tr>
                                        <?php endif; ?>

                                        <?php if ($this->userDetails['appType'] == 'vrms' || $this->userDetails['appType'] == 'penetration'): ?>
                                            <tr>
                                                <td class="first"><label><?php _e('Scanner Config*', 'cgss'); ?></label></td>
                                                <td>
                                                    <select name="scan_config">
                                                        <option value=""><?php echo esc_html_e('Please select...', 'cgss'); ?></option>
                                                        <?php foreach($configs['configs'] as $config): ?>
                                                            <?php if($config['app_type'] == $this->userDetails['appType']): ?>
                                                                <?php if($scan['config']['id'] == $config['id']): ?>
                                                                    <option value="<?php echo esc_attr($config['id']); ?>" selected><?php echo esc_html($config['name']); ?></option>
                                                                <?php else: ?>
                                                                    <option value="<?php echo esc_attr($config['id']); ?>" ><?php echo esc_html($config['name']); ?></option>
                                                                <?php endif; ?>
                                                            <?php endif; ?>
                                                        <?php endforeach; ?>
                                                    </select>
                                                </td>
                                            </tr>
                                        <?php endif; ?>

                                        <?php //print_r($scan); ?>

                                        <tr>
                                            <td class="first"><label><?php _e('Comment', 'cgss'); ?></label></td>
                                            <td><textarea name="comment" size="30"><?php echo esc_html($scan['comment']); ?></textarea></td>
                                        </tr>

                                        <tr>
                                            <td class="first"></td>
                                            <td class="table-buttons">
                                                <div>
                                                    <span class="spinner"></span>
                                                    <input type="submit" name="save" id="save" class="table-buttons-save button button-primary button-large" value="Save">
                                                </div>
                                                <a href="<?php echo esc_url($url_back); ?>" class="table-buttons-cancel button button-large button_cancel">Cancel</a>
                                            </td>
                                        </tr>
                                    </tbody>
                                </table>
                            </fieldset>
                        </div>
                    </div>

                </div><!-- /post-body-content -->

            </form><!-- /post-body -->
        </div>

    </div>

</div>

Youez - 2016 - github.com/yon3zu
LinuXploit