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


Viewing file:     ldap-monitor.pl (1.51 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# ldap-monitor.pl
# Try an LDAP ldap on a server

sub get_ldap_status
{
# Check for the Perl module
eval "use Net::LDAP";
if ($@) {
    return { 'up' => -1,
         'desc' => &text('ldap_edriver', '<tt>Net::LDAP</tt>') };
    }

&foreign_require("ldap-client");
my $err = &ldap_client::generic_ldap_connect($_[0]->{'host'}, $_[0]->{'port'},
                         $_[0]->{'ssl'}, $_[0]->{'user'},
                         $_[0]->{'pass'});
if (!ref($err)) {
    return { 'up' => 0,
         'desc' => $err };
    }

return { 'up' => 1 };
}

sub show_ldap_dialog
{
print &ui_table_row($text{'ldap_host'},
    &ui_textbox("host", $_[0]->{'host'}, 60), 3);

print &ui_table_row($text{'ldap_port'},
    &ui_opt_textbox("port", $_[0]->{'port'}, 6, $text{'default'}));

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

print &ui_table_row($text{'ldap_user'},
    &ui_textbox("quser", $_[0]->{'user'}, 60), 3);

print &ui_table_row($text{'ldap_pass'},
    &ui_password("qpass", $_[0]->{'pass'}, 20), 3);
}

sub parse_ldap_dialog
{
eval "use Net::LDAP";
return &text('ldap_edriver', '<tt>Net::LDAP</tt>')  if ($@);

&to_ipaddress($in{'host'}) || &to_ip6address($in{'host'}) ||
    &error($text{'ldap_ehost'});
$_[0]->{'host'} = $in{'host'};

$in{'port_def'} || $in{'port'} =~ /^\d+$/ || &error($text{'ldap_eport'});
$_[0]->{'port'} = $in{'port_def'} ? undef : $in{'port'};

$_[0]->{'ssl'} = $in{'ssl'};

$in{'quser'} =~ /^\S*$/ || &error($text{'ldap_euser'});
$_[0]->{'user'} = $in{'quser'};

$in{'qpass'} =~ /^\S*$/ || &error($text{'ldap_epass'});
$_[0]->{'pass'} = $in{'qpass'};
}


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