Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
[ HOME SHELL ]
Name
Size
Permission
Action
Babel-2.8.0.egg-info
[ DIR ]
drwxr-xr-x
CommandNotFound
[ DIR ]
drwxr-xr-x
DistUpgrade
[ DIR ]
drwxr-xr-x
Django-3.2.12.egg-info
[ DIR ]
drwxr-xr-x
Genshi-0.7.6.egg-info
[ DIR ]
drwxr-xr-x
HweSupportStatus
[ DIR ]
drwxr-xr-x
Jinja2-3.0.3.egg-info
[ DIR ]
drwxr-xr-x
MarkupSafe-2.0.1.egg-info
[ DIR ]
drwxr-xr-x
MySQLdb
[ DIR ]
drwxr-xr-x
OpenSSL
[ DIR ]
drwxr-xr-x
PyGObject-3.42.1.egg-info
[ DIR ]
drwxr-xr-x
PyGreSQL-5.1.2.egg-info
[ DIR ]
drwxr-xr-x
PyJWT-2.3.0.egg-info
[ DIR ]
drwxr-xr-x
PyYAML-5.4.1.egg-info
[ DIR ]
drwxr-xr-x
Pygments-2.11.2.egg-info
[ DIR ]
drwxr-xr-x
S3
[ DIR ]
drwxr-xr-x
SecretStorage-3.3.1.egg-info
[ DIR ]
drwxr-xr-x
Sphinx-4.3.2.egg-info
[ DIR ]
drwxr-xr-x
Trac-1.5.3.egg-info
[ DIR ]
drwxr-xr-x
UpdateManager
[ DIR ]
drwxr-xr-x
__pycache__
[ DIR ]
drwxr-xr-x
_distutils_hack
[ DIR ]
drwxr-xr-x
_yaml
[ DIR ]
drwxr-xr-x
alabaster
[ DIR ]
drwxr-xr-x
alabaster-0.7.12.egg-info
[ DIR ]
drwxr-xr-x
apport
[ DIR ]
drwxr-xr-x
apt
[ DIR ]
drwxr-xr-x
apt_inst-stubs
[ DIR ]
drwxr-xr-x
apt_pkg-stubs
[ DIR ]
drwxr-xr-x
aptsources
[ DIR ]
drwxr-xr-x
asgiref
[ DIR ]
drwxr-xr-x
asgiref-3.5.0.egg-info
[ DIR ]
drwxr-xr-x
attr
[ DIR ]
drwxr-xr-x
attrs-21.2.0.egg-info
[ DIR ]
drwxr-xr-x
awscli
[ DIR ]
drwxr-xr-x
awscli-1.22.34.egg-info
[ DIR ]
drwxr-xr-x
babel
[ DIR ]
drwxr-xr-x
blinker
[ DIR ]
drwxr-xr-x
boto
[ DIR ]
drwxr-xr-x
boto-2.49.0.egg-info
[ DIR ]
drwxr-xr-x
botocore
[ DIR ]
drwxr-xr-x
botocore-1.23.34.egg-info
[ DIR ]
drwxr-xr-x
certifi
[ DIR ]
drwxr-xr-x
certifi-2020.6.20.egg-info
[ DIR ]
drwxr-xr-x
chardet
[ DIR ]
drwxr-xr-x
chardet-4.0.0.egg-info
[ DIR ]
drwxr-xr-x
colorama
[ DIR ]
drwxr-xr-x
colorama-0.4.4.egg-info
[ DIR ]
drwxr-xr-x
configobj-5.0.6.egg-info
[ DIR ]
drwxr-xr-x
cryptography
[ DIR ]
drwxr-xr-x
cryptography-3.4.8.egg-info
[ DIR ]
drwxr-xr-x
curl
[ DIR ]
drwxr-xr-x
dateutil
[ DIR ]
drwxr-xr-x
dbus
[ DIR ]
drwxr-xr-x
dbus_python-1.2.18.egg-info
[ DIR ]
drwxr-xr-x
debian
[ DIR ]
drwxr-xr-x
debian_bundle
[ DIR ]
drwxr-xr-x
devscripts
[ DIR ]
drwxr-xr-x
devscripts-2.22.1ubuntu1.egg-i...
[ DIR ]
drwxr-xr-x
distlib
[ DIR ]
drwxr-xr-x
distlib-0.3.4.egg-info
[ DIR ]
drwxr-xr-x
distro
[ DIR ]
drwxr-xr-x
distro-1.7.0.egg-info
[ DIR ]
drwxr-xr-x
distro_info-1.1+ubuntu0.2.egg-...
[ DIR ]
drwxr-xr-x
django
[ DIR ]
drwxr-xr-x
docutils
[ DIR ]
drwxr-xr-x
docutils-0.17.1.egg-info
[ DIR ]
drwxr-xr-x
duplicity
[ DIR ]
drwxr-xr-x
duplicity-0.8.21.egg-info
[ DIR ]
drwxr-xr-x
fail2ban
[ DIR ]
drwxr-xr-x
fail2ban-0.11.2.egg-info
[ DIR ]
drwxr-xr-x
fasteners
[ DIR ]
drwxr-xr-x
fasteners-0.14.1.egg-info
[ DIR ]
drwxr-xr-x
filelock
[ DIR ]
drwxr-xr-x
filelock-3.6.0.egg-info
[ DIR ]
drwxr-xr-x
future
[ DIR ]
drwxr-xr-x
future-0.18.2.egg-info
[ DIR ]
drwxr-xr-x
genshi
[ DIR ]
drwxr-xr-x
gi
[ DIR ]
drwxr-xr-x
hgdemandimport
[ DIR ]
drwxr-xr-x
hgext
[ DIR ]
drwxr-xr-x
hgext3rd
[ DIR ]
drwxr-xr-x
httplib2
[ DIR ]
drwxr-xr-x
httplib2-0.20.2.egg-info
[ DIR ]
drwxr-xr-x
idna
[ DIR ]
drwxr-xr-x
idna-3.3.egg-info
[ DIR ]
drwxr-xr-x
imagesize-1.3.0.egg-info
[ DIR ]
drwxr-xr-x
importlib_metadata
[ DIR ]
drwxr-xr-x
importlib_metadata-4.6.4.egg-i...
[ DIR ]
drwxr-xr-x
iotop
[ DIR ]
drwxr-xr-x
janitor
[ DIR ]
drwxr-xr-x
jeepney
[ DIR ]
drwxr-xr-x
jeepney-0.7.1.dist-info
[ DIR ]
drwxr-xr-x
jinja2
[ DIR ]
drwxr-xr-x
jmespath
[ DIR ]
drwxr-xr-x
jmespath-0.10.0.egg-info
[ DIR ]
drwxr-xr-x
jsonpatch-1.32.egg-info
[ DIR ]
drwxr-xr-x
jsonpointer-2.0.egg-info
[ DIR ]
drwxr-xr-x
jsonschema
[ DIR ]
drwxr-xr-x
jsonschema-3.2.0.egg-info
[ DIR ]
drwxr-xr-x
jwt
[ DIR ]
drwxr-xr-x
keyring
[ DIR ]
drwxr-xr-x
keyring-23.5.0.egg-info
[ DIR ]
drwxr-xr-x
launchpadlib
[ DIR ]
drwxr-xr-x
launchpadlib-1.10.16.egg-info
[ DIR ]
drwxr-xr-x
lazr
[ DIR ]
drwxr-xr-x
lazr.restfulclient-0.14.4.egg-...
[ DIR ]
drwxr-xr-x
lazr.uri-1.0.6.egg-info
[ DIR ]
drwxr-xr-x
libfuturize
[ DIR ]
drwxr-xr-x
libpasteurize
[ DIR ]
drwxr-xr-x
lockfile
[ DIR ]
drwxr-xr-x
lockfile-0.12.2.egg-info
[ DIR ]
drwxr-xr-x
magic
[ DIR ]
drwxr-xr-x
markupsafe
[ DIR ]
drwxr-xr-x
mercurial
[ DIR ]
drwxr-xr-x
monotonic-1.6.egg-info
[ DIR ]
drwxr-xr-x
more_itertools
[ DIR ]
drwxr-xr-x
more_itertools-8.10.0.egg-info
[ DIR ]
drwxr-xr-x
mysqlclient-1.4.6.egg-info
[ DIR ]
drwxr-xr-x
netifaces-0.11.0.egg-info
[ DIR ]
drwxr-xr-x
numpy
[ DIR ]
drwxr-xr-x
numpy-1.21.5.egg-info
[ DIR ]
drwxr-xr-x
oauthlib
[ DIR ]
drwxr-xr-x
oauthlib-3.2.0.egg-info
[ DIR ]
drwxr-xr-x
packaging
[ DIR ]
drwxr-xr-x
packaging-21.3.egg-info
[ DIR ]
drwxr-xr-x
past
[ DIR ]
drwxr-xr-x
pexpect
[ DIR ]
drwxr-xr-x
pip
[ DIR ]
drwxr-xr-x
pip-22.0.2.dist-info
[ DIR ]
drwxr-xr-x
pkg_resources
[ DIR ]
drwxr-xr-x
platformdirs
[ DIR ]
drwxr-xr-x
platformdirs-2.5.1.dist-info
[ DIR ]
drwxr-xr-x
psycopg2
[ DIR ]
drwxr-xr-x
psycopg2-2.9.2.egg-info
[ DIR ]
drwxr-xr-x
ptyprocess
[ DIR ]
drwxr-xr-x
ptyprocess-0.7.0.dist-info
[ DIR ]
drwxr-xr-x
pyOpenSSL-21.0.0.egg-info
[ DIR ]
drwxr-xr-x
pyasn1
[ DIR ]
drwxr-xr-x
pyasn1-0.4.8.egg-info
[ DIR ]
drwxr-xr-x
pycurl-7.44.1.egg-info
[ DIR ]
drwxr-xr-x
pygments
[ DIR ]
drwxr-xr-x
pygtkcompat
[ DIR ]
drwxr-xr-x
pyparsing-2.4.7.egg-info
[ DIR ]
drwxr-xr-x
pyrsistent
[ DIR ]
drwxr-xr-x
pyrsistent-0.18.1.egg-info
[ DIR ]
drwxr-xr-x
pyserial-3.5.egg-info
[ DIR ]
drwxr-xr-x
pysvn
[ DIR ]
drwxr-xr-x
pysvn-1.9.15.egg-info
[ DIR ]
drwxr-xr-x
python_apt-2.4.0+ubuntu4.1.egg...
[ DIR ]
drwxr-xr-x
python_dateutil-2.8.1.egg-info
[ DIR ]
drwxr-xr-x
python_debian-0.1.43+ubuntu1.1...
[ DIR ]
drwxr-xr-x
python_magic-0.4.24.egg-info
[ DIR ]
drwxr-xr-x
pytz
[ DIR ]
drwxr-xr-x
pytz-2022.1.egg-info
[ DIR ]
drwxr-xr-x
requests
[ DIR ]
drwxr-xr-x
requests-2.25.1.egg-info
[ DIR ]
drwxr-xr-x
roman-3.3.egg-info
[ DIR ]
drwxr-xr-x
rsa
[ DIR ]
drwxr-xr-x
rsa-4.8.egg-info
[ DIR ]
drwxr-xr-x
s3cmd-2.2.0.egg-info
[ DIR ]
drwxr-xr-x
s3transfer
[ DIR ]
drwxr-xr-x
s3transfer-0.5.0.egg-info
[ DIR ]
drwxr-xr-x
secretstorage
[ DIR ]
drwxr-xr-x
serial
[ DIR ]
drwxr-xr-x
setuptools
[ DIR ]
drwxr-xr-x
setuptools-59.6.0.egg-info
[ DIR ]
drwxr-xr-x
simplejson
[ DIR ]
drwxr-xr-x
simplejson-3.17.6.egg-info
[ DIR ]
drwxr-xr-x
six-1.16.0.egg-info
[ DIR ]
drwxr-xr-x
snowballstemmer
[ DIR ]
drwxr-xr-x
snowballstemmer-2.2.0.egg-info
[ DIR ]
drwxr-xr-x
softwareproperties
[ DIR ]
drwxr-xr-x
sos
[ DIR ]
drwxr-xr-x
sos-4.10.2.egg-info
[ DIR ]
drwxr-xr-x
sphinx
[ DIR ]
drwxr-xr-x
sqlparse
[ DIR ]
drwxr-xr-x
sqlparse-0.4.2.egg-info
[ DIR ]
drwxr-xr-x
ssh_import_id
[ DIR ]
drwxr-xr-x
ssh_import_id-5.11.egg-info
[ DIR ]
drwxr-xr-x
systemd
[ DIR ]
drwxr-xr-x
trac
[ DIR ]
drwxr-xr-x
tracopt
[ DIR ]
drwxr-xr-x
twisted
[ DIR ]
drwxr-xr-x
uaclient
[ DIR ]
drwxr-xr-x
ubuntu_pro_client-8001.egg-inf...
[ DIR ]
drwxr-xr-x
ufw
[ DIR ]
drwxr-xr-x
unattended_upgrades-0.1.egg-in...
[ DIR ]
drwxr-xr-x
urllib3
[ DIR ]
drwxr-xr-x
urllib3-1.26.5.egg-info
[ DIR ]
drwxr-xr-x
virtualenv
[ DIR ]
drwxr-xr-x
virtualenv-20.13.0+ds.dist-inf...
[ DIR ]
drwxr-xr-x
wadllib
[ DIR ]
drwxr-xr-x
wadllib-1.3.6.egg-info
[ DIR ]
drwxr-xr-x
wheel
[ DIR ]
drwxr-xr-x
wheel-0.37.1.egg-info
[ DIR ]
drwxr-xr-x
xapian
[ DIR ]
drwxr-xr-x
yaml
[ DIR ]
drwxr-xr-x
zipp-1.0.0.egg-info
[ DIR ]
drwxr-xr-x
_cffi_backend.cpython-310-x86_...
189.91
KB
-rw-r--r--
_dbus_bindings.cpython-310-x86...
164.21
KB
-rw-r--r--
_dbus_glib_bindings.cpython-31...
22.5
KB
-rw-r--r--
_pg.cpython-310-x86_64-linux-g...
111.7
KB
-rw-r--r--
_pyrsistent_version.py
23
B
-rw-r--r--
_snack.cpython-310-x86_64-linu...
46.77
KB
-rw-r--r--
_version.py
21
B
-rw-r--r--
apport_python_hook.py
7.87
KB
-rw-r--r--
apt_inst.cpython-310-x86_64-li...
58.66
KB
-rw-r--r--
apt_pkg.cpython-310-x86_64-lin...
338.96
KB
-rw-r--r--
blinker-1.4.egg-info
3.81
KB
-rw-r--r--
command_not_found-0.3.egg-info
189
B
-rw-r--r--
configobj.py
87.51
KB
-rw-r--r--
deb822.py
273
B
-rw-r--r--
debconf.py
6.61
KB
-rw-r--r--
distro_info.py
12.23
KB
-rw-r--r--
drv_libxml2.py
15.02
KB
-rw-r--r--
imagesize.py
13.04
KB
-rw-r--r--
iotop-0.6.egg-info
348
B
-rw-r--r--
jsonpatch.py
28.14
KB
-rw-r--r--
jsonpointer.py
9.57
KB
-rw-r--r--
libxml2.py
338.19
KB
-rw-r--r--
libxml2mod.cpython-310-x86_64-...
427.55
KB
-rw-r--r--
lsb_release.py
14.55
KB
-rw-r--r--
mercurial-6.1.1-py3.10.egg-inf...
1.3
KB
-rw-r--r--
monotonic.py
7
KB
-rw-r--r--
netifaces.cpython-310-x86_64-l...
22.69
KB
-rw-r--r--
pexpect-4.8.0.egg-info
2.23
KB
-rw-r--r--
pg.py
99.81
KB
-rw-r--r--
pgdb.py
62.08
KB
-rw-r--r--
problem_report.py
26.24
KB
-rw-r--r--
pvectorc.cpython-310-x86_64-li...
36.67
KB
-rw-r--r--
pycurl.cpython-310-x86_64-linu...
140.6
KB
-rw-r--r--
pyparsing.py
266.96
KB
-rw-r--r--
roman.py
3.58
KB
-rw-r--r--
schedutils-0.6.egg-info
291
B
-rw-r--r--
schedutils.cpython-310-x86_64-...
14.78
KB
-rw-r--r--
six.py
33.74
KB
-rw-r--r--
snack.py
30.4
KB
-rw-r--r--
systemd_python-234.egg-info
586
B
-rw-r--r--
ufw-0.36.1.egg-info
263
B
-rw-r--r--
validate.py
46.14
KB
-rw-r--r--
zipp.py
6.75
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : monotonic.py
# -*- coding: utf-8 -*- """ monotonic ~~~~~~~~~ This module provides a ``monotonic()`` function which returns the value (in fractional seconds) of a clock which never goes backwards. On Python 3.3 or newer, ``monotonic`` will be an alias of ``time.monotonic`` from the standard library. On older versions, it will fall back to an equivalent implementation: +-------------+----------------------------------------+ | Linux, BSD | ``clock_gettime(3)`` | +-------------+----------------------------------------+ | Windows | ``GetTickCount`` or ``GetTickCount64`` | +-------------+----------------------------------------+ | OS X | ``mach_absolute_time`` | +-------------+----------------------------------------+ If no suitable implementation exists for the current platform, attempting to import this module (or to import from it) will cause a ``RuntimeError`` exception to be raised. Copyright 2014, 2015, 2016 Ori Livneh <ori@wikimedia.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import time __all__ = ('monotonic',) try: monotonic = time.monotonic except AttributeError: import ctypes import ctypes.util import os import sys import threading try: if sys.platform == 'darwin': # OS X, iOS # See Technical Q&A QA1398 of the Mac Developer Library: # <https://developer.apple.com/library/mac/qa/qa1398/> libc = ctypes.CDLL('/usr/lib/libc.dylib', use_errno=True) class mach_timebase_info_data_t(ctypes.Structure): """System timebase info. Defined in <mach/mach_time.h>.""" _fields_ = (('numer', ctypes.c_uint32), ('denom', ctypes.c_uint32)) mach_absolute_time = libc.mach_absolute_time mach_absolute_time.restype = ctypes.c_uint64 timebase = mach_timebase_info_data_t() libc.mach_timebase_info(ctypes.byref(timebase)) nanoseconds_in_second = 1.0e9 def monotonic(): """Monotonic clock, cannot go backward.""" nanoseconds = mach_absolute_time() * timebase.numer / timebase.denom return nanoseconds / nanoseconds_in_second elif sys.platform.startswith('win32') or sys.platform.startswith('cygwin'): if sys.platform.startswith('cygwin'): # Note: cygwin implements clock_gettime (CLOCK_MONOTONIC = 4) since # version 1.7.6. Using raw WinAPI for maximum version compatibility. # Ugly hack using the wrong calling convention (in 32-bit mode) # because ctypes has no windll under cygwin (and it also seems that # the code letting you select stdcall in _ctypes doesn't exist under # the preprocessor definitions relevant to cygwin). # This is 'safe' because: # 1. The ABI of GetTickCount and GetTickCount64 is identical for # both calling conventions because they both have no parameters. # 2. libffi masks the problem because after making the call it doesn't # touch anything through esp and epilogue code restores a correct # esp from ebp afterwards. try: kernel32 = ctypes.cdll.kernel32 except OSError: # 'No such file or directory' kernel32 = ctypes.cdll.LoadLibrary('kernel32.dll') else: kernel32 = ctypes.windll.kernel32 GetTickCount64 = getattr(kernel32, 'GetTickCount64', None) if GetTickCount64: # Windows Vista / Windows Server 2008 or newer. GetTickCount64.restype = ctypes.c_ulonglong def monotonic(): """Monotonic clock, cannot go backward.""" return GetTickCount64() / 1000.0 else: # Before Windows Vista. GetTickCount = kernel32.GetTickCount GetTickCount.restype = ctypes.c_uint32 get_tick_count_lock = threading.Lock() get_tick_count_last_sample = 0 get_tick_count_wraparounds = 0 def monotonic(): """Monotonic clock, cannot go backward.""" global get_tick_count_last_sample global get_tick_count_wraparounds with get_tick_count_lock: current_sample = GetTickCount() if current_sample < get_tick_count_last_sample: get_tick_count_wraparounds += 1 get_tick_count_last_sample = current_sample final_milliseconds = get_tick_count_wraparounds << 32 final_milliseconds += get_tick_count_last_sample return final_milliseconds / 1000.0 else: try: clock_gettime = ctypes.CDLL(ctypes.util.find_library('c'), use_errno=True).clock_gettime except Exception: clock_gettime = ctypes.CDLL(ctypes.util.find_library('rt'), use_errno=True).clock_gettime class timespec(ctypes.Structure): """Time specification, as described in clock_gettime(3).""" _fields_ = (('tv_sec', ctypes.c_long), ('tv_nsec', ctypes.c_long)) if sys.platform.startswith('linux'): CLOCK_MONOTONIC = 1 elif sys.platform.startswith('freebsd'): CLOCK_MONOTONIC = 4 elif sys.platform.startswith('sunos5'): CLOCK_MONOTONIC = 4 elif 'bsd' in sys.platform: CLOCK_MONOTONIC = 3 elif sys.platform.startswith('aix'): CLOCK_MONOTONIC = ctypes.c_longlong(10) def monotonic(): """Monotonic clock, cannot go backward.""" ts = timespec() if clock_gettime(CLOCK_MONOTONIC, ctypes.pointer(ts)): errno = ctypes.get_errno() raise OSError(errno, os.strerror(errno)) return ts.tv_sec + ts.tv_nsec / 1.0e9 # Perform a sanity-check. if monotonic() - monotonic() > 0: raise ValueError('monotonic() is not monotonic!') except Exception as e: raise RuntimeError('no suitable implementation for this system: ' + repr(e))
Close