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

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/home/makras/public_html/listings_bak/include/   drwxr-xr-x
Free 318.37 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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


/************************************************************


make array for each new visit


***************************************************************/

function makeListingsArray(){

global 
$dataStr$properties;


//get makras data

$domain "www.makrasrealestate.com";
$username "makras";
$password "agne0sri";
$database "makras";


$db mysql_connect("$domain""$username""$password");
        
mysql_select_db($database ,$db);

$query "SELECT ID from listings WHERE active = 'yes' ORDER BY year desc, month desc";

$index_data mysql_query($query$db);

$rows mysql_num_rows($index_data);

$database "makras";

    for (
$i 0$i $rows$i++){
    
    
$ID mysql_result($index_data$i'ID');
    
    
$dataStr .= "$database-$ID,";
    
    }
mysql_close($db);

if (
$rows 10){ //go to SFM database if there are less than 10 listings in makras db

//get SFM data

    
$dataStr .= file_get_contents('http://sfmkt.com/makras/getdata.php');
}

    
$dataStr substr($dataStr0, -1); //get rid of the trailing comma

}//end function








/**************************************************************


GET INDEX DATA


***************************************************************/






function getIndexRecord($current$dataStr){

global 
$index_data$database$arrayCount$ID$intro$price$title$thumb;

$dataArray explode(","$dataStr);//split data array into entries like sfm-3 or makras-5

$arrayCount count($dataArray);

    for (
$i 0$i $arrayCount$i++){//split array elements into component parts:sfm, 3
    
        
$values explode ("-"$dataArray[$i]);
        
$dataArray[$i] = array($values[0], $values[1]);
    
    }

$ID $dataArray[$current][1];
if (
$dataArray[$current][0] == "makras"){ //the current database
$domain "www.makrasrealestate.com";
$username "makras";
$password "agne0sri";
$database "makras";

$query "SELECT ID, title, thumb, intro, price FROM listings WHERE ID = $ID";

$db mysql_connect("$domain""$username""$password");
        
mysql_select_db($database ,$db);

$index_data mysql_query($query$db);

$ID mysql_result($index_data0'ID');
$intro mysql_result($index_data0'intro');
$price mysql_result($index_data0'price');
$title mysql_result($index_data0'title');
$thumb mysql_result($index_data0'thumb');


}
else if (
$dataArray[$current][0] == "sfm"){
$values unserialize(file_get_contents('http://www.sfmkt.com/makras/getindexdata.php?ID='.$ID));

$intro $values[1];
$price $values[2];
$title $values[3];
$thumb $values[4];

}

}
//end of function











/**************************************************************


detail detail detail detail detail detail detail detail

GET DETAIL DATA

detail detail detail detail detail detail detail detail

***************************************************************/






function getDetailRecord($current$dataStr){

global 
$detail_data$database$arrayCount$ID$description$price$show_price$title$main_pic$picture1$picture2$picture3$picture4$bullet1$bullet2$bullet3$bullet4$bullet5$bullet6;

$dataArray explode(","$dataStr);//split data array into entries like sfm-3 or makras-5

$arrayCount count($dataArray);

    for (
$i 0$i $arrayCount$i++){//split array elements into component parts:sfm, 3
    
        
$values explode ("-"$dataArray[$i]);
        
$dataArray[$i] = array($values[0], $values[1]);
    
    }

$ID $dataArray[$current][1];



if (
$dataArray[$current][0] == "makras"){ //the current database
$domain "www.makrasrealestate.com";
$username "makras";
$password "agne0sri";
$database "makras";




$query "SELECT * FROM listings WHERE ID = $ID";

$db mysql_connect("$domain""$username""$password");
        
mysql_select_db($database ,$db);

$detail_data mysql_query($query$db);


    
$ID mysql_result($detail_data0'ID');
    
$description mysql_result($detail_data0'description');
    
$price mysql_result($detail_data0'price');
    
$show_price mysql_result($detail_data0'show_price');
    
$title mysql_result($detail_data0'title');
    
$main_pic mysql_result($detail_data0'main_pic');
    
$picture1 mysql_result($detail_data0'picture1');
    
$picture2 mysql_result($detail_data0'picture2');
    
$picture3 mysql_result($detail_data0'picture3');
    
$picture4 mysql_result($detail_data0'picture4');
    
$bullet1 mysql_result($detail_data0'bullet1');
    
$bullet2 mysql_result($detail_data0'bullet2');
    
$bullet3 mysql_result($detail_data0'bullet3');
    
$bullet4 mysql_result($detail_data0'bullet4');
    
$bullet5 mysql_result($detail_data0'bullet5');
    
$bullet6 mysql_result($detail_data0'bullet6');//this bullet contains listings agent info

}

else if (
$dataArray[$current][0] == "sfm"){
$values unserialize(file_get_contents('http://www.sfmkt.com/makras/getdetail.php?ID='.$ID));

$description $values[1];
$price $values[2];
$show_price $values[3];
$title $values[4];
$main_pic $values[5];
$picture1 $values[6];
$picture2 $values[7];
$picture3 $values[8];
$picture4 $values[9];
$bullet1 $values[10];
$bullet2 $values[11];
$bullet3 $values[12];
$bullet4 $values[13];
$bullet5 $values[14];
$bullet6 $values[15];
}


}
//end of function


?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

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