Linux sh52.ich-4.com 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
LiteSpeed
Server IP : 198.143.147.58 & Your IP : 216.73.217.21
Domains :
Cant Read [ /etc/named.conf ]
User : actualbuzz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.9 /
site-packages /
tracer /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-02-03 15:09
__init__.py
0
B
-rw-r--r--
2023-10-05 00:19
__meta__.py
294
B
-rw-r--r--
2023-10-05 00:19
test_FilenameCleaner.py
942
B
-rw-r--r--
2023-10-05 00:19
test_alpm.py
1.29
KB
-rw-r--r--
2023-10-05 00:19
test_applications.py
3.91
KB
-rw-r--r--
2023-10-05 00:19
test_collections.py
3.16
KB
-rw-r--r--
2023-10-05 00:19
test_dnf.py
1.29
KB
-rw-r--r--
2023-10-05 00:19
test_dpkg.py
1.26
KB
-rw-r--r--
2023-10-05 00:19
test_hooks.py
1.01
KB
-rw-r--r--
2023-10-05 00:19
test_lang.py
238
B
-rw-r--r--
2023-10-05 00:19
test_package.py
371
B
-rw-r--r--
2023-10-05 00:19
test_portage.py
1.28
KB
-rw-r--r--
2023-10-05 00:19
test_processes.py
2.38
KB
-rw-r--r--
2023-10-05 00:19
test_query.py
574
B
-rw-r--r--
2023-10-05 00:19
test_rules.py
2.19
KB
-rw-r--r--
2023-10-05 00:19
test_tracer.py
3.4
KB
-rw-r--r--
2023-10-05 00:19
test_views.py
9.81
KB
-rw-r--r--
2023-10-05 00:19
test_yum.py
1.26
KB
-rw-r--r--
2023-10-05 00:19
Save
Rename
from .__meta__ import * from tracer.hooks import HooksObserver, match called = None @match("app1") def hook_dummy(): global called called = "dummy" @match(["app2", "app3"]) def hook_dummy_list(): global called called = "dummy_list" @match("foo") def hook_dummy_append1(): global called called.append("foo") @match("bar") def hook_dummy_append2(): global called called.append("bar") class TestHooks(unittest.TestCase): def setUp(self): self.observer = HooksObserver() global called called = None def test_hook(self): self.observer("app1") self.assertEqual(called, "dummy") self.observer("app2") self.assertEqual(called, "dummy_list") self.observer("app3") self.assertEqual(called, "dummy_list") def test_hooks_list(self): global called called = [] self.observer("foo") self.observer("bar") self.assertListEqual(called, ["foo", "bar"]) def test_undefined_hook(self): global called self.observer("undefined") self.assertIsNone(called) if __name__ == '__main__': unittest.main()