ÿØÿàJFIFHHÿá .
BSA HACKER
Logo of a company Server : Apache
System : Linux nusantara.hosteko.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : koperas1 ( 1254)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /opt/fleetssl-cpanel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/fleetssl-cpanel/whm_home.html
<html>
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="datatables.min.css"/>
<script src="jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="datatables.min.js"></script>
<script src="bootstrap.min.js"></script>
<script>
    $(document).ready( function() {
        installedTable = $('#installed_certs').DataTable();
    } );
</script>

<div class="container">

    <h2>FleetSSL cPanel (WHM)</h2>

    <div class="alert alert-info">
        <p>To issue certificates, please login to any user's cPanel account and visit the Lets Encrypt interface there.</p>
        <p>Alternative, you can use <a href="https://cpanel.fleetssl.com/docs/for-admins/cli-reference/" target="_blank" rel="noopener">the CLI interface</a>, <code>le-cp help</code></p>
    </div>

{{ if .LicenceError }}
    <div class="alert alert-danger">
        <p>
            Your FleetSSL cPanel plugin is currently not licensed. This means that access to the user interface and all renewals are <strong>disabled</strong>.
        </p>
        <p>
            <code style="display: block; margin: 1em 0; padding: 1em;">{{ .LicenceError }}</code>
        </p>
    </div>
{{ end }}

    <ul class="nav nav-tabs">
        <li class="{{if not (.Params.Get "config")}}active{{end}}"><a data-toggle="tab" href="#sectionInstalled">Installed Certificates</a></li>
        <li class="{{if .Params.Get "config"}}active{{end}}"><a data-toggle="tab" href="#sectionConfiguration">Configuration</a></li>
    </ul>

    <div class="tab-content">
        <div id="sectionInstalled" class="tab-pane{{if not (.Params.Get "config")}} active{{end}}">
            <h3>Installed Certificates</h3>
            <p>There are currently {{len .Vhosts}} Let's Encrypt certificates present on this system.</p>
            <hr>
            <table id="installed_certs" class="table table-striped nonsortable">
                <thead>
                <tr>
                    <th>User</th>
                    <th>Domains</th>
                    <th>Expiry</th>
                    <th>Docroot</th>
                </tr>
                </thead>
                <tbody>
                {{range .Vhosts}}
                <tr>
                    <td>{{.User}}</td>
                    <td>{{range .Certificate.Domains}}{{.}}<br>{{end}}</td>
                    <td>{{.Certificate.Expiry.String}}</td>
                    <td>{{.Docroot}}</td>
                </tr>
                {{end}}
                </tbody>
            </table>
        </div>

        <div id="sectionConfiguration" class="tab-pane{{if .Params.Get "config"}} active{{end}}">
            <h3>Configuration</h3>
            <form method="post" action="?api=update_config">
                <input type="hidden" name="redirect" value="true"/>
                <p>These are some common configuration items, please refer to <a href="https://cpanel.fleetssl.com/docs/for-admins/configuration/" target="_blank" rel="noopener">the full reference</a> for more. Some of these options will only apply after a service restart: <code>service letsencrypt-cpanel restart</code></p>
                <table id="configs" class="table table-striped nonsortable">
                    <thead>
                    <tr>
                        <th>Name</th>
                        <th>Description</th>
                        <th>Value</th>
                    </tr>
                    </thead>
                    <tbody>
                    {{ range .Configs }}
                    <tr>
                        <td>{{ .Name }}</td>
                        <td><small>{{ .Description}}</small></td>
                        {{ if eq "bool" .Type }}
                        <td>
                            <div class="radio">
                                <label>
                                    <input type="radio" name="conf-{{ .Key }}" value="true" {{ if eq "true" .Value}}checked{{ end }}/>
                                    On
                                </label>
                            </div>
                            <div class="radio">
                                <label>
                                    <input type="radio" name="conf-{{ .Key }}" value="false" {{ if eq "false" .Value}}checked{{ end }}/>
                                    Off
                                </label>
                            </div>
                        </td>
                        {{ else }}
                        <td><input type="{{ .Type }}" name="conf-{{ .Key }}" value="{{ .Value }}"/></td>
                        {{ end }}
                    </tr>
                    {{ end }}
                    </tbody>
                </table>
                <input type="submit" class="btn btn-primary" value="Update"/>
            </form>
        </div>
    </div>

</div>