shell bypass 403
UnknownSec Shell
:
/
lib
/
python3
/
dist-packages
/
lazr
/
restfulclient
/
authorize
/
__pycache__
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
__init__.cpython-312.pyc
� }�;e� � �F � d Z eZddgZddlZ G d� d� Z G d� de� Zy)a Classes to authorize lazr.restfulclient with various web services. This module includes an authorizer classes for HTTP Basic Auth, as well as a base-class authorizer that does nothing. A set of classes for authorizing with OAuth is located in the 'oauth' module. �BasicHttpAuthorizer�HttpAuthorizer� Nc �, � e Zd ZdZd� Zd� Zed� � Zy)r a� Handles authentication for HTTP requests. There are two ways to authenticate. The authorize_session() method is called once when the client is initialized. This works for authentication methods like Basic Auth. The authorize_request is called for every HTTP request, which is useful for authentication methods like Digest and OAuth. The base class is a null authorizer which does not perform any authentication at all. c � � y)z*Set up credentials for the entire session.N� ��self�clients �G/usr/lib/python3/dist-packages/lazr/restfulclient/authorize/__init__.py�authorizeSessionzHttpAuthorizer.authorizeSession3 s � �� c � � y)ztSet up credentials for a single request. This probably involves setting the Authentication header. Nr �r �absolute_uri�method�body�headerss r �authorizeRequestzHttpAuthorizer.authorizeRequest7 s � � r c � � i S )aG Any parameters necessary to identify this user agent. By default this is an empty dict (because authentication details don't contain any information about the application making the request), but when a resource is protected by OAuth, the OAuth consumer name is part of the user agent. r )r s r �user_agent_paramsz HttpAuthorizer.user_agent_params>