!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/opt/alt/python27/lib64/python2.7/site-packages/guppy/etc/   drwxr-xr-x
Free 221.97 GB of 981.82 GB (22.61%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ExecfileWithModuleInfo.py (1.71 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#._cv_part guppy.etc.ExecfileWithModuleInfo

import sys, os, imp, md5

_VERBOSE   = True
_RELOAD_ALWAYS = True # False
_MAGIC = '#._cv_part'

modsums = {}

def pyname(m):
    fname = m.__file__
    if not fname.endswith('.py'):
    se = os.path.splitext(fname)
    fname = se[0]+'.py'
    return fname

def calc_stringsum(s):
    return md5.md5(s).digest()
    
def calc_modsum(m):
    return calc_stringsum(open(pyname(m)).read())

def execfile(filename, globs=None, locs=None):
    if globs==None:
    # Do this in an interior frame to not change caller's sys.exc_info()
    def get_globs():
        try:
        1/0
        except:
        try:
            typ, val, trb = sys.exc_info()
            frame = trb.tb_frame.f_back.f_back
            globs = frame.f_globals
        finally:
            del typ,val,trb
        return globs
    globs = get_globs()

    file = open(filename)

    text = file.read()
    file.close()

    if text.startswith(_MAGIC):
    ix = len(_MAGIC)
    else:
    ix = text.find('\n'+_MAGIC)
    if ix == -1:
        code = compile(text, filename, 'exec')
        exec code in globs, locs
        return
    ix = ix + len(_MAGIC) + 1

    eix = text.find('\n', ix)
    name = text[ix:eix]
    name=name.strip()
    m = sys.modules.get(name)
    if m is None:
    if _VERBOSE:
        print '%s.execfile: importing'%__name__, name
    __import__(name, globs, locs, [])
    m = sys.modules[name]

    msum = calc_modsum(m)
    modsums[m.__name__] = msum
    tsum = calc_stringsum(text)
    else:
    msum = modsums.get(m.__name__)
    if msum != calc_modsum(m):
        msum = ''
    tsum = calc_stringsum(text)
    
    if _RELOAD_ALWAYS or msum != tsum:
    if _VERBOSE:
        print '%s.execfile: reloading'%__name__, name
    fname = pyname(m)
    code = compile(text, fname, 'exec')
    exec code in m.__dict__
    modsums[m.__name__] = tsum
        




:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0091 ]--