!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:\nuevo\htdocs\boletinlegal\admin\report\sqlbuddy\includes\class\   drwxrwxrwx
Free 1.08 GB of 239.26 GB (0.45%)
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:     GetTextReader.php (1.57 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*

SQL Buddy - Web based MySQL administration
http://www.sqlbuddy.com/

gettextreader.php
- translation file reader

MIT license

2008 Calvin Lough <http://calv.in>

*/

class GetTextReader {
    
    var 
$translationIndex = array();
    var 
$basePath "locale/";
    
    function 
GetTextReader($inputFile) {
        
        
$msgId "";
        
$msgIdPlural "";
        
$msgStr "";
        
$msgStrPlural "";
        
        
$readFile $this->basePath $inputFile;
        
        if (
file_exists($readFile)) {
            
$handle fopen($readFile"r");
            if (
$handle) {
                while (!
feof($handle)) 
                {
                   
$lines[] = trim(fgets($handle4096));
                }
                
fclose($handle);
            }
            
            foreach (
$lines as $line) {
                if (
substr($line06) == "msgid:") {
                    
$msgId substr($line8, -1);
                    
$msgStr "";
                } else if (
substr($line013) == "msgid_plural:") {
                    
$msgIdPlural substr($line15, -1);
                } else if (
substr($line07) == "msgstr:") {
                    
$msgStr substr($line9, -1);
                } else if (
substr($line010) == "msgstr[0]:") {
                    
$msgStr substr($line12, -1);
                } else if (
substr($line010) == "msgstr[1]:") {
                    
$msgStrPlural substr($line12, -1);
                }
                
                if (
$msgId && $msgStr) {
                    
$this->translationIndex[$msgId] = $msgStr;
                    if (
$msgIdPlural)
                        
$this->translationIndex[$msgIdPlural] = $msgStrPlural;
                    
                    
$msgId "";
                    
$msgIdPlural "";
                    
$msgStr "";
                    
$msgStrPlural "";
                }
            }
        }
    }
    
    function 
getTranslation($lookup) {
        if (
array_key_exists($lookup$this->translationIndex)) {
            return 
$this->translationIndex[$lookup];
        } else {
            return 
$lookup;
        }
    }
    
}

?>

:: 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 ]--