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


Viewing file:     restart.cgi (1019 B)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# restart.cgi
# Send a SIGHUP to apache

require './apache-lib.pl';
&ReadParse();
&error_setup($text{'restart_err'});

$access{'apply'} || &error($text{'restart_ecannot'});
$conf = &get_config();

if ($config{'test_config'}) {
    $err = &test_config();
    &error("<pre>".&html_escape($err)."</pre>") if ($err);
    }
$err = &restart_apache();
&error($err) if ($err);

# Check if restart was successful.. some config file error may have caused it
# to silently fail
for($i=0; $i<5; $i++) {
    if (&is_apache_running()) {
        $running = 1;
        last;
        }
    sleep(1);
    }
if (!$running) {
    # Not running..  find out why
    $errorlogstr = &find_directive_struct("ErrorLog", $conf);
    $errorlog = $errorlogstr ? $errorlogstr->{'words'}->[0]
                 : "logs/error_log";
    if ($errorlog eq 'syslog' || $errorlog =~ /^\|/) {
        &error($text{'restart_eunknown'});
        }
    else {
        $errorlog = &server_root($errorlog, $conf);
        $out = `tail -5 $errorlog`;
        &error("<pre>$out</pre>");
        }
    }
&webmin_log("apply");
&redirect($in{'redir'});


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