!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/spam/   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_setup.cgi (1.57 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# edit_setup.cgi
# Display a form for setting up SpamAssassin, either locally or globally

require './spam-lib.pl';
&can_use_check("setup");
&ui_print_header(undef, $text{'setup_title'}, "");

&foreign_require("procmail", "procmail-lib.pl");
@pmrcs = &get_procmailrc();
$pmrc = $pmrcs[$#pmrcs];
if ($module_info{'usermin'}) {
    print &text('setup_desc_usermin', "<tt>$pmrc</tt>"),"<p>\n";
    }
else {
    print &text('setup_desc_webmin', "<tt>$pmrc</tt>"),"<p>\n";
    }

print &ui_form_start("setup.cgi", "post");
print &ui_table_start(undef, undef, 2);
print $form_hiddens;

# Spam destination inputs
$mbox = $module_info{'usermin'} ? "mail/spam" : "\$HOME/spam";
print &ui_table_row($text{'setup_to'},
    &ui_radio_table("to", 1,
      [ [ 0, $text{'setup_null'} ],
        [ 4, $text{'setup_default'} ],
        [ 1, $text{'setup_file'},
         &ui_textbox("mbox", $mbox, 40) ],
        [ 2, $text{'setup_maildir'},
         &ui_textbox("maildir", "", 40) ],
        [ 3, $text{'setup_mhdir'},
         &ui_textbox("mhdir", "", 40) ],
        [ 5, $text{'setup_email'},
         &ui_textbox("email", "", 40) ] ]));

# Run mode input
if (!$module_info{'usermin'}) {
    print &ui_table_row($text{'setup_drop'},
        &ui_radio("drop", 1, [ [ 1, $text{'setup_drop1'} ],
                       [ 0, $text{'setup_drop0'} ] ]));
    }

# Message about path
if ($module_info{'usermin'}) {
    $msg = "$text{'setup_rel'}<p>\n";
    }
else {
    $msg = "$text{'setup_home'}<p>\n";
    }
$msg .= "$text{'setup_head'}<p>\n";
print &ui_table_row(undef, $msg, 2);

print &ui_table_end();
print &ui_form_end([ [ undef, $text{'setup_ok'} ] ]);

&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.0148 ]--