403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3.9/site-packages/ipapython/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/ipapython/__pycache__/ipavalidate.cpython-39.pyc
a

�ji1�@s>ddlZddd�Zddd�Zddd	�Zdd
d�Zddd
�ZdS)�NTcCs�t�dtj�}t�dtj�}|r(|dur8|dur4dSdS|��}|�dd�}z|\}}WntylYdS0|�|�s|dS|�|�s�dSdS)z�Do some basic validation of an e-mail address.
       Return True if ok
       Return False if not

       If notEmpty is True the this will return an error if the field
       is "" or None.
    z^[^ \t\n\r@<>()]+$z ^[a-z0-9][a-z0-9\.\-_]*\.[a-z]+$NTF�@�)�re�compile�I�strip�split�
ValueError�search)Zmail�notEmptyZ
usernameREZdomainRE�s�username�domain�r�9/usr/lib/python3.9/site-packages/ipapython/ipavalidate.py�Emails"

rFcCsL|dus|��s |durdSdS|r0t�d�}n
t�d�}|�|�sHdSdS)z�Do some basic validation of a plain text field
       Return True if ok
       Return False if not

       If notEmpty is True the this will return an error if the field
       is "" or None.
    NTFz^[a-zA-Z_\-0-9\'\ ]*$z^[a-zA-Z_\-0-9\']*$)rrrr
)�textrZallowSpaces�textRErrr�Plain4s

rcCs$|dus|��s |durdSdSdS)z?A string type. This is much looser in what it allows than plainNTF)r)rrrrr�StringKs
rcCsDt�d�}|s|durdS|dur2|dur.dSdS|�|�s@dSdS)z�Do some basic validation of a path
       Return True if ok
       Return False if not

       If notEmpty is True the this will return an error if the field
       is "" or None.
    z^[a-zA-Z_\-0-9\\ \.\/\\:]*$TFN)rrr
)rrrrrr�PathVs

rcCsVt�d�}|s|durdS|dur2|dur.dSdS|�|�}|rN||�d�krRdSdS)a&From shadow-utils:

       User/group names must match gnu e-regex:
       [a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,30}[a-zA-Z0-9_.$-]?

       as a non-POSIX, extension, allow "$" as the last char for
       sake of Samba 3.x "add machine script"

       Return True if ok
       Return False if not
    z3^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,30}[a-zA-Z0-9_.$-]?$TFNr)rr�match�group)rrr�mrrr�GoodNamens

r)T)FT)F)F)F)rrrrrrrrrr�<module>s






Youez - 2016 - github.com/yon3zu
LinuXploit