Hackfut Security File Manager
Current Path:
/usr/lib/python2.6/site-packages
usr
/
lib
/
python2.6
/
site-packages
/
📁
..
📁
Babel-0.9.4-py2.6.egg-info
📄
Markdown-2.0.1-py2.6.egg-info
(1.31 KB)
📁
Pygments-1.1.1-py2.6.egg-info
📁
argparse-1.2.1-py2.6.egg-info
📄
argparse.py
(85.73 KB)
📄
argparse.pyc
(65.1 KB)
📄
argparse.pyo
(64.93 KB)
📁
babel
📁
backports
📁
backports.ssl_match_hostname-3.4.0.2-py2.6.egg-info
📁
boto
📁
boto-2.34.0-py2.6.egg-info
📁
chardet
📁
chardet-2.2.1-py2.6.egg-info
📁
clcommon
📄
clsudo.py
(12.65 KB)
📄
clsudo.pyc
(11.13 KB)
📄
clsudo.pyo
(11.13 KB)
📄
configobj-4.6.0-py2.6.egg-info
(312 B)
📄
configobj.py
(84.42 KB)
📄
configobj.pyc
(64.86 KB)
📄
configobj.pyo
(64.86 KB)
📁
dbus
📄
dbus_bindings.py
(33 B)
📄
dbus_bindings.pyc
(185 B)
📄
dbus_bindings.pyo
(185 B)
📁
distribute-0.6.10-py2.6.egg-info
📄
easy_install.py
(126 B)
📄
easy_install.pyc
(317 B)
📄
easy_install.pyo
(317 B)
📄
hwdata.py
(5.89 KB)
📄
hwdata.pyc
(4.44 KB)
📄
hwdata.pyo
(4.44 KB)
📁
iniparse
📄
iniparse-0.3.1-py2.6.egg-info
(1.06 KB)
📁
jsonpatch-1.2-py2.6.egg-info
📄
jsonpatch.py
(15.57 KB)
📄
jsonpatch.pyc
(17.07 KB)
📄
jsonpatch.pyo
(16.87 KB)
📄
jsonpointer-1.0-py2.6.egg-info
(302 B)
📄
jsonpointer.py
(6.46 KB)
📄
jsonpointer.pyc
(6.22 KB)
📄
jsonpointer.pyo
(6.22 KB)
📄
libproxy.py
(4.23 KB)
📄
libproxy.pyc
(3.9 KB)
📄
libproxy.pyo
(3.9 KB)
📁
markdown
📁
oauth
📁
oauth-1.0.1-py2.6.egg-info
📄
pciutils-1.7.3-py2.6.egg-info
(267 B)
📁
pip
📁
pip-7.1.0-py2.6.egg-info
📄
pkg_resources.py
(86.13 KB)
📄
pkg_resources.pyc
(90.7 KB)
📄
pkg_resources.pyo
(90.7 KB)
📁
prettytable-0.7.2-py2.6.egg-info
📄
prettytable.py
(52.93 KB)
📄
prettytable.pyc
(51.03 KB)
📄
prettytable.pyo
(50.06 KB)
📁
pygments
📁
pyzor
📁
pyzor-1.0.0-py2.6.egg-info
📁
requests
📄
requests-2.6.0-py2.6.egg-info
(39.41 KB)
📁
rhn
📄
rhnlib-2.5.22-py2.6.egg-info
(339 B)
📁
rpmUtils
📄
secureio.py
(9.01 KB)
📄
secureio.pyc
(4.61 KB)
📄
secureio.pyo
(4.61 KB)
📁
setools
📁
setuptools
📄
setuptools-0.6c11-py2.6.egg-info
(144 B)
📄
setuptools.pth
(34 B)
📄
site.py
(2.31 KB)
📄
site.pyc
(1.73 KB)
📄
site.pyo
(1.73 KB)
📄
six-1.9.0-py2.6.egg-info
(1.39 KB)
📄
six.py
(28.97 KB)
📄
six.pyc
(29.18 KB)
📄
six.pyo
(29.18 KB)
📁
sos
📁
supervisor
📄
supervisor-2.1-py2.6.egg-info
(797 B)
📁
urlgrabber
📄
urlgrabber-3.9.1-py2.6.egg-info
(2.23 KB)
📁
urllib3
📁
urllib3-1.10.2-py2.6.egg-info
📄
validate.py
(45.67 KB)
📄
validate.pyc
(46.27 KB)
📄
validate.pyo
(46.27 KB)
📁
yum
📁
yumutils
Editing: site.py
def __boot(): import sys, imp, os, os.path PYTHONPATH = os.environ.get('PYTHONPATH') if PYTHONPATH is None or (sys.platform=='win32' and not PYTHONPATH): PYTHONPATH = [] else: PYTHONPATH = PYTHONPATH.split(os.pathsep) pic = getattr(sys,'path_importer_cache',{}) stdpath = sys.path[len(PYTHONPATH):] mydir = os.path.dirname(__file__) #print "searching",stdpath,sys.path for item in stdpath: if item==mydir or not item: continue # skip if current dir. on Windows, or my own directory importer = pic.get(item) if importer is not None: loader = importer.find_module('site') if loader is not None: # This should actually reload the current module loader.load_module('site') break else: try: stream, path, descr = imp.find_module('site',[item]) except ImportError: continue if stream is None: continue try: # This should actually reload the current module imp.load_module('site',stream,path,descr) finally: stream.close() break else: raise ImportError("Couldn't find the real 'site' module") #print "loaded", __file__ known_paths = dict([(makepath(item)[1],1) for item in sys.path]) # 2.2 comp oldpos = getattr(sys,'__egginsert',0) # save old insertion position sys.__egginsert = 0 # and reset the current one for item in PYTHONPATH: addsitedir(item) sys.__egginsert += oldpos # restore effective old position d,nd = makepath(stdpath[0]) insert_at = None new_path = [] for item in sys.path: p,np = makepath(item) if np==nd and insert_at is None: # We've hit the first 'system' path entry, so added entries go here insert_at = len(new_path) if np in known_paths or insert_at is None: new_path.append(item) else: # new path after the insert point, back-insert it new_path.insert(insert_at, item) insert_at += 1 sys.path[:] = new_path if __name__=='site': __boot() del __boot
Upload File
Create Folder