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.31
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
/
usr /
share /
phpmyadmin /
libraries /
plugins /
import /
[ HOME SHELL ]
Name
Size
Permission
Action
upload
[ DIR ]
drwxr-xr-x
AbstractImportCsv.php
2.95
KB
-rw-r--r--
ImportCsv.php
26.41
KB
-rw-r--r--
ImportLdi.php
5.02
KB
-rw-r--r--
ImportMediawiki.php
21
KB
-rw-r--r--
ImportOds.php
13.67
KB
-rw-r--r--
ImportShp.php
10.46
KB
-rw-r--r--
ImportSql.php
6.01
KB
-rw-r--r--
ImportXml.php
10.64
KB
-rw-r--r--
README
4.52
KB
-rw-r--r--
ShapeFile.php
2.84
KB
-rw-r--r--
ShapeRecord.php
4.67
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ShapeFile.php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * This class extends ShapeFile class to cater the following phpMyAdmin * specific requirements. * * @package PhpMyAdmin-Import * @subpackage ESRI_Shape */ namespace PMA\libraries\plugins\import; /** * 1) To load data from .dbf file only when the dBase extension is available. * 2) To use PMA_importGetNextChunk() functionality to read data, rather than * reading directly from a file. Using * PMA\libraries\plugins\import\ImportShp::readFromBuffer() in place of fread(). * This makes it possible to use compressions. * * @package PhpMyAdmin-Import * @subpackage ESRI_Shape */ class ShapeFile extends \ShapeFile { /** * Returns whether the 'dbase' extension is loaded * * @return boolean whether the 'dbase' extension is loaded */ private function _isDbaseLoaded() { return extension_loaded('dbase'); } /** * Loads ESRI shape data from the imported file * * @param string $FileName not used, it's here only to match the method * signature of the method being overridden * * @return void * @see ShapeFile::loadFromFile() */ public function loadFromFile($FileName) { $this->_loadHeaders(); $this->_loadRecords(); if ($this->_isDbaseLoaded()) { $this->_closeDBFFile(); } } /** * Loads metadata from the ESRI shape file header * * @return void * @see ShapeFile::_loadHeaders() */ public function _loadHeaders() { ImportShp::readFromBuffer(24); $this->fileLength = loadData("N", ImportShp::readFromBuffer(4)); ImportShp::readFromBuffer(4); $this->shapeType = loadData("V", ImportShp::readFromBuffer(4)); $this->boundingBox = array(); $this->boundingBox["xmin"] = loadData("d", ImportShp::readFromBuffer(8)); $this->boundingBox["ymin"] = loadData("d", ImportShp::readFromBuffer(8)); $this->boundingBox["xmax"] = loadData("d", ImportShp::readFromBuffer(8)); $this->boundingBox["ymax"] = loadData("d", ImportShp::readFromBuffer(8)); if ($this->_isDbaseLoaded() && $this->_openDBFFile()) { $this->DBFHeader = $this->_loadDBFHeader(); } } /** * Loads geometry data from the ESRI shape file * * @return boolean|void * @see ShapeFile::_loadRecords() */ public function _loadRecords() { global $eof; ImportShp::readFromBuffer(32); while (true) { $record = new ShapeRecord(-1); $record->loadFromFile($this->SHPFile, $this->DBFFile); if ($record->lastError != "") { return false; } if ($eof) { break; } $this->records[] = $record; } } }
Close