ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
php
/
tests
/
MDB2
/
tests
/
Viewing: MDB2_Connect_Test.php
<?php // {{{ MDB2_Connect_Test /** * This is just a dummy class to perform the tests. */ class MDB2_Connect_Test { var $_dsn; var $dbc; // {{{ constructor php5 valid /** * Straightforward? The constructor */ function __construct() { require_once 'MDB2.php'; require_once 'config.php'; $this->_dsn = array( 'phptype' => DSN_PHPTYPE, 'username' => DSN_USERNAME, 'password' => DSN_PASSWORD, 'hostspec' => DSN_HOSTNAME, 'database' => DSN_DATABASE, ); } // }}} // {{{ PHP4 constructor.. function MDB2_Connect_Test() { $this->__construct($connect); } // }}} // {{{ connect function connect() { // connect to database $options = array( 'portability' => (MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL), ); $this->dbc =& MDB2::singleton($this->_dsn, $options); if (PEAR::isError($this->dbc)) { return $this->dbc; } } // }}} } // }}} ?>
Coded With 💗 by
0x6ick