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


Viewing file:     invest-applet (2.52 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/env python # import gobject import gtk, gnomeapplet import getopt, sys from os.path import * # Allow to use uninstalled def _check(path): return exists(path) and isdir(path) and isfile(path+"/ChangeLog") name = join(dirname(__file__), '..') if _check(name): print 'Running uninstalled invest, modifying PYTHONPATH' sys.path.insert(0, abspath(name)) else: sys.path.insert(0, abspath("/usr/lib/python2.4/site-packages/")) print "Running installed invest, using [/usr/lib/python2.4/site-packages/:$PYTHONPATH]" # Now the path is set, import our applet import invest, invest.applet, invest.defs # Prepare i18n import gettext, locale gettext.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) gettext.textdomain(invest.defs.GETTEXT_PACKAGE) locale.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) locale.textdomain(invest.defs.GETTEXT_PACKAGE) gtk.glade.bindtextdomain(invest.defs.GETTEXT_PACKAGE, invest.defs.GNOMELOCALEDIR) gtk.glade.textdomain(invest.defs.GETTEXT_PACKAGE) from gettext import gettext as _ def applet_factory(applet, iid): print 'Starting invest instance:', applet, iid invest.applet.InvestApplet(applet) return True # Return a standalone window that holds the applet def build_window(): app = gtk.Window(gtk.WINDOW_TOPLEVEL) app.set_title(_("Invest Applet")) app.connect("destroy", gtk.main_quit) app.set_property('resizable', False) applet = gnomeapplet.Applet() applet_factory(applet, None) applet.reparent(app) app.show_all() return app def usage(): print """=== Invest applet: Usage $ invest-applet [OPTIONS] OPTIONS: -h, --help Print this help notice. -d, --debug Enable debug output (default=off). -w, --window Launch the applet in a standalone window for test purposes (default=no). """ sys.exit() if __name__ == "__main__": standalone = False try: opts, args = getopt.getopt(sys.argv[1:], "hdw", ["help", "debug", "window"]) except getopt.GetoptError: # Unknown args were passed, we fallback to bahave as if # no options were passed opts = [] args = sys.argv[1:] for o, a in opts: if o in ("-h", "--help"): usage() elif o in ("-d", "--debug"): print "No problems so far." elif o in ("-w", "--window"): standalone = True if standalone: import gnome gnome.init(invest.defs.PACKAGE, invest.defs.VERSION) build_window() gtk.main() else: gnomeapplet.bonobo_factory( "OAFIID:Invest_Applet_Factory", gnomeapplet.Applet.__gtype__, invest.defs.PACKAGE, invest.defs.VERSION, applet_factory)

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