Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 18.217.104.36
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib64 /
python2.7 /
site-packages /
sepolgen /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
0
B
-rw-r--r--
__init__.pyc
142
B
-rw-r--r--
__init__.pyo
142
B
-rw-r--r--
access.py
12.33
KB
-rw-r--r--
access.pyc
13.18
KB
-rw-r--r--
access.pyo
13.18
KB
-rw-r--r--
audit.py
23.64
KB
-rw-r--r--
audit.pyc
22.33
KB
-rw-r--r--
audit.pyo
22.33
KB
-rw-r--r--
classperms.py
2.75
KB
-rw-r--r--
classperms.pyc
3.16
KB
-rw-r--r--
classperms.pyo
3.16
KB
-rw-r--r--
defaults.py
2.69
KB
-rw-r--r--
defaults.pyc
2.87
KB
-rw-r--r--
defaults.pyo
2.87
KB
-rw-r--r--
interfaces.py
16.21
KB
-rw-r--r--
interfaces.pyc
15.86
KB
-rw-r--r--
interfaces.pyo
15.86
KB
-rw-r--r--
lex.py
32.86
KB
-rw-r--r--
lex.pyc
19.24
KB
-rw-r--r--
lex.pyo
19.24
KB
-rw-r--r--
matching.py
8.45
KB
-rw-r--r--
matching.pyc
7.4
KB
-rw-r--r--
matching.pyo
7.4
KB
-rw-r--r--
module.py
7.12
KB
-rw-r--r--
module.pyc
8.4
KB
-rw-r--r--
module.pyo
8.4
KB
-rw-r--r--
objectmodel.py
6.37
KB
-rw-r--r--
objectmodel.pyc
4.64
KB
-rw-r--r--
objectmodel.pyo
4.64
KB
-rw-r--r--
output.py
5.01
KB
-rw-r--r--
output.pyc
4.51
KB
-rw-r--r--
output.pyo
4.51
KB
-rw-r--r--
policygen.py
16.31
KB
-rw-r--r--
policygen.pyc
15.25
KB
-rw-r--r--
policygen.pyo
15.18
KB
-rw-r--r--
refparser.py
30.2
KB
-rw-r--r--
refparser.pyc
36.27
KB
-rw-r--r--
refparser.pyo
36.27
KB
-rw-r--r--
refpolicy.py
27.31
KB
-rw-r--r--
refpolicy.pyc
46.45
KB
-rw-r--r--
refpolicy.pyo
46.45
KB
-rw-r--r--
sepolgeni18n.py
912
B
-rw-r--r--
sepolgeni18n.pyc
410
B
-rw-r--r--
sepolgeni18n.pyo
410
B
-rw-r--r--
util.py
5.41
KB
-rw-r--r--
util.pyc
7.87
KB
-rw-r--r--
util.pyo
7.87
KB
-rw-r--r--
yacc.py
80.04
KB
-rw-r--r--
yacc.pyc
41.4
KB
-rw-r--r--
yacc.pyo
41.4
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : audit.pyo
� ��^c @ sL d d l Z d d l Z d d l m Z d d l m Z d d l m Z d � Z d � Z d � Z d f d � � YZ d e f d � � YZ d e f d � � YZ d d l j Z i Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d f d � � YZ d f d � � YZ d f d � � YZ d S( i����Ni ( t refpolicy( t access( t utilc C s� d d l } d d l } t d d � } t | j � j � d � } | j | j | j � | � } | j d | � } | j d | � } | j d d d d | | g d | j �j � d } t j r� t j | � } n | S( s Obtain all of the avc and policy load messages from the audit log. This function uses ausearch and requires that the current process have sufficient rights to run ausearch. Returns: string contain all of the audit messages returned by ausearch. i����Ns /proc/uptimet ri s %xs %Xs /sbin/ausearchs -ms5 AVC,USER_AVC,MAC_POLICY_LOAD,DAEMON_START,SELINUX_ERRs -tst stdout( t subprocesst timet opent floatt readt splitt closet localtimet strftimet Popent PIPEt communicateR t PY3t decode_input( R R t fdt offt st bootdatet boottimet output( ( s4 /usr/lib64/python2.7/site-packages/sepolgen/audit.pyt get_audit_boot_msgs s c C sV d d l } | j d d d g d | j �j � d } t j rR t j | � } n | S( s Obtain all of the avc and policy load messages from the audit log. This function uses ausearch and requires that the current process have sufficient rights to run ausearch. Returns: string contain all of the audit messages returned by ausearch. i����Ns /sbin/ausearchs -ms5 AVC,USER_AVC,MAC_POLICY_LOAD,DAEMON_START,SELINUX_ERRR i ( R R R R R R R ( R R ( ( s4 /usr/lib64/python2.7/site-packages/sepolgen/audit.pyt get_audit_msgs2 s c C sP d d l } | j d g d | j �j � d } t j rL t j | � } n | S( s� Obtain all of the avc and policy load messages from /bin/dmesg. Returns: string contain all of the audit messages returned by dmesg. i����Ns /bin/dmesgR i ( R R R R R R R ( R R ( ( s4 /usr/lib64/python2.7/site-packages/sepolgen/audit.pyt get_dmesg_msgsA s t AuditMessagec B s e Z d Z d � Z d � Z RS( s� Base class for all objects representing audit messages. AuditMessage is a base class for all audit messages and only provides storage for the raw message (as a string) and a parsing function that does nothing. c C s | | _ d | _ d S( Nt ( t messaget header( t selfR ( ( s4 /usr/lib64/python2.7/site-packages/sepolgen/audit.pyt __init__W s c C sz xs | D]k } | j d � } t | � d k rQ | d d k r | | _ d Sq n | d d k r | d | _ d Sq Wd S( s� Parse a string that has been split into records by space into an audit message. This method should be overridden by subclasses. Error reporting should be done by raise ValueError exceptions. t =i i s audit(Ni t msgi ( R t lenR ( R t recsR# t fields( ( s4 /usr/lib64/python2.7/site-packages/sepolgen/audit.pyt from_split_string[ s ( t __name__t __module__t __doc__R! R'