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


Viewing file:     index.cgi (1.45 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Show a form for enabling two-factor authentication

use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './twofactor-lib.pl';
our (%in, %text, $remote_user);
&ui_print_header(undef, $text{'index_title'}, "");

# Is it even enabled?
my %miniserv;
&get_miniserv_config(\%miniserv);
if (!$miniserv{'twofactor_provider'}) {
    print $text{'twofactor_setup'},"<p>\n";
    &ui_print_footer("/", $text{'index'});
    return;
    }

# Get the user's current state
my ($provid, $id, $api) = &get_user_twofactor($remote_user, \%miniserv);

print &ui_form_start("enable.cgi", "post");
my @buts;
if ($id) {
    @buts = ( [ "disable", $text{'twofactor_disable'} ] );
    my ($prov) = grep { $_->[0] eq $provid }
               &list_twofactor_providers();
    print &text('twofactor_already2',
            "<i>$prov->[1]</i>",
            "<tt>$id</tt>",
            "<tt>$remote_user</tt>"),"<p>\n";
    }
else {
    my ($prov) = grep { $_->[0] eq $miniserv{'twofactor_provider'} }
               &list_twofactor_providers();
    print &text('twofactor_desc2',
            "<i>$prov->[1]</i>",
            $prov->[2],
            "<tt>$remote_user</tt>"),"<p>\n";
    my $ffunc = "show_twofactor_form_".
            $miniserv{'twofactor_provider'};
    if (defined(&$ffunc)) {
        print &ui_table_start($text{'twofactor_header'}, undef, 2);
        print &{\&{$ffunc}}($remote_user);
        print &ui_table_end();
        }
    @buts = ( [ "enable", $text{'twofactor_enable'} ] );
    }
print &ui_form_end(\@buts);

&ui_print_footer("/", $text{'index'});


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