⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.32
Server IP:
15.204.235.159
Server:
Linux srv.techlup.co.ke 4.18.0-553.5.1.el8_10.x86_64 #1 SMP Wed Jun 5 09:12:13 EDT 2024 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
setroubleshoot
/
plugins
/
__pycache__
/
View File Name :
allow_execstack.cpython-36.pyc
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'