!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/ldap-client/   drwxr-xr-x
Free 5.3 GB of 27.03 GB (19.6%)
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 (2.36 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Show icons for various categories of options

require './ldap-client-lib.pl';
&ui_print_header(undef, $module_info{'desc'}, "", "intro", 1, 1);

# Make sure the config file exists
my $cfile = &get_ldap_config_file();
if (!$cfile || !-r $cfile) {
    &foreign_require("software");
    $lnk = &software::missing_install_link("ldap", $text{'index_ldapmod'},
                        "../$module_name/", $module_info{'desc'});
    &ui_print_endpage(
        &ui_config_link('index_econf',
            [ "<tt>".$cfile."</tt>", undef ]).
        ($lnk ? "<p>\n".$lnk : ""));
    }

# Check for separate config files for PAM and NSS
if ($config{'pam_ldap'} && -r $config{'pam_ldap'} && !$config{'nofixpam'} &&
    !&same_file($config{'pam_ldap'}, &get_ldap_config_file())) {
    print "<center>\n";
    print &ui_form_start("fixpam.cgi");
    print &text('index_fixpam',
        "<tt>".&html_escape(&get_ldap_config_file())."</tt>",
        "<tt>".&html_escape($config{'pam_ldap'})."</tt>"),"<p>\n";
    print &ui_form_end([ [ undef, $text{'index_fix'} ],
                 [ "ignore", $text{'index_ignore'} ] ]);
    print "</center>\n";
    }

# Show icons for option categories
@pages = ( "server", "base", "pam", "switch", "browser" );
@links = map { $_ eq "browser" ? "browser.cgi" :
           $_ eq "switch" ?  "list_switches.cgi" :
                 "edit_".$_.".cgi" } @pages;
@titles = map { $text{$_."_title"} } @pages;
@icons = map { "images/".$_.".gif" } @pages;
&icons_table(\@links, \@titles, \@icons, 5);

print &ui_hr();
print &ui_buttons_start();

# Validate button
print &ui_buttons_row("check.cgi", $text{'index_check'},
              $text{'index_checkdesc'});

# LDAP server daemon
&foreign_require("init");
if ($config{'init_name'} &&
    ($st = &init::action_status($config{'init_name'}))) {
    # Start or stop
    if (&init::status_action($config{'init_name'}) == 1) {
        print &ui_buttons_row("restart.cgi", $text{'index_restart'},
                      $text{'index_restartdesc'});
        print &ui_buttons_row("stop.cgi", $text{'index_stop'},
                      $text{'index_stopdesc'});
        }
    else {
        print &ui_buttons_row("start.cgi", $text{'index_start'},
                      $text{'index_startdesc'});
        }

    # Start at boot
    print &ui_buttons_row("atboot.cgi",
                  $text{'index_atboot'},
                  $text{'index_atbootdesc'},
                  undef,
                  &ui_radio("boot", $st == 2 ? 1 : 0,
                [ [ 1, $text{'yes'} ], [ 0, $text{'no'} ] ]));
    }

print &ui_buttons_end();

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