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


Viewing file:     getproxy (1.85 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/python
# Wrapper script to get proxy information out of gconf and launch
# things with it in the environment.
#
# Copyright 2007, Red Hat, Inc.
# Jeremy Katz <katzj@redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 only
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


import gconf
import os, sys
import subprocess

if len(sys.argv) < 2:
    print >> sys.stderr, "Need a command to run"
    sys.exit(1)

try:
    client = gconf.client_get_default()
except:
    client = None

if client and client.get_bool("/system/http_proxy/use_http_proxy"):
    host = client.get_string("/system/http_proxy/host")
    port = client.get_int("/system/http_proxy/port")
    if port == 0:  # default to something reasonable
        port = 8080
    # don't set the environment variable if using authentication as
    # that can lead to it being snooped
    if host and not client.get_bool("/system/http_proxy/use_authentication"):
        os.environ["http_proxy"] = "%s:%d" %(host, port)


if client and client.get_string("/system/proxy/ftp_host"):
    host = client.get_string("/system/proxy/ftp_host")
    port = client.get_int("/system/proxy/ftp_port")
    if port == 0:
        os.environ["ftp_proxy"] = "%s" %(host,)
    else:
        os.environ["ftp_proxy"] = "%s:%d" %(host, port)

rc = subprocess.call(sys.argv[1:])
sys.exit(rc)

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