!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/firewall/   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:     acl_security.pl (1.41 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

do 'firewall-lib.pl';
@acl_features = ("newchain", "delchain", "policy", "apply", "unapply", "bootup", "setup", "cluster");

# acl_security_form(&options)
# Output HTML for editing security options for the acl module
sub acl_security_form
{
# Show editable tables
print "<tr> <td valign=top><b>$text{'acl_tables'}</b></td> <td colspan=3>\n";
local $t;
foreach $t (@known_tables) {
    printf "<input type=checkbox name=%s value=1 %s> %s<br>\n",
        $t, $_[0]->{$t} ? "checked" : "", $text{'index_table_'.$t};
    }
print "</td> </tr>\n";

# Show allowed target types
print "<tr> <td><b>$text{'acl_jumps'}</b></td>\n";
print "<td colspan=3>",&ui_opt_textbox("jumps", $_[0]->{'jumps'}, 40,
                       $text{'acl_jall'}),"</td> </tr>\n";

# Show bootup/apply options
local ($f, $i);
foreach $f (@acl_features) {
    print "<tr>\n" if ($i%2 == 0);
    print "<td><b>",$text{'acl_'.$f},"</b></td> <td>\n";
    printf "<input type=radio name=%s value=1 %s> %s\n",
        $f, $_[0]->{$f} ? "checked" : "", $text{'yes'};
    printf "<input type=radio name=%s value=0 %s> %s</td>\n",
        $f, $_[0]->{$f} ? "" : "checked", $text{'no'};
    print "</tr>\n" if ($i++%2 == 1);
    }
}

# acl_security_save(&options)
# Parse the form for security options for the acl module
sub acl_security_save
{
local $t;
foreach $t (@known_tables) {
    $_[0]->{$t} = $in{$t};
    }
local $f;
foreach $f (@acl_features) {
    $_[0]->{$f} = $in{$f};
    }
$_[0]->{'jumps'} = $in{'jumps_def'} ? undef : $in{'jumps'};
}


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