!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\xampp\xampp\htdocs\phpold\AjaxPhpCode\Chapter08\ajax\grid\   drwxrwxrwx
Free 7.96 GB of 239.26 GB (3.32%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     grid.php (1.59 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// load error handling script and the Grid class
require_once('error_handler.php');
require_once(
'grid.class.php');
// the 'action' parameter should be FEED_GRID_PAGE or UPDATE_ROW 
if (!isset($_GET['action']))
{  
  echo 
'Server error: client command missing.';
  exit;
}      
else 
{
  
// store the action to be performed in the $action variable
  
$action $_GET['action'];
}
// create Grid instance
$grid = new Grid($action);
// valid action values are FEED_GRID_PAGE and UPDATE_ROW 
if ($action == 'FEED_GRID_PAGE')
{
  
// retrieve the page number
  
$page $_GET['page'];
  
// read the products on the page
  
$grid->readPage($page);
}
else if (
$action == 'UPDATE_ROW')
{
  
// retrieve parameters
  
$id $_GET['id'];
  
$on_promotion $_GET['on_promotion'];
  
$price $_GET['price'];
 
  
$name $_GET['name'];
  
// update the record
  
$grid->updateRecord($id$on_promotion$price$name);
}
else 
  echo 
'Server error: client command unrecognized.';
// clear the output 
if(ob_get_length()) ob_clean();
// headers are sent to prevent browsers from caching
header('Expires: Fri, 25 Dec 1980 00:00:00 GMT'); // time in the past
header('Last-Modified: ' gmdate('D, d M Y H:i:s') . 'GMT'); 
header('Cache-Control: no-cache, must-revalidate'); 
header('Pragma: no-cache');
header('Content-Type: text/xml');
// generate the output in XML format
header('Content-type: text/xml'); 
echo 
'<?xml version="1.0" encoding="UTF-8"?>';
echo 
'<data>';
echo 
'<action>' $action '</action>';
echo 
$grid->getParamsXML();
echo 
$grid->getGridXML();
echo 
'</data>';
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--