Linux newlinux5.pouyasazan.org 3.10.0-962.3.2.lve1.5.60.el7.x86_64 #1 SMP Fri Jul 23 07:07:00 EDT 2021 x86_64
LiteSpeed
Server IP : 88.99.66.243 & Your IP : 216.73.216.178
Domains :
Cant Read [ /etc/named.conf ]
User : wdbbsgxf
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python2.7 /
site-packages /
acme /
Delete
Unzip
Name
Size
Permission
Date
Action
__init__.py
972
B
-rw-r--r--
2021-01-05 21:07
__init__.pyc
803
B
-rw-r--r--
2021-01-06 00:33
__init__.pyo
803
B
-rw-r--r--
2021-01-06 00:33
challenges.py
19.18
KB
-rw-r--r--
2021-01-05 21:07
challenges.pyc
21.37
KB
-rw-r--r--
2021-01-06 00:33
challenges.pyo
21.37
KB
-rw-r--r--
2021-01-06 00:33
client.py
45.86
KB
-rw-r--r--
2021-01-05 21:07
client.pyc
42.52
KB
-rw-r--r--
2021-01-06 00:33
client.pyo
42.32
KB
-rw-r--r--
2021-01-06 00:33
crypto_util.py
12.2
KB
-rw-r--r--
2021-01-05 21:07
crypto_util.pyc
12.39
KB
-rw-r--r--
2021-01-06 00:33
crypto_util.pyo
12.3
KB
-rw-r--r--
2021-01-06 00:33
errors.py
4.15
KB
-rw-r--r--
2021-01-05 21:07
errors.pyc
6.75
KB
-rw-r--r--
2021-01-06 00:33
errors.pyo
6.75
KB
-rw-r--r--
2021-01-06 00:33
fields.py
1.7
KB
-rw-r--r--
2021-01-05 21:07
fields.pyc
2.93
KB
-rw-r--r--
2021-01-06 00:33
fields.pyo
2.93
KB
-rw-r--r--
2021-01-06 00:33
jws.py
2.05
KB
-rw-r--r--
2021-01-05 21:07
jws.pyc
2.35
KB
-rw-r--r--
2021-01-06 00:33
jws.pyo
2.35
KB
-rw-r--r--
2021-01-06 00:33
magic_typing.py
537
B
-rw-r--r--
2021-01-05 21:07
magic_typing.pyc
871
B
-rw-r--r--
2021-01-06 00:33
magic_typing.pyo
871
B
-rw-r--r--
2021-01-06 00:33
messages.py
23.27
KB
-rw-r--r--
2021-01-05 21:07
messages.pyc
30.11
KB
-rw-r--r--
2021-01-06 00:33
messages.pyo
30.07
KB
-rw-r--r--
2021-01-06 00:33
mixins.py
2.65
KB
-rw-r--r--
2021-01-05 21:07
mixins.pyc
3.29
KB
-rw-r--r--
2021-01-06 00:33
mixins.pyo
3.29
KB
-rw-r--r--
2021-01-06 00:33
standalone.py
10.88
KB
-rw-r--r--
2021-01-05 21:07
standalone.pyc
11.9
KB
-rw-r--r--
2021-01-06 00:33
standalone.pyo
11.9
KB
-rw-r--r--
2021-01-06 00:33
util.py
160
B
-rw-r--r--
2021-01-05 21:07
util.pyc
620
B
-rw-r--r--
2021-01-06 00:33
util.pyo
620
B
-rw-r--r--
2021-01-06 00:33
Save
Rename
"""Useful mixins for Challenge and Resource objects""" class VersionedLEACMEMixin(object): """This mixin stores the version of Let's Encrypt's endpoint being used.""" @property def le_acme_version(self): """Define the version of ACME protocol to use""" return getattr(self, '_le_acme_version', 1) @le_acme_version.setter def le_acme_version(self, version): # We need to use object.__setattr__ to not depend on the specific implementation of # __setattr__ in current class (eg. jose.TypedJSONObjectWithFields raises AttributeError # for any attempt to set an attribute to make objects immutable). object.__setattr__(self, '_le_acme_version', version) def __setattr__(self, key, value): if key == 'le_acme_version': # Required for @property to operate properly. See comment above. object.__setattr__(self, key, value) else: super(VersionedLEACMEMixin, self).__setattr__(key, value) # pragma: no cover class ResourceMixin(VersionedLEACMEMixin): """ This mixin generates a RFC8555 compliant JWS payload by removing the `resource` field if needed (eg. ACME v2 protocol). """ def to_partial_json(self): """See josepy.JSONDeserializable.to_partial_json()""" return _safe_jobj_compliance(super(ResourceMixin, self), 'to_partial_json', 'resource') def fields_to_partial_json(self): """See josepy.JSONObjectWithFields.fields_to_partial_json()""" return _safe_jobj_compliance(super(ResourceMixin, self), 'fields_to_partial_json', 'resource') class TypeMixin(VersionedLEACMEMixin): """ This mixin allows generation of a RFC8555 compliant JWS payload by removing the `type` field if needed (eg. ACME v2 protocol). """ def to_partial_json(self): """See josepy.JSONDeserializable.to_partial_json()""" return _safe_jobj_compliance(super(TypeMixin, self), 'to_partial_json', 'type') def fields_to_partial_json(self): """See josepy.JSONObjectWithFields.fields_to_partial_json()""" return _safe_jobj_compliance(super(TypeMixin, self), 'fields_to_partial_json', 'type') def _safe_jobj_compliance(instance, jobj_method, uncompliant_field): if hasattr(instance, jobj_method): jobj = getattr(instance, jobj_method)() if instance.le_acme_version == 2: jobj.pop(uncompliant_field, None) return jobj raise AttributeError('Method {0}() is not implemented.'.format(jobj_method)) # pragma: no cover