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__/sessions.cpython-311.pyc
�

�|�e�	���ddlmZddlmZmZmZd�Zeed��d���Zeed��d	���Zeed
��d���Z	d�Z
ee
d
��d���Zee
d��d���Zee
d��d���Z
eejd���d���Zeejd���d���Zd�Zd�ZdS)�)�settings�)�Tags�Warning�registerc��|dzS)Nzq Using a secure-only session cookie makes it more difficult for network traffic sniffers to hijack user sessions.���messages �F/usr/lib/python3/dist-packages/django/core/checks/security/sessions.py�add_session_cookie_messager
s���	<���znYou have 'django.contrib.sessions' in your INSTALLED_APPS, but you have not set SESSION_COOKIE_SECURE to True.z
security.W010)�idz�You have 'django.contrib.sessions.middleware.SessionMiddleware' in your MIDDLEWARE, but you have not set SESSION_COOKIE_SECURE to True.z
security.W011z)SESSION_COOKIE_SECURE is not set to True.z
security.W012c��|dzS)Nzs Using an HttpOnly session cookie makes it more difficult for cross-site scripting attacks to hijack user sessions.r	r
s r�add_httponly_messager$s���	@��rzpYou have 'django.contrib.sessions' in your INSTALLED_APPS, but you have not set SESSION_COOKIE_HTTPONLY to True.z
security.W013z�You have 'django.contrib.sessions.middleware.SessionMiddleware' in your MIDDLEWARE, but you have not set SESSION_COOKIE_HTTPONLY to True.z
security.W014z+SESSION_COOKIE_HTTPONLY is not set to True.z
security.W015T)�deployc��g}tjskt��r|�t��t��r|�t��t|��dkrtg}|S�N�)	r�SESSION_COOKIE_SECURE�_session_app�append�W010�_session_middleware�W011�len�W012��app_configs�kwargs�errorss   r�check_session_cookie_securer"Bsk��
�F��)���>�>�	 ��M�M�$����� � �	 ��M�M�$�����v�;�;��?�?��V�F��Mrc��g}tjskt��r|�t��t��r|�t��t|��dkrtg}|Sr)	r�SESSION_COOKIE_HTTPONLYrr�W013r�W014r�W015rs   r�check_session_cookie_httponlyr(Osk��
�F��+���>�>�	 ��M�M�$����� � �	 ��M�M�$�����v�;�;��?�?��V�F��Mrc��dtjvS)Nz4django.contrib.sessions.middleware.SessionMiddleware)r�
MIDDLEWAREr	rrrr\s��A�X�EX�X�Xrc��dtjvS)Nzdjango.contrib.sessions)r�INSTALLED_APPSr	rrrr`s��$��(?�?�?rN)�django.confr�rrrr
rrrrr%r&r'�securityr"r(rrr	rr�<module>r0s��� � � � � � �&�&�&�&�&�&�&�&�&�&�����w���	>���������w���	)���
�
�����w���J�K�K����������w���	@���������w���	+���
�
�����w���F�G�G������
��$�-��%�%�%�	�	�&�%�	�
��$�-��%�%�%�	�	�&�%�	�Y�Y�Y�@�@�@�@�@r

Youez - 2016 - github.com/yon3zu
LinuXploit