!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/lib/python2.4/site-packages/rhpl/   drwxr-xr-x
Free 3.73 GB of 27.03 GB (13.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     genModule.py (1.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#
# genModule.py: make python modules on the fly
#
# Peter Jones <pjones@redhat.com>
#
# Copyright 2005 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# library public license.
#
# You should have received a copy of the GNU Library Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
def create(mname, attrs):
    import imp

    m = imp.new_module(mname)
    del imp
    for k,v in attrs.items():
        setattr(m, k, v)
    return m

def install(mname, m):
    import sys
    sys.modules[mname] = m
    del sys

def generate(parent, mname, attrs):
    m = create(mname, attrs)
    # if parent isn't in sys.modules, this won't work...
    install(parent + '.' + mname, m)
    return m
    
# this is just a set of random examples, really
if __name__ == '__main__':
    m = create('a', {'b': lambda x: x})

    import sys
    sys.modules['a'] = m

    print m.b(1)

    import a
    print a.b(2)

    def zoink(x):
        print x

    generate('__main__', 'bar', {'baz': zoink})
    from __main__.bar import baz
    baz(3)

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.003 ]--