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


Viewing file:     edit_auth.cgi (1.42 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# edit_auth.cgi
# Display commands and allowed users

require './mon-lib.pl';
&ui_print_header(undef, $text{'auth_title'}, "");

$file = &mon_auth_file();
open(FILE, $file);
while(<FILE>) {
    s/\r|\n//g;
    s/#.*$//;
    if (/^(\S+):\s*(.*)$/) {
        $auth{$1} = [ split(/,/, $2) ];
        }
    }
close(FILE);

print "$text{'auth_desc'}<p>\n";

print "<form action=save_auth.cgi method=post>\n";
print "<table border>\n";
print "<tr $tb> <td><b>$text{'auth_cmd'}</b></td> ",
      "<td><b>$text{'auth_users'}</b></td> </tr>\n";
printf "<input type=hidden name=types value='%s'>\n", join(" ", keys %auth);
foreach $a (&list_auth_types()) {
    local @au = @{$auth{$a}};
    print "<tr $cb> <td><b>$a</b></td> <td>\n";
    printf "<input type=radio name=${a}_mode value=2 %s> %s\n",
        @au ? "" : "checked", $text{'auth_none'};
    printf "<input type=radio name=${a}_mode value=1 %s> %s\n",
        $au[0] eq "all" ? "checked" : "", $text{'auth_all'};
    printf "<input type=radio name=${a}_mode value=0 %s> %s\n",
        @au && $au[0] ne "all" ? "checked" : "",
        $text{'auth_sel'};
    printf "<input name=$a size=40 value='%s'> %s</td> </tr>\n",
        $au[0] eq "all" ? "" : join(" ", @{$auth{$a}}),
        &user_chooser_button($a, 0);
    delete($auth{$a});
    }
print "</table>\n";
foreach $a (keys %auth) {
    print "<input type=hidden name=$a value='",
        join(",", @{$auth{$a}}),"'>\n";
    }
print "<input type=submit value='$text{'save'}'></form>\n";

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


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