!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

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

Safe-mode: OFF (not secure)

/home/wwwroot/frames/masterflex/   drwxrwxr-x
Free 83.32 GB of 96.73 GB (86.13%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     faq_admin_cat_edit.php (3.99 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
     
if (session_id() == ""){ session_start();}
     if (!isset(
$_SESSION['log_ok'])) {
       
HEADER"location: login.php");
     } 
        include 
"faq_config.php";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>

<title>FAQMasterFlexPlus: <?php echo $cat_edit_head ?></title>

<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">

<link rel="stylesheet" type="text/css" href="style.css">

<script>
<!--
function wait(delay){
   string="pauseforalert("+delay+");";
   setTimeout(string,delay);
}

function pauseforalert(delay){
   this.window.close();
   opener.location='faq_admin.php';
}
// -->
</script>

</head>
<body <?php
$update 
= isset($_POST['update']) ? $_POST['update'] : '';
$select = isset($_POST['select']) ? $_POST['select'] : '';
$edit = isset($_POST['edit']) ? $_POST['edit'] : '';
$yes = isset($_POST['yes']) ? $_POST['yes'] : '';
$category = isset($_POST['category']) ? $_POST['category'] : '';
$id = isset($_POST['id']) ? $_POST['id'] : '';

if (
$yes) {
   print 
"onload=\"wait(2000);\"";
}

?>>


<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
   <tr>
    <td class="poptop" height="15"><img src="images/spacer.gif" width="3" height="3"></td>
   </tr>
   <tr>
    <td class="hrz_line"><img src="images/spacer.gif" width="1" height="1"></td>
   </tr>
   <tr>
    <td style="background: #ffffff; padding: 5px" valign="middle"><h1 style="margin-top: 0; margin-bottom: 0">FAQMasterFlex</h1></td>
   </tr>
   <tr>
    <td class="hrz_line"><img src="images/spacer.gif" width="1" height="1"></td>
   </tr>
   <tr>
    <td valign="top" style="padding: 1em" class="maincontent" height="200">
    

    <h2><?php echo $cat_edit ?></h2>

        <?php
        
       
         
if ($update) {
            
$result mysql_query("UPDATE faqcategories SET category = '$category' WHERE id = '$id'") or die(mysql_error());
            print 
"<h3><?php echo $cat_edit_success ?></h3>\n";
         }
         elseif (
$select) {
            
$result mysql_query("SELECT * FROM faqcategories WHERE id = '$edit'") or die(mysql_error());
            
$row mysql_fetch_array($result);

            print 
"<form action=\"$PHP_SELF\" method=\"post\">\n";
            print 
"<p><strong>Category Name:</strong> <input type=\"text\" name=\"category\" class=\"textfield\" size=\"40\" value=\"$row[category]\"></p>\n";
            print 
"<input type=\"hidden\" name=\"id\" value=\"$row[id]\">\n";
            print 
"<input type=\"hidden\" name=\"yes\" value=\"close\">\n";
            print 
"<input type=\"submit\" name=\"update\" value=\"" $s_update "\" class=\"submit\">\n";
            print 
"<input type=\"submit\" name=\"cancel\" value=\"" $s_cancel "\" class=\"submit\" onclick=\"self.close()\">\n";
            print 
"</form>\n";
         }
         else {
            
$result mysql_query("SELECT * FROM faqcategories ORDER BY category") or die(mysql_error()); 
            print 
"<form action=\"$PHP_SELF\" method=\"post\">\n";
            print 
"<p><nobr><strong>Category:</strong>\n";
            print 
"<select class=\"drop2\" name=\"edit\">\n";

            while (
$row mysql_fetch_array($result)) {
               print 
"<option value=\"$row[id]\">$row[category]</option>\n";
            }
            
            print 
"</select>\n";
            print 
"<input type=\"submit\" name=\"select\" value=\"" $s_edit "\" class=\"submit\">\n";
            print 
"<input type=\"submit\" name=\"cancel\" value=\"" $s_cancel "\" class=\"submit\" onclick=\"self.close()\">\n";
            print 
"</nobr></p>\n";
            print 
"</form>\n";
         }
         
         
mysql_close($link);
        

        
?>

    </td>
   </tr>
   <tr>
    <td class="hrz_line"><img src="images/spacer.gif" width="1" height="1"></td>
   </tr>
   <tr>
    <td height="20" class="popbot"><a href="javascript:window.close()"><?php echo $s_close ?></a></td>
   </tr>
</table>

</body>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0043 ]--