Linux webm004.cluster102.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Apache
: 10.102.20.4 | : 216.73.217.153
Cant Read [ /etc/named.conf ]
5.4.45
opusyn1t
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
/
home /
opusyn1t /
www /
boutique /
install /
classes /
[ HOME SHELL ]
Name
Size
Permission
Action
.mad-root
0
B
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
autoload_classmap.php
0
B
-r--r--r--
controllerConsole.php
4
KB
-rw----r--
controllerHttp.php
10.11
KB
-rw----r--
datas.php
5.04
KB
-rw----r--
exception.php
1.02
KB
-rw----r--
index.php
1.24
KB
-rw----r--
language.php
2.76
KB
-rw----r--
languages.php
5.35
KB
-rw----r--
model.php
1.39
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
session.php
3.06
KB
-rw----r--
simplexml.php
2.07
KB
-rw----r--
sqlLoader.php
2.76
KB
-rw----r--
xmlLoader.php
36.41
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sqlLoader.php
<?php /* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class InstallSqlLoader { /** * @var Db */ protected $db; /** * @var array List of keywords which will be replaced in queries */ protected $metadata = array(); /** * @var array List of errors during last parsing */ protected $errors = array(); /** * @param Db $db */ public function __construct(Db $db = null) { if (is_null($db)) $db = Db::getInstance(); $this->db = $db; } /** * Set a list of keywords which will be replaced in queries * * @param array $data */ public function setMetaData(array $data) { foreach ($data as $k => $v) $this->metadata[$k] = $v; } /** * Parse a SQL file and execute queries * * @param string $filename * @param bool $stop_when_fail */ public function parse_file($filename, $stop_when_fail = true) { if (!file_exists($filename)) throw new PrestashopInstallerException("File $filename not found"); return $this->parse(file_get_contents($filename), $stop_when_fail); } /** * Parse and execute a list of SQL queries * * @param string $content * @param bool $stop_when_fail */ public function parse($content, $stop_when_fail = true) { $this->errors = array(); $content = str_replace(array_keys($this->metadata), array_values($this->metadata), $content); $queries = preg_split('#;\s*[\r\n]+#', $content); foreach ($queries as $query) { $query = trim($query); if (!$query) continue; if (!$this->db->execute($query)) { $this->errors[] = array( 'errno' => $this->db->getNumberError(), 'error' => $this->db->getMsgError(), 'query' => $query, ); if ($stop_when_fail) return false; } } return count($this->errors) ? false : true; } /** * Get list of errors from last parsing * * @return array */ public function getErrors() { return $this->errors; } }
Close