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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/lib/phpmyadmin/tmp/twig/14/   drwxr-xr-x
Free 13.05 GB of 57.97 GB (22.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     14cc004a13809397ddf8e08d74113540ff55cb6287962c4d39f7979d66eb0ba4.php (15.99 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;

/* console/display.twig */
class __TwigTemplate_0339c1235e71ceb5343b50c12b49a06dfe503c331753578c6b5152b6f4aa43b6 extends \Twig\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
        
echo "<div id=\"pma_console_container\">
    <div id=\"pma_console\">
        "
;
        
// line 4
        
echo "        ";
        
$this->loadTemplate("console/toolbar.twig""console/display.twig"4)->display(twig_to_array(["parent_div_classes" => "collapsed""content_array" => [=> [=> "switch_button console_switch"=> _gettext("Console"), "image" =>         // line 7
($context["image"] ?? null)], => [=> "button clear"=> _gettext("Clear")], => [=> "button history"=> _gettext("History")], => [=> "button options"=> _gettext("Options")], => ((        // line 11
(isset($context["cfg_bookmark"]) || array_key_exists("cfg_bookmark"$context))) ? ([=> "button bookmarks"=> _gettext("Bookmarks")]) : (null)), => [=> "button debug hide"=> _gettext("Debug SQL")]]]));
        
// line 15
        
echo "        ";
        
// line 16
        
echo "        <div class=\"content\">
            <div class=\"console_message_container\">
                <div class=\"message welcome\">
                    <span id=\"instructions-0\">
                        "
;
        
// line 20
        
echo _gettext("Press Ctrl+Enter to execute query");
        
// line 21
        
echo "                    </span>
                    <span class=\"hide\" id=\"instructions-1\">
                        "
;
        
// line 23
        
echo _gettext("Press Enter to execute query");
        
// line 24
        
echo "                    </span>
                </div>
                "
;
        
// line 26
        
if ( !twig_test_empty(($context["sql_history"] ?? null))) {
            
// line 27
            
echo "                    ";
            
$context['_parent'] = $context;
            
$context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, ($context["sql_history"] ?? null)));
            foreach (
$context['_seq'] as $context["_key"] => $context["record"]) {
                
// line 28
                
echo "                        <div class=\"message history collapsed hide";
                
// line 29
                
echo ((preg_match("@^SELECT[[:space:]]+@i", (($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 $context["record"]) && is_array($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4) || $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 instanceof ArrayAccess ? ($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4["sqlquery"] ?? null) : null))) ? (" select") : (""));
                echo 
"\"
                            targetdb=\""
;
                
// line 30
                
echo twig_escape_filter($this->env, (($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 $context["record"]) && is_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144) || $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 instanceof ArrayAccess ? ($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144["db"] ?? null) : null), "html"nulltrue);
                echo 
"\" targettable=\"";
                echo 
twig_escape_filter($this->env, (($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b $context["record"]) && is_array($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b) || $__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b instanceof ArrayAccess ? ($__internal_1cfccaec8dd2e8578ccb026fbe7f2e7e29ac2ed5deb976639c5fc99a6ea8583b["table"] ?? null) : null), "html"nulltrue);
                echo 
"\">
                            "
;
                
// line 31
                
$this->loadTemplate("console/query_action.twig""console/display.twig"31)->display(twig_to_array(["parent_div_classes" => "action_content""content_array" => [=> [=> "action collapse"=> _gettext("Collapse")], => [=> "action expand"=> _gettext("Expand")], => [=> "action requery"=> _gettext("Requery")], => [=> "action edit"=> _gettext("Edit")], => [=> "action explain"=> _gettext("Explain")], => [=> "action profiling"=> _gettext("Profiling")], => ((                // line 40
(isset($context["cfg_bookmark"]) || array_key_exists("cfg_bookmark"$context))) ? ([=> "action bookmark"=> _gettext("Bookmark")]) : (null)), => [=> "text failed"=> _gettext("Query failed")], => [=> "text targetdb"=> _gettext("Database"), "extraSpan" => (($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 =                 // line 42
$context["record"]) && is_array($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002) || $__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002 instanceof ArrayAccess ? ($__internal_68aa442c1d43d3410ea8f958ba9090f3eaa9a76f8de8fc9be4d6c7389ba28002["db"] ?? null) : null)], => [=> "text query_time"=> _gettext("Queried time"), "extraSpan" => ((twig_get_attribute($this->env$this->source,                 // line 46
$context["record"], "timevalue", [], "array"truetruefalse46)) ? ((($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 =                 // line 47
$context["record"]) && is_array($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4) || $__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4 instanceof ArrayAccess ? ($__internal_d7fc55f1a54b629533d60b43063289db62e68921ee7a5f8de562bd9d4a2b7ad4["timevalue"] ?? null) : null)) : (_gettext("During current session")))]]]));
                
// line 51
                
echo "                            <span class=\"query\">";
                echo 
twig_escape_filter($this->env, (($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 $context["record"]) && is_array($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666) || $__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666 instanceof ArrayAccess ? ($__internal_01476f8db28655ee4ee02ea2d17dd5a92599be76304f08cd8bc0e05aced30666["sqlquery"] ?? null) : null), "html"nulltrue);
                echo 
"</span>
                        </div>
                    "
;
            }
            
