!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 5.34 GB of 27.03 GB (19.75%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     edit_global.cgi (2.01 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# edit_global.cgi
# Edit global MON paths

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

print "<form action=save_global.cgi>\n";
print "<table border>\n";
print "<tr $tb> <td><b>$text{'global_header'}</b></td> </tr>\n";
print "<tr $cb> <td><table width=100%>\n";

$maxprocs = &find_value("maxprocs", $conf);
print "<tr> <td><b>$text{'global_maxprocs'}</b></td> <td>\n";
print "<input name=maxprocs size=6 value='$maxprocs'></td>\n";

$histlength = &find_value("histlength", $conf);
print "<td><b>$text{'global_histlength'}</b></td> <td>\n";
print "<input name=histlength size=6 value='$histlength'></td> </tr>\n";

$authtype = &find_value("authtype", $conf);
print "<tr> <td><b>$text{'global_authtype'}</b></td>\n";
print "<td><select name=authtype>\n";
foreach $t ('', 'getpwnam', 'userfile', 'shadow') {
    printf "<option value='%s' %s>%s</option>\n",
        $t, $authtype eq $t ? "selected" : "",
        $text{"global_authtype_$t"};
    }
print "</select></td> </tr>\n";

$userfile = &find_value("userfile", $conf);
print "<tr> <td><b>$text{'global_userfile'}</b></td> <td colspan=3>\n";
printf "<input type=radio name=userfile_def value=1 %s> %s\n",
    $userfile ? "" : "checked", $text{'default'};
printf "<input type=radio name=userfile_def value=0 %s>\n",
    $userfile ? "checked" : "";
print "<input name=userfile size=40 value='$userfile'> ",
    &file_chooser_button("userfile", 0),"</td> </tr>\n";

$alertdir = &find_value("alertdir", $conf);
print "<tr> <td><b>$text{'global_alertdir'}</b></td> <td colspan=3>\n";
print "<input name=alertdir size=40 value='$alertdir'> ",
    &file_chooser_button("alertdir", 1),"</td> </tr>\n";

$mondir = &find_value("mondir", $conf);
print "<tr> <td><b>$text{'global_mondir'}</b></td> <td colspan=3>\n";
print "<input name=mondir size=40 value='$mondir'> ",
    &file_chooser_button("mondir", 1),"</td> </tr>\n";

print "</table></td></tr></table>\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.0031 ]--