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


Viewing file:     mailq-monitor.pl (1.33 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# Check if a mail queue is too long

sub get_mailq_status
{
local $m = $_[0]->{'mod'};
return { 'up' => -1 } if (!&foreign_installed($m));
local @qfiles;
if ($m eq "sendmail") {
    &foreign_require("sendmail", "sendmail-lib.pl");
    @qfiles = &sendmail::list_mail_queue();
    }
elsif ($m eq "qmailadmin") {
    &foreign_require("qmailadmin", "qmail-lib.pl");
    @qfiles = &qmailadmin::list_queue();
    }
elsif ($m eq "postfix") {
    &foreign_require("postfix", "postfix-lib.pl");
    eval {
        local $main::error_must_die = 1;
        @qfiles = &postfix::list_queue();
        };
    if ($@) {
        return { 'up' => -1,
             'desc' => $@ };
        }
    }
if (@qfiles > $_[0]->{'size'}) {
    return { 'up' => 0,
         'value' => scalar(@qfiles),
         'desc' => "<font color=#ff0000>".&text('mailq_toomany', scalar(@qfiles))."</font>" };
    }
else {
    return { 'up' => 1,
         'value' => scalar(@qfiles),
         'desc' => &text('mailq_ok', scalar(@qfiles)) };
    }
}

sub show_mailq_dialog
{
# Mail system to check
print &ui_table_row($text{'mailq_system'},
    &ui_select("mod", $_[0]->{'mod'},
        [ map { [ $_, $text{'mailq_'.$_} ] }
          ("sendmail", "qmailadmin", "postfix") ]));

# Max queue size
print &ui_table_row($text{'mailq_size'},
    &ui_textbox("size", $_[0]->{'size'}, 10));
}

sub parse_mailq_dialog
{
$_[0]->{'mod'} = $in{'mod'};
$in{'size'} =~ /^\d+$/ || &error($text{'mailq_esize'});
$_[0]->{'size'} = $in{'size'};
}


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