$_parent $context['_parent'];
            unset(
$context['_seq'], $context['_iterated'], $context['_key'], $context['record'], $context['_parent'], $context['loop']);
            
$context array_intersect_key($context$_parent) + $_parent;
            
// line 54
            
echo "                ";
        }
        
// line 55
        
echo "            </div><!-- console_message_container -->
            <div class=\"query_input\">
                <span class=\"console_query_input\"></span>
            </div>
        </div><!-- message end -->
        "
;
        
// line 61
        
echo "        <div class=\"mid_layer\"></div>
        "
;
        
// line 63
        
echo "        <div class=\"card\" id=\"debug_console\">
            "
;
        
// line 64
        
$this->loadTemplate("console/toolbar.twig""console/display.twig"64)->display(twig_to_array(["parent_div_classes" => """content_array" => [=> [=> "button order order_asc"=> _gettext("ascending")], => [=> "button order order_desc"=> _gettext("descending")], => [=> "text"=> _gettext("Order:")], => [=> "switch_button"=> _gettext("Debug SQL")], => [=> "button order_by sort_count"=> _gettext("Count")], => [=> "button order_by sort_exec"=> _gettext("Execution order")], => [=> "button order_by sort_time"=> _gettext("Time taken")], => [=> "text"=> _gettext("Order by:")], => [=> "button group_queries"=> _gettext("Group queries")], => [=> "button ungroup_queries"=> _gettext("Ungroup queries")]]]));
        
// line 79
        
echo "            <div class=\"content debug\">
                <div class=\"message welcome\"></div>
                <div class=\"debugLog\"></div>
            </div> <!-- Content -->
            <div class=\"templates\">
                "
;
        
// line 84
        
$this->loadTemplate("console/query_action.twig""console/display.twig"84)->display(twig_to_array(["parent_div_classes" => "debug_query action_content""content_array" => [=> [=> "action collapse"=> _gettext("Collapse")], => [=> "action expand"=> _gettext("Expand")], => [=> "action dbg_show_trace"=> _gettext("Show trace")], => [=> "action dbg_hide_trace"=> _gettext("Hide trace")], => [=> "text count hide"=> _gettext("Count")], => [=> "text time"=> _gettext("Time taken")]]]));
        
// line 95
        
echo "            </div> <!-- Template -->
        </div> <!-- Debug SQL card -->
        "
;
        
// line 97
        
if (($context["cfg_bookmark"] ?? null)) {
            
// line 98
            
echo "            <div class=\"card\" id=\"pma_bookmarks\">
                "
;
            
// line 99
            
$this->loadTemplate("console/toolbar.twig""console/display.twig"99)->display(twig_to_array(["parent_div_classes" => """content_array" => [=> [=> "switch_button"=> _gettext("Bookmarks")], => [=> "button refresh"=> _gettext("Refresh")], => [=> "button add"=> _gettext("Add")]]]));
            
// line 107
            
echo "                <div class=\"content bookmark\">
                    "
;
            
// line 108
            
echo ($context["bookmark_content"] ?? null);
            echo 
"
                </div>
                <div class=\"mid_layer\"></div>
                <div class=\"card add\">
                    "
;
            
// line 112
            
$this->loadTemplate("console/toolbar.twig""console/display.twig"112)->display(twig_to_array(["parent_div_classes" => """content_array" => [=> [=> "switch_button"=> _gettext("Add bookmark")]]]));
            
// line 118
            
echo "                    <div class=\"content add_bookmark\">
                        <div class=\"options\">
                            <label>
                                "
;
            
// line 121
            
echo _gettext("Label");
            echo 
": <input type=\"text\" name=\"label\">
                            </label>
                            <label>
                                "
;
            
// line 124
            
echo _gettext("Target database");
            echo 
": <input type=\"text\" name=\"targetdb\">
                            </label>
                            <label>
                                <input type=\"checkbox\" name=\"shared\">"
;
            
// line 127
            
echo _gettext("Share this bookmark");
            
// line 128
            
echo "                            </label>
                            <button type=\"submit\" name=\"submit\">"
;
            
// line 129
            
echo _gettext("OK");
            echo 
"</button>
                        </div> <!-- options -->
                        <div class=\"query_input\">
                            <span class=\"bookmark_add_input\"></span>
                        </div>
                    </div>
                </div> <!-- Add bookmark card -->
            </div> <!-- Bookmarks card -->
        "
;
        }
        
// line 138
        
echo "        ";
        
// line 139
        
echo "        <div class=\"card\" id=\"pma_console_options\">
            "
;
        
// line 140
        
$this->loadTemplate("console/toolbar.twig""console/display.twig"140)->display(twig_to_array(["parent_div_classes" => """content_array" => [=> [=> "switch_button"=> _gettext("Options")], => [=> "button default"=> _gettext("Set default")]]]));
        
// line 147
        
echo "            <div class=\"content\">
                <label>
                    <input type=\"checkbox\" name=\"always_expand\">"
;
        
// line 149
        
echo _gettext("Always expand query messages");
        
// line 150
        
echo "                </label>
                <br>
                <label>
                    <input type=\"checkbox\" name=\"start_history\">"
;
        
// line 153
        
echo _gettext("Show query history at start");
        
// line 154
        
echo "                </label>
                <br>
                <label>
                    <input type=\"checkbox\" name=\"current_query\">"
;
        
// line 157
        
echo _gettext("Show current browsing query");
        
// line 158
        
echo "                </label>
                <br>
                <label>
                    <input type=\"checkbox\" name=\"enter_executes\">
                        "
;
        
// line 162
        
echo _gettext("Execute queries on Enter and insert new line with Shift + Enter. To make this permanent, view settings.");
        
// line 165
        
echo "                </label>
                <br>
                <label>
                    <input type=\"checkbox\" name=\"dark_theme\">"
;
        
// line 168
        
echo _gettext("Switch to dark theme");
        
// line 169
        
echo "                </label>
                <br>
            </div>
        </div> <!-- Options card -->
        <div class=\"templates\">
            "
;
        
// line 175
        
echo "            ";
        
$this->loadTemplate("console/query_action.twig""console/display.twig"175)->display(twig_to_array(["parent_div_classes" => "query_actions""content_array" => [=> [=> "action collapse"=> _gettext("Collapse")], => [=> "action expand"=> _gettext("Expand")], => [=> "action requery"=> _gettext("Requery")], => [=> "action edit"=> _gettext("Edit")], => [=> "action explain"=> _gettext("Explain")], => [=> "action profiling"=> _gettext("Profiling")], => ((        // line 184
(isset($context["cfg_bookmark"]) || array_key_exists("cfg_bookmark"$context))) ? ([=> "action bookmark"=> _gettext("Bookmark")]) : (null)), => [=> "text failed"=> _gettext("Query failed")], => [=> "text targetdb"=> _gettext("Database"), "extraSpan" => ""], => [=> "text query_time"=> _gettext("Queried time"), "extraSpan" => ""]]]));
        
// line 190
        
echo "        </div>
    </div> <!-- #console end -->
</div> <!-- #console_container end -->
"
;
    }

    public function 
getTemplateName()
    {
        return 
"console/display.twig";
    }

    public function 
isTraitable()
    {
        return 
false;
    }

    public function 
getDebugInfo()
    {
        return array (  
238 => 190,  236 => 184,  234 => 175,  227 => 169,  225 => 168,  220 => 165,  218 => 162,  212 => 158,  210 => 157,  205 => 154,  203 => 153,  198 => 150,  196 => 149,  192 => 147,  190 => 140,  187 => 139,  185 => 138,  173 => 129,  170 => 128,  168 => 127,  162 => 124,  156 => 121,  151 => 118,  149 => 112,  142 => 108,  139 => 107,  137 => 99,  134 => 98,  132 => 97,  128 => 95,  126 => 84,  119 => 79,  117 => 64,  114 => 63,  111 => 61,  104 => 55,  101 => 54,  91 => 51,  89 => 47,  88 => 46,  87 => 42,  86 => 40,  85 => 31,  79 => 30,  75 => 29,  73 => 28,  68 => 27,  66 => 26,  62 => 24,  60 => 23,  56 => 21,  54 => 20,  48 => 16,  46 => 15,  44 => 11,  43 => 7,  41 => 4,  37 => 1,);
    }

    public function 
getSourceContext()
    {
        return new 
Source("""console/display.twig""/usr/share/phpmyadmin/templates/console/display.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 ]--