403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/lib/python3/dist-packages/landscape/lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/lib/python3/dist-packages/landscape/lib/__pycache__/jiffies.cpython-38.pyc
U

���cU�@sddlZdd�ZdS)�NcCs�td�}td�}|j}|j}|�}t��}|dkr<t�d�|�}td|�}|��}|��t�|d�t|��d�}	t|��d�}
t	|��d�}t	||	d�}t	||
d�}
||
kr�q�|�
d�|�
d�q|��|��|S)a�Returns the number of jiffies per second for this machine.

    A jiffy is a value used by the kernel to report certain time-based
    events.  Jiffies occur N times per second where N varies depending
    on the hardware the kernel is running on.  This function gets the
    uptime for the current process, forks a child process and gets the
    uptime again; finally, using the running time of the child process
    compared with the uptimes to determine number of jiffies per
    second.
    z/proc/uptimerz
/proc/%d/stat�g�?)�open�read�os�fork�_exit�close�waitpid�float�split�int�seek)Zuptime1_fileZuptime2_fileZread_uptime1Zread_uptime2Zuptime1_data�pidZuptime2_dataZ	stat_fileZ	stat_dataZseconds_uptime1Zseconds_uptime2Z
jiffie_uptimeZjiffies1Zjiffies2�r�7/usr/lib/python3/dist-packages/landscape/lib/jiffies.py�detect_jiffiess2

r)rrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit