!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/share/webmin/status/   drwxr-xr-x
Free 25.33 GB of 117.98 GB (21.47%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    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. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0038 ]--