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


Viewing file:     index.cgi (1.52 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# index.cgi

require './mon-lib.pl';
&ui_print_header(undef, $text{'index_title'}, "","intro", 1, 1, 0
    &help_search_link("mon", "man", "doc", "google"));

# Check if mon is installed
if (!-r $mon_config_file) {
    print "<p>",&text('err_nomonconf', "<tt>$mon_config_file</tt>",
              "$gconfig{'webprefix'}/config.cgi?$module_name"),"<p>\n";
    &ui_print_footer("/", $text{'index'});
    exit;
    }

# print icons
@opts     = ( 'global', 'groups', 'watches', 'periods', 'users', 'auth',
        'status', 'show' );
@links     = ( 'edit_global.cgi', 'list_groups.cgi', 'list_watches.cgi',
        'list_periods.cgi', 'list_users.cgi', 'edit_auth.cgi', 'mon.cgi',
        'monshow.cgi' );
@titles = map { $text{"${_}_title"} } @opts;
@icons     = map { "images/${_}.gif" } @opts;
&icons_table(\@links, \@titles, \@icons);

# check if mon is running
print &ui_hr();
print "<table width=100%>\n";
if (&check_pid_file($config{'pid_file'})) {
    print "<tr><form action=stop.cgi>\n";
    print "<td><input type=submit value=\"$text{'mon_stop'}\"></td>\n";
    print "<td>$text{'mon_stopdesc'}</td>\n";
    print "</form></tr>\n";

    print "<tr><form action=restart.cgi>\n";
    print "<td><input type=submit value=\"$text{'mon_restart'}\"></td>\n";
    print "<td>$text{'mon_restartdesc'}</td>\n";
    print "</form></tr>\n";
    close(PID);
    }
else {
    print "<tr><form action=start.cgi>\n";
    print "<td><input type=submit value=\"$text{'mon_start'}\"></td>\n";
    print "<td>$text{'mon_startdesc'}</td>\n";
    print "</form></tr>\n";
    }
print "</table>\n";

&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. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0039 ]--