Server IP : 184.154.167.98 / Your IP : 13.58.169.1 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 8.2.26 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/setroubleshoot/plugins/__pycache__/ |
Upload File : |
3 nm�a� � @ sd d dl Z e jddd�Zej Zd dlT d dlmZ d dlZd dlZdd� Zd d � Z G dd� de�Z dS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc C sD | d dkrdS yt jdd| gdd�j� }W n dS |d dkS ) Nr �/F� execstackz-qT)�universal_newlines�X)� subprocess�check_output�split)�path�x� r �4/usr/share/setroubleshoot/plugins/allow_execstack.py�is_execstack s r c C s� g }yt jd| gdd�j� }W n |S x&|D ]}t|�r0||kr0|j|� q0W yPtd| d�}x<|j� D ]0}x*|j� D ]}t|�rz||krz|j|� qzW qlW W n tk r� Y nX |S )NZlddT)r z /proc/%s/maps�r)r r r r �append�open� readlines�IOError)Zexe�pidZ execstacklist�pathsr �fdZrecr r r �find_execstack'