!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/libexec/webmin/custom/   drwxr-xr-x
Free 3.83 GB of 27.03 GB (14.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

require 'custom-lib.pl';

# acl_security_form(&options)
# Output HTML for editing security options for the custom module
sub acl_security_form
{
my ($o) = @_;
my $mode = $o->{'cmds'} eq '*' ? 1 :
       $o->{'cmds'} =~ /^\!/ ? 2 : 0;
my @cmds = &sort_commands(&list_commands());
print &ui_table_row($text{'acl_cmds'},
    &ui_radio("cmds_def", $mode,
          [ [ 1, $text{'acl_call'} ],
            [ 0, $text{'acl_csel'} ],
            [ 2, $text{'acl_cexcept'} ] ])."<br>\n".
    &ui_select("cmds",
           [ split(/\s+/, $o->{'cmds'}) ],
           [ map { [ $_->{'id'}, $_->{'desc'} ] } @cmds ],
           10, 1), 3);

print &ui_table_row($text{'acl_edit'},
    &ui_yesno_radio("edit", $_[0]->{'edit'}));
}

# acl_security_save(&options, &in)
# Parse the form for security options for the custom module
sub acl_security_save
{
my ($o, $in) = @_;
if ($in->{'cmds_def'} == 1) {
    $o->{'cmds'} = "*";
    }
elsif ($in->{'cmds_def'} == 0) {
    $o->{'cmds'} = join(" ", split(/\0/, $in->{'cmds'}));
    }
else {
    $o->{'cmds'} = join(" ", "!", split(/\0/, $in->{'cmds'}));
    }
$o->{'edit'} = $in->{'edit'};
}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0034 ]--