| Server IP : 85.112.90.236 / Your IP : 192.168.1.26 Web Server : Apache System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64 User : ftechme ( 1002) PHP Version : 8.2.32 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/setroubleshoot/plugins/__pycache__/ |
Upload File : |
�
�Z`� � � � d dl Z e j dd�� Zej Zd dl� d dlmZ d dlZd dlZd� Zd� Z G d � d
e� Z
y)� Nzsetroubleshoot-pluginsT)�fallback)�*)�Pluginc � � | d dk7 ry t j dd| gd�� j � }|d dk( S # Y yxY w) Nr �/F� execstackz-qT��universal_newlines�X)�
subprocess�check_output�split)�path�xs �4/usr/share/setroubleshoot/plugins/allow_execstack.py�is_execstackr sR � ��A�w�#�~����#�#�[�4��$>�SW�X�^�^�`�� �q�T�S�[�����s �(; �?c � � g } t j d| gd�� j � }|D ]$ }t |� s�||vs�|j |� �& t d|z d� }|j
� D ]9 }|j � D ]$ }t |� s�||vs�|j |� �& �; |S # |cY S xY w# t $ r Y |S w xY w)N�lddTr z
/proc/%s/maps�r)r r
r r �append�open� readlines�IOError)�exe�pid�
execstacklist�pathsr �fd�recs r �find_execstackr '