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


Viewing file:     acl_security.pl (1.53 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

require 'proc-lib.pl';

# acl_security_form(&options)
# Output HTML for editing security options for the proc module
sub acl_security_form
{
my ($o) = @_;

# Run as user
my $u = $o->{'uid'} < 0 ? undef : getpwuid($o->{'uid'});
print &ui_table_row($text{'acl_manage'},
    &ui_radio("uid_def", $_[0]->{'uid'} < 0 ? 1 : 0,
          [ [ 1, $text{'acl_manage_def'} ],
            [ 0, &ui_user_textbox("uid", $u) ] ]), 3);

# Who can be managed
if (!defined($o->{'users'})) {
    $o->{'users'} = $o->{'uid'} < 0 ? "x" :
            $o->{'uid'} == 0 ? "*" : getpwuid($o->{'uid'});
    }
my $who = $o->{'users'} eq "x" ? 1 :
      $o->{'users'} eq "*" ? 0 : 2;
print &ui_table_row($text{'acl_who'},
    &ui_radio("who", $who,
        [ [ 0, $text{'acl_who0'}."<br>\n" ],
          [ 1, $text{'acl_who1'}."<br>\n" ],
          [ 2, $text{'acl_who2'} ] ])." ".
               &ui_textbox("users", $who == 2 ? $_[0]->{'users'} : "",
                   40), 3);

# Can do stuff to processes?
print &ui_table_row($text{'acl_edit'},
    &ui_yesno_radio("edit", $o->{'edit'}), 3);

# Can run commands?
print &ui_table_row($text{'acl_run'},
    &ui_yesno_radio("run", $o->{'run'}), 3);

# Can see other processes?
print &ui_table_row($text{'acl_only'},
    &ui_yesno_radio("only", $o->{'only'}), 3);
}

# acl_security_save(&options)
# Parse the form for security options for the proc module
sub acl_security_save
{
my ($o) = @_;
$o->{'uid'} = $in{'uid_def'} ? -1 : getpwnam($in{'uid'});
$o->{'edit'} = $in{'edit'};
$o->{'run'} = $in{'run'};
$o->{'only'} = $in{'only'};
$o->{'users'} = $in{'who'} == 0 ? "*" :
           $in{'who'} == 1 ? "x" : $in{'users'};
}


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