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

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/phpads/   drwxr-xr-x
Free 4.04 GB of 27.03 GB (14.94%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     lib-remotehost.inc.php (2.41 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php // $Revision: 1.2 $

/************************************************************************/
/* phpAdsNew 2                                                          */
/* ===========                                                          */
/*                                                                      */
/* Copyright (c) 2001 by Niels Leenheer                                    */
/* http://sourceforge.net/projects/phpadsnew                            */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/



// Check for proxyserver
if ($phpAds_config['proxy_lookup'])
{
    
$proxy = false;
    if (isset (
$GLOBALS['HTTP_VIA']) && $GLOBALS['HTTP_VIA'] != '') $proxy = true;
    
    if (isset (
$GLOBALS['REMOTE_HOST']))
    {
        if (
is_int (strpos ('proxy',   $GLOBALS['REMOTE_HOST']))) $proxy = true;
        if (
is_int (strpos ('cache',   $GLOBALS['REMOTE_HOST']))) $proxy = true;
        if (
is_int (strpos ('inktomi', $GLOBALS['REMOTE_HOST']))) $proxy = true;
    }
    
    if (
$proxy)
    {
        
// Overwrite host address if a suitable header is found
        
if (isset($GLOBALS['HTTP_FORWARDED']) &&         $GLOBALS['HTTP_FORWARDED'] != '')         $IP = $GLOBALS['HTTP_FORWARDED'];
        if (isset(
$GLOBALS['HTTP_FORWARDED_FOR']) &&    $GLOBALS['HTTP_FORWARDED_FOR'] != '')     $IP = $GLOBALS['HTTP_FORWARDED_FOR'];
        if (isset(
$GLOBALS['HTTP_X_FORWARDED']) &&        $GLOBALS['HTTP_X_FORWARDED'] != '')     $IP = $GLOBALS['HTTP_X_FORWARDED'];
        if (isset(
$GLOBALS['HTTP_X_FORWARDED_FOR']) &&    $GLOBALS['HTTP_X_FORWARDED_FOR'] != '')    $IP = $GLOBALS['HTTP_X_FORWARDED_FOR'];
        if (isset(
$GLOBALS['HTTP_CLIENT_IP']) &&        $GLOBALS['HTTP_CLIENT_IP'] != '')         $IP = $GLOBALS['HTTP_CLIENT_IP'];
        
        
// Get last item from list
        
$IP = explode (',', $IP);
        
$IP = trim($IP[count($IP) - 1]);
        
        if (
$IP != 'unknown')
        {
            
$GLOBALS['REMOTE_ADDR'] = $IP;
            
$GLOBALS['REMOTE_HOST'] = '';
        }
    }
}

if (!isset(
$GLOBALS['REMOTE_HOST']) || $GLOBALS['REMOTE_HOST'] == '')
{
    if (
$phpAds_config['reverse_lookup'])
        
$GLOBALS['REMOTE_HOST'] = @gethostbyaddr ($GLOBALS['REMOTE_ADDR']);
    else
        
$GLOBALS['REMOTE_HOST'] = $GLOBALS['REMOTE_ADDR'];
}



?>

:: 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 #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0036 ]--