dementor 1.0.0.dev20__tar.gz → 1.0.0.dev21__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/PKG-INFO +19 -26
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/README.md +16 -14
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/__init__.py +1 -1
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/assets/Dementor.toml +21 -0
- dementor-1.0.0.dev21/dementor/assets/banner.txt +22 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/config/__init__.py +1 -1
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/config/session.py +16 -5
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/config/toml.py +13 -8
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/config/util.py +3 -2
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/db/__init__.py +1 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/db/connector.py +9 -10
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/db/model.py +6 -6
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/filters.py +5 -2
- dementor-1.0.0.dev21/dementor/loader.py +516 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/log/__init__.py +1 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/log/logger.py +4 -7
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/log/stream.py +3 -5
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/ftp.py +33 -40
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/http.py +75 -67
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/imap.py +27 -5
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/ipp.py +27 -19
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/kerberos.py +20 -14
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/ldap.py +27 -26
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/llmnr.py +13 -14
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/mdns.py +19 -17
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/msrpc/dcom.py +1 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/msrpc/rpc.py +15 -15
- dementor-1.0.0.dev21/dementor/protocols/msrpc.py +71 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/mssql.py +33 -17
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/mysql.py +28 -23
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/netbios.py +25 -15
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/ntlm.py +3 -3
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/pop3.py +27 -20
- dementor-1.0.0.dev21/dementor/protocols/quic.py +349 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/smb.py +36 -29
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/smtp.py +65 -64
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/ssdp.py +28 -17
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/upnp.py +28 -22
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/x11.py +27 -12
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/servers.py +139 -10
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/standalone.py +81 -73
- dementor-1.0.0.dev21/dementor/tui/__init__.py +30 -0
- dementor-1.0.0.dev21/dementor/tui/action.py +121 -0
- dementor-1.0.0.dev21/dementor/tui/commands/__init__.py +36 -0
- dementor-1.0.0.dev21/dementor/tui/commands/config.py +287 -0
- dementor-1.0.0.dev21/dementor/tui/commands/database.py +334 -0
- dementor-1.0.0.dev21/dementor/tui/commands/env.py +119 -0
- dementor-1.0.0.dev21/dementor/tui/commands/help.py +90 -0
- dementor-1.0.0.dev21/dementor/tui/commands/ipconfig.py +79 -0
- dementor-1.0.0.dev21/dementor/tui/commands/proto.py +504 -0
- dementor-1.0.0.dev21/dementor/tui/completer.py +122 -0
- dementor-1.0.0.dev21/dementor/tui/repl.py +172 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor.egg-info/PKG-INFO +19 -26
- dementor-1.0.0.dev21/dementor.egg-info/SOURCES.txt +74 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor.egg-info/requires.txt +8 -18
- dementor-1.0.0.dev21/pyproject.toml +204 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/tests/test_version.py +1 -3
- dementor-1.0.0.dev20/.github/workflows/ci-docs.yml +0 -80
- dementor-1.0.0.dev20/.github/workflows/ci-lint.yml +0 -53
- dementor-1.0.0.dev20/.github/workflows/ci-test.yml +0 -60
- dementor-1.0.0.dev20/.github/workflows/wheel-publish.yml +0 -69
- dementor-1.0.0.dev20/.gitignore +0 -319
- dementor-1.0.0.dev20/dementor/assets/banner.txt +0 -19
- dementor-1.0.0.dev20/dementor/loader.py +0 -219
- dementor-1.0.0.dev20/dementor/protocols/msrpc.py +0 -58
- dementor-1.0.0.dev20/dementor/protocols/quic.py +0 -211
- dementor-1.0.0.dev20/dementor.egg-info/SOURCES.txt +0 -126
- dementor-1.0.0.dev20/docs/Makefile +0 -20
- dementor-1.0.0.dev20/docs/make.bat +0 -35
- dementor-1.0.0.dev20/docs/source/_static/favicon.ico +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/asreqroast-kdc_dark.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/http-server_page-style.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/http_webdav-fallback.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/index-video.gif +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/ipp_cups-browsed.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/ipp_cups-ppd_file.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/kerberos-flow_dark.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/smtp-downgrade_wireshark.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/images/x11-xterm_remote_display.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/logo-new-big-transparent.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/logo-new-big.png +0 -0
- dementor-1.0.0.dev20/docs/source/_static/logo-new-circle.ico +0 -0
- dementor-1.0.0.dev20/docs/source/_static/theme.css +0 -61
- dementor-1.0.0.dev20/docs/source/cli.rst +0 -80
- dementor-1.0.0.dev20/docs/source/compat.rst +0 -816
- dementor-1.0.0.dev20/docs/source/conf.py +0 -123
- dementor-1.0.0.dev20/docs/source/config/database.rst +0 -81
- dementor-1.0.0.dev20/docs/source/config/dcerpc.rst +0 -181
- dementor-1.0.0.dev20/docs/source/config/ftp.rst +0 -58
- dementor-1.0.0.dev20/docs/source/config/globals.rst +0 -137
- dementor-1.0.0.dev20/docs/source/config/http.rst +0 -243
- dementor-1.0.0.dev20/docs/source/config/imap.rst +0 -171
- dementor-1.0.0.dev20/docs/source/config/index.rst +0 -65
- dementor-1.0.0.dev20/docs/source/config/ipp.rst +0 -234
- dementor-1.0.0.dev20/docs/source/config/kerberos.rst +0 -100
- dementor-1.0.0.dev20/docs/source/config/ldap.rst +0 -145
- dementor-1.0.0.dev20/docs/source/config/llmnr.rst +0 -70
- dementor-1.0.0.dev20/docs/source/config/logging.rst +0 -159
- dementor-1.0.0.dev20/docs/source/config/main.rst +0 -213
- dementor-1.0.0.dev20/docs/source/config/mdns.rst +0 -116
- dementor-1.0.0.dev20/docs/source/config/mssql.rst +0 -201
- dementor-1.0.0.dev20/docs/source/config/mysql.rst +0 -106
- dementor-1.0.0.dev20/docs/source/config/netbios.rst +0 -47
- dementor-1.0.0.dev20/docs/source/config/ntlm.rst +0 -385
- dementor-1.0.0.dev20/docs/source/config/pop3.rst +0 -152
- dementor-1.0.0.dev20/docs/source/config/protocols.rst +0 -30
- dementor-1.0.0.dev20/docs/source/config/quic.rst +0 -111
- dementor-1.0.0.dev20/docs/source/config/smb.rst +0 -336
- dementor-1.0.0.dev20/docs/source/config/smtp.rst +0 -239
- dementor-1.0.0.dev20/docs/source/config/ssdp.rst +0 -96
- dementor-1.0.0.dev20/docs/source/config/upnp.rst +0 -130
- dementor-1.0.0.dev20/docs/source/config/winrm.rst +0 -40
- dementor-1.0.0.dev20/docs/source/config/x11.rst +0 -57
- dementor-1.0.0.dev20/docs/source/examples/cups.rst +0 -120
- dementor-1.0.0.dev20/docs/source/examples/kdc.rst +0 -77
- dementor-1.0.0.dev20/docs/source/examples/multicast.rst +0 -170
- dementor-1.0.0.dev20/docs/source/examples/smtp_downgrade.rst +0 -146
- dementor-1.0.0.dev20/docs/source/examples/webdav_fallback.rst +0 -77
- dementor-1.0.0.dev20/docs/source/examples/x11_cookies.rst +0 -70
- dementor-1.0.0.dev20/docs/source/index.rst +0 -111
- dementor-1.0.0.dev20/docs/source/intro.rst +0 -73
- dementor-1.0.0.dev20/docs/source/proto.rst +0 -72
- dementor-1.0.0.dev20/pyproject.toml +0 -107
- dementor-1.0.0.dev20/requirements.docs.txt +0 -4
- dementor-1.0.0.dev20/requirements.txt +0 -11
- dementor-1.0.0.dev20/tests/.gitkeep +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/LICENSE +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/__main__.py +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/assets/www/error_page.html +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/assets/www/upnp-default/dd.xml +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/assets/www/upnp-default/present.html +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/assets/www/upnp-default/scpd.xml +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/assets/www/wpad.dat +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/config/attr.py +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/log/hexdump.py +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/paths.py +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/__init__.py +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/msrpc/__init__.py +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/msrpc/epm.py +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor/protocols/spnego.py +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor.egg-info/dependency_links.txt +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor.egg-info/entry_points.txt +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/dementor.egg-info/top_level.txt +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/docs/README.pypi.md +0 -0
- {dementor-1.0.0.dev20 → dementor-1.0.0.dev21}/setup.cfg +0 -0
|
@@ -1,51 +1,44 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dementor
|
|
3
|
-
Version: 1.0.0.
|
|
3
|
+
Version: 1.0.0.dev21
|
|
4
4
|
Summary: LLMNR/NBT-NS/mDNS Poisoner and rogue service provider
|
|
5
5
|
Author: MatrixEditor
|
|
6
6
|
Maintainer: MatrixEditor
|
|
7
|
-
|
|
8
|
-
Project-URL:
|
|
9
|
-
Project-URL:
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Project-URL: Homepage, https://matrixeditor.github.io/dementor
|
|
9
|
+
Project-URL: Documentation, https://matrixeditor.github.io/dementor
|
|
10
|
+
Project-URL: Source, https://github.com/MatrixEditor/dementor
|
|
11
|
+
Project-URL: Issues, https://github.com/MatrixEditor/dementor/issues
|
|
12
|
+
Keywords: llmnr,mdns,nbt-ns,network-security,penetration-testing,poisoner,rogue-services
|
|
10
13
|
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Environment :: Console
|
|
11
15
|
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: Intended Audience ::
|
|
13
|
-
Classifier:
|
|
16
|
+
Classifier: Intended Audience :: Information Technology
|
|
17
|
+
Classifier: Operating System :: POSIX
|
|
18
|
+
Classifier: Operating System :: Unix
|
|
14
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
22
|
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
19
23
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
24
|
Classifier: Topic :: Security
|
|
21
25
|
Classifier: Topic :: System :: Networking
|
|
22
|
-
Classifier: Typing :: Typed
|
|
23
|
-
Classifier: Operating System :: POSIX
|
|
24
|
-
Classifier: Operating System :: Unix
|
|
25
26
|
Requires-Python: >=3.11
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
27
28
|
License-File: LICENSE
|
|
28
|
-
Requires-Dist:
|
|
29
|
+
Requires-Dist: aiosmtpd
|
|
30
|
+
Requires-Dist: aioquic
|
|
31
|
+
Requires-Dist: caterpillar-py>=2.8.1
|
|
29
32
|
Requires-Dist: impacket
|
|
33
|
+
Requires-Dist: jinja2
|
|
34
|
+
Requires-Dist: pyasn1
|
|
35
|
+
Requires-Dist: pyipp
|
|
36
|
+
Requires-Dist: rich
|
|
30
37
|
Requires-Dist: scapy
|
|
31
|
-
Requires-Dist: aiosmtpd
|
|
32
38
|
Requires-Dist: sqlalchemy
|
|
33
|
-
Requires-Dist: pyasn1
|
|
34
|
-
Requires-Dist: aioquic
|
|
35
39
|
Requires-Dist: typer
|
|
36
|
-
Requires-Dist: jinja2
|
|
37
40
|
Requires-Dist: typing-extensions
|
|
38
|
-
Requires-Dist:
|
|
39
|
-
Requires-Dist: pyipp
|
|
40
|
-
Provides-Extra: docs
|
|
41
|
-
Requires-Dist: sphinx; extra == "docs"
|
|
42
|
-
Requires-Dist: shibuya; extra == "docs"
|
|
43
|
-
Requires-Dist: sphinx-copybutton; extra == "docs"
|
|
44
|
-
Requires-Dist: sphinx-design; extra == "docs"
|
|
45
|
-
Provides-Extra: dev
|
|
46
|
-
Requires-Dist: pytest; extra == "dev"
|
|
47
|
-
Requires-Dist: ruff; extra == "dev"
|
|
48
|
-
Requires-Dist: ty; extra == "dev"
|
|
41
|
+
Requires-Dist: prompt_toolkit
|
|
49
42
|
Dynamic: license-file
|
|
50
43
|
|
|
51
44
|
# Dementor
|
|
@@ -10,6 +10,7 @@ on the [Documentation](https://matrixeditor.github.io/dementor/) page.
|
|
|
10
10
|
- Near-complete protocol parity with Responder (see [Docs - Compatibility](https://matrixeditor.github.io/dementor/compat.html))
|
|
11
11
|
- Easy integration of new protocols via the extension system
|
|
12
12
|
- A lot of new protocols (e.g. IPP, MySQL, X11, ...)
|
|
13
|
+
- Interactive TUI which supports modifying the runtime configuration of services
|
|
13
14
|
|
|
14
15
|
## Installation
|
|
15
16
|
|
|
@@ -38,20 +39,21 @@ Let's take a look.
|
|
|
38
39
|
```
|
|
39
40
|
Usage: Dementor [OPTIONS]
|
|
40
41
|
|
|
41
|
-
╭─ Options
|
|
42
|
-
│ --interface -I NAME Network interface to use (required for poisoning)
|
|
43
|
-
│ --analyze -A Only analyze traffic, don't respond to requests
|
|
44
|
-
│ --config -c PATH Path to a configuration file (otherwise standard path is used)
|
|
45
|
-
│ --option -O KEY=VALUE Add an extra option to the global configuration file.
|
|
46
|
-
│ --yes,--yolo -y Do not ask before starting attack mode.
|
|
47
|
-
│ --target -t NAME[,...] Target host(s) to attack
|
|
48
|
-
│ --ignore -i NAME[,...] Target host(s) to ignore
|
|
49
|
-
│ --quiet -q Don't print banner at startup
|
|
50
|
-
│ --version Show Dementor's version number
|
|
51
|
-
│ --ts Log timestamps to terminal
|
|
52
|
-
│ --paths Displays the default configuration paths
|
|
53
|
-
│ --
|
|
54
|
-
|
|
42
|
+
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
43
|
+
│ --interface -I NAME Network interface to use (required for poisoning) │
|
|
44
|
+
│ --analyze -A Only analyze traffic, don't respond to requests │
|
|
45
|
+
│ --config -c PATH Path to a configuration file (otherwise standard path is used) │
|
|
46
|
+
│ --option -O KEY=VALUE Add an extra option to the global configuration file. │
|
|
47
|
+
│ --yes,--yolo -y Do not ask before starting attack mode. │
|
|
48
|
+
│ --target -t NAME[,...] Target host(s) to attack │
|
|
49
|
+
│ --ignore -i NAME[,...] Target host(s) to ignore │
|
|
50
|
+
│ --quiet -q Don't print banner at startup │
|
|
51
|
+
│ --version Show Dementor's version number │
|
|
52
|
+
│ --ts Log timestamps to the terminal too │
|
|
53
|
+
│ --paths Displays the default configuration paths │
|
|
54
|
+
│ --repl -F Starts Dementor in interactive mode supporting runtime configuration │
|
|
55
|
+
│ --help Show this message and exit. │
|
|
56
|
+
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
55
57
|
```
|
|
56
58
|
|
|
57
59
|
|
|
@@ -504,6 +504,27 @@ Key = "default.key"
|
|
|
504
504
|
# TargetSMBPort = 445
|
|
505
505
|
# TargetSMBHost =
|
|
506
506
|
|
|
507
|
+
# Enable automatic generation of self-signed certificates if none are found.
|
|
508
|
+
SelfSigned = true
|
|
509
|
+
|
|
510
|
+
# Common Name (CN) for the self-signed certificate.
|
|
511
|
+
CertCommonName = "dementor.local"
|
|
512
|
+
|
|
513
|
+
# Organization name for the self-signed certificate.
|
|
514
|
+
CertOrganization = "Dementor"
|
|
515
|
+
|
|
516
|
+
# Country code for the self-signed certificate.
|
|
517
|
+
CertCountry = "US"
|
|
518
|
+
|
|
519
|
+
# State/Province for the self-signed certificate.
|
|
520
|
+
CertState = "CA"
|
|
521
|
+
|
|
522
|
+
# Locality/City for the self-signed certificate.
|
|
523
|
+
CertLocality = "San Francisco"
|
|
524
|
+
|
|
525
|
+
# Validity period in days for the self-signed certificate.
|
|
526
|
+
CertValidityDays = 365
|
|
527
|
+
|
|
507
528
|
|
|
508
529
|
# =============================================================================
|
|
509
530
|
# Proxy
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #020202][/on #000000] [on #020202][/on #020202] [on #000000][/on #020202] [on #000000][/on #000000] [on #000000][/on #000000] [on #000101][/on #000000] [on #030303][/on #000101] [on #010101][/on #030303] [on #000000][/on #010101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
2
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #010101][/on #000000] [on #000000][/on #010101] [on #000000][/on #000000] [on #000000][/on #000000] [on #0a0808][/on #000000] [on #080607][/on #0a0808] [on #000000][/on #080607] [on #000000][/on #000000] [on #000000][/on #000000] [on #010101][/on #000000] [on #000000][/on #010101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
3
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000100][/on #000000] [on #000000][/on #000100] [on #323430][/on #000000] [on #728a7e][/on #323430]+[on #98bbaa][/on #728a7e]*[on #aad1be][/on #98bbaa]#[on #acd0bc][/on #aad1be]#[on #9ab5a5][/on #acd0bc]*[on #68766d][/on #9ab5a5]=[on #1a1817][/on #68766d] [on #000000][/on #1a1817] [on #010101][/on #000000] [on #000000][/on #010101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
4
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #010202][/on #000000] [on #020506][/on #010202] [on #000000][/on #020506] [on #000000][/on #000000] [on #010202][/on #000000] [on #000000][/on #010202] [on #59665d][/on #000000]-[on #abe6d2][/on #59665d]%[on #b3ebd1][/on #abe6d2]%[on #afe9cd][/on #b3ebd1]%[on #b5eacf][/on #afe9cd]%[on #c1ecd0][/on #b5eacf]%[on #cdf0d3][/on #c1ecd0]%[on #c6efd5][/on #cdf0d3]%[on #abd2c1][/on #c6efd5]#[on #353431][/on #abd2c1] [on #000000][/on #353431] [on #020202][/on #000000] [on #000101][/on #020202] [on #000000][/on #000101] [on #030708][/on #000000] [on #000000][/on #030708] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
5
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #040a0a][/on #000000] [on #000102][/on #040a0a] [on #020304][/on #000102] [on #010405][/on #020304] [on #23201e][/on #010405] [on #83d1c9][/on #23201e]#[on #99e1d0][/on #83d1c9]#[on #9de5cc][/on #99e1d0]%[on #a3f1d7][/on #9de5cc]%[on #acf6dd][/on #a3f1d7]%[on #b4f7dd][/on #acf6dd]%[on #bdf4d7][/on #b4f7dd]%[on #cbebce][/on #bdf4d7]%[on #a0e5d3][/on #cbebce]%[on #87bbaf][/on #a0e5d3]*[on #060202][/on #87bbaf] [on #03090a][/on #060202] [on #000101][/on #03090a] [on #010202][/on #000101] [on #050a0a][/on #010202] [on #000000][/on #050a0a] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
6
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #010304][/on #000000] [on #071314][/on #010304] [on #071415][/on #071314] [on #091516][/on #071415] [on #0c1416][/on #091516] [on #000000][/on #0c1416] [on #576762][/on #000000]-[on #5eb8b9][/on #576762]*[on #98e2d0][/on #5eb8b9]#[on #82ddca][/on #98e2d0]#[on #699f9b][/on #82ddca]+[on #638083][/on #699f9b]=[on #658988][/on #638083]=[on #80bbb0][/on #658988]*[on #9fedd6][/on #80bbb0]%[on #87d7ca][/on #9fedd6]#[on #71c2be][/on #87d7ca]*[on #343330][/on #71c2be] [on #000202][/on #343330] [on #0c1617][/on #000202] [on #071011][/on #0c1617] [on #081516][/on #071011] [on #050e0e][/on #081516] [on #000000][/on #050e0e] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
7
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000101][/on #000000] [on #020405][/on #000101] [on #020506][/on #020405] [on #04080a][/on #020506] [on #071011][/on #04080a] [on #050b0b][/on #071011] [on #090c10][/on #050b0b] [on #101c22][/on #090c10] [on #06050c][/on #101c22] [on #77a8a2][/on #06050c]*[on #499fa5][/on #77a8a2]+[on #9ad5c5][/on #499fa5]#[on #39525c][/on #9ad5c5] [on #2a2a42][/on #39525c] [on #020321][/on #2a2a42] [on #080925][/on #020321] [on #313449][/on #080925] [on #678587][/on #313449]=[on #87cfc2][/on #678587]#[on #4da4a9][/on #87cfc2]+[on #6d7f78][/on #4da4a9]=[on #000001][/on #6d7f78] [on #121d21][/on #000001] [on #05070b][/on #121d21] [on #071012][/on #05070b] [on #060c0e][/on #071012] [on #020607][/on #060c0e] [on #010304][/on #020607] [on #010304][/on #010304] [on #000001][/on #010304] [on #000000][/on #000001] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] [bold]Dementor [white]v{dementor_version}[/white][/bold]
|
|
8
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000001][/on #000000] [on #010203][/on #000001] [on #020506][/on #010203] [on #091414][/on #020506] [on #081214][/on #091414] [on #0d2629][/on #081214] [on #12292e][/on #0d2629] [on #0e2835][/on #12292e] [on #00162f][/on #0e2835] [on #1e364b][/on #00162f] [on #72b9b4][/on #1e364b]*[on #81c5c1][/on #72b9b4]*[on #475f68][/on #81c5c1]-[on #060826][/on #475f68] [on #262e42][/on #060826] [on #0f162d][/on #262e42] [on #141a31][/on #0f162d] [on #23293f][/on #141a31] [on #050a26][/on #23293f] [on #668d8e][/on #050a26]+[on #8ad8cd][/on #668d8e]#[on #7da5a0][/on #8ad8cd]*[on #08213a][/on #7da5a0] [on #062137][/on #08213a] [on #0f2f39][/on #062137] [on #13292c][/on #0f2f39] [on #0c2122][/on #13292c] [on #071113][/on #0c2122] [on #081212][/on #071113] [on #010304][/on #081212] [on #010203][/on #010304] [on #000000][/on #010203] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] [i]Advanced mDNS/LLMNR/NBTNS multicast[/i]
|
|
9
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000101][/on #000000] [on #010303][/on #000101] [on #010404][/on #010303] [on #091919][/on #010404] [on #070f0f][/on #091919] [on #0c171b][/on #070f0f] [on #11212d][/on #0c171b] [on #102b3e][/on #11212d] [on #2d5668][/on #102b3e] [on #4c7984][/on #2d5668]=[on #8fcbc2][/on #4c7984]#[on #7dd5ca][/on #8fcbc2]#[on #7c9b9e][/on #7dd5ca]+[on #00112b][/on #7c9b9e] [on #0f142c][/on #00112b] [on #071028][/on #0f142c] [on #0d132a][/on #071028] [on #0c1228][/on #0d132a] [on #091128][/on #0c1228] [on #090d25][/on #091128] [on #163047][/on #090d25] [on #a0cdc2][/on #163047]#[on #84d6ca][/on #a0cdc2]#[on #8abbb8][/on #84d6ca]*[on #396c7a][/on #8abbb8]-[on #285162][/on #396c7a] [on #0d2336][/on #285162] [on #12232d][/on #0d2336] [on #081215][/on #12232d] [on #091515][/on #081215] [on #0b1717][/on #091515] [on #010101][/on #0b1717] [on #010304][/on #010101] [on #000000][/on #010304] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] [i]poisoner and rogue service provider[/]
|
|
10
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #010203][/on #000000] [on #010202][/on #010203] [on #103534][/on #010202] [on #0a1d1e][/on #103534] [on #03000a][/on #0a1d1e] [on #152f3d][/on #03000a] [on #05354e][/on #152f3d] [on #21586e][/on #05354e] [on #b1e0d1][/on #21586e]%[on #94f3d9][/on #b1e0d1]%[on #7bdfcd][/on #94f3d9]#[on #45a9ae][/on #7bdfcd]+[on #60959c][/on #45a9ae]+[on #3b7381][/on #60959c]-[on #0c1930][/on #3b7381] [on #0a102a][/on #0c1930] [on #0c132b][/on #0a102a] [on #0c142c][/on #0c132b] [on #0c0c25][/on #0c142c] [on #10253c][/on #0c0c25] [on #487683][/on #10253c]=[on #52949f][/on #487683]+[on #4dbabb][/on #52949f]*[on #8ae8d3][/on #4dbabb]#[on #b4f7dd][/on #8ae8d3]%[on #9cbeb7][/on #b4f7dd]#[on #04435e][/on #9cbeb7] [on #0b384d][/on #04435e] [on #122836][/on #0b384d] [on #020005][/on #122836] [on #103232][/on #020005] [on #0c2323][/on #103232] [on #010202][/on #0c2323] [on #000101][/on #010202] [on #000000][/on #000101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
11
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000202][/on #000000] [on #000101][/on #000202] [on #010303][/on #000101] [on #08191a][/on #010303] [on #1b575a][/on #08191a] [on #174451][/on #1b575a] [on #0b4b62][/on #174451] [on #56999e][/on #0b4b62]+[on #97dacd][/on #56999e]#[on #9ee3d2][/on #97dacd]%[on #85ddcb][/on #9ee3d2]#[on #8fecd4][/on #85ddcb]%[on #4fa7a9][/on #8fecd4]+[on #2c7585][/on #4fa7a9]-[on #509fa7][/on #2c7585]+[on #3d6a7a][/on #509fa7]-[on #0d112b][/on #3d6a7a] [on #0d132b][/on #0d112b] [on #0b0e27][/on #0d132b] [on #162039][/on #0b0e27] [on #376676][/on #162039]-[on #4c8a91][/on #376676]=[on #257382][/on #4c8a91]-[on #70cec1][/on #257382]*[on #8ee9d1][/on #70cec1]#[on #8fd0c0][/on #8ee9d1]#[on #94dac9][/on #8fd0c0]#[on #9fd4c9][/on #94dac9]#[on #428590][/on #9fd4c9]=[on #0b445a][/on #428590] [on #1b4f57][/on #0b445a] [on #154d4d][/on #1b4f57] [on #020a0b][/on #154d4d] [on #010505][/on #020a0b] [on #000000][/on #010505] [on #000102][/on #000000] [on #000000][/on #000102] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
12
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #010203][/on #000000] [on #000001][/on #010203] [on #040809][/on #000001] [on #0a1117][/on #040809] [on #132535][/on #0a1117] [on #0d5067][/on #132535] [on #3a97a3][/on #0d5067]=[on #aceedb][/on #3a97a3]%[on #7ce3cf][/on #aceedb]#[on #6ad8ca][/on #7ce3cf]#[on #64cdc6][/on #6ad8ca]*[on #55b1b0][/on #64cdc6]+[on #7ed9cc][/on #55b1b0]#[on #2b7286][/on #7ed9cc]-[on #276a7f][/on #2b7286]-[on #41a6b0][/on #276a7f]+[on #32848e][/on #41a6b0]=[on #0e0e28][/on #32848e] [on #12233c][/on #0e0e28] [on #30939e][/on #12233c]=[on #3a8291][/on #30939e]=[on #276278][/on #3a8291]-[on #4a9ea2][/on #276278]+[on #73cdc1][/on #4a9ea2]*[on #63b5b1][/on #73cdc1]*[on #66cabf][/on #63b5b1]*[on #77e2cd][/on #66cabf]#[on #94ebd2][/on #77e2cd]%[on #c3eedb][/on #94ebd2]%[on #207b8b][/on #c3eedb]-[on #0d4154][/on #207b8b] [on #0e171f][/on #0d4154] [on #071012][/on #0e171f] [on #030b0d][/on #071012] [on #000001][/on #030b0d] [on #000202][/on #000001] [on #000000][/on #000202] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] [bold]Using Libraries[/bold]
|
|
13
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #020405][/on #000000] [on #000000][/on #020405] [on #0b1520][/on #000000] [on #0d304a][/on #0b1520] [on #195267][/on #0d304a] [on #96cdc3][/on #195267]#[on #84ddcf][/on #96cdc3]#[on #87e4d0][/on #84ddcf]#[on #50c1bf][/on #87e4d0]*[on #3fbabc][/on #50c1bf]+[on #40949a][/on #3fbabc]=[on #54b0ad][/on #40949a]+[on #77ecda][/on #54b0ad]#[on #318896][/on #77ecda]=[on #24637c][/on #318896]-[on #318c9b][/on #24637c]=[on #101935][/on #318c9b] [on #193d56][/on #101935] [on #29788e][/on #193d56]-[on #1d5973][/on #29788e] [on #4cacad][/on #1d5973]+[on #85f2dd][/on #4cacad]%[on #36868d][/on #85f2dd]=[on #44a8ac][/on #36868d]+[on #35adb5][/on #44a8ac]+[on #63d0c6][/on #35adb5]*[on #89e3d0][/on #63d0c6]#[on #a5eed9][/on #89e3d0]%[on #84adaa][/on #a5eed9]*[on #00314d][/on #84adaa] [on #122637][/on #00314d] [on #070d13][/on #122637] [on #000000][/on #070d13] [on #020405][/on #000000] [on #000000][/on #020405] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] - [b]scapy[/b] : [white]{scapy_version}[/white]
|
|
14
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #071919][/on #000000] [on #0e3333][/on #071919] [on #06050e][/on #0e3333] [on #0c3047][/on #06050e] [on #548086][/on #0c3047]=[on #7ad7c8][/on #548086]#[on #4db2b3][/on #7ad7c8]+[on #8ee2d1][/on #4db2b3]#[on #40b3b8][/on #8ee2d1]+[on #2b8b9c][/on #40b3b8]=[on #49aeb2][/on #2b8b9c]+[on #22576a][/on #49aeb2] [on #40a6ac][/on #22576a]+[on #59d6cf][/on #40a6ac]*[on #2c8799][/on #59d6cf]=[on #1d4b68][/on #2c8799] [on #11203c][/on #1d4b68] [on #122541][/on #11203c] [on #1b526f][/on #122541] [on #339da8][/on #1b526f]=[on #54d1cb][/on #339da8]*[on #2a7984][/on #54d1cb]-[on #316e79][/on #2a7984]-[on #399ea9][/on #316e79]+[on #1e7f95][/on #399ea9]-[on #57c9c4][/on #1e7f95]*[on #8cd6c7][/on #57c9c4]#[on #50c0bd][/on #8cd6c7]*[on #8cd8cb][/on #50c0bd]#[on #315e6e][/on #8cd8cb]-[on #0b263e][/on #315e6e] [on #040208][/on #0b263e] [on #0d3334][/on #040208] [on #040d0e][/on #0d3334] [on #000000][/on #040d0e] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] - [b]impacket[/b] : [white]{impacket_version}[/white]
|
|
15
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000101][/on #000000] [on #010404][/on #000101] [on #1c5b58][/on #010404] [on #011416][/on #1c5b58] [on #1e404b][/on #011416] [on #5eb0ae][/on #1e404b]+[on #49bcb9][/on #5eb0ae]*[on #37a0ab][/on #49bcb9]+[on #56a7a9][/on #37a0ab]+[on #4fc7c7][/on #56a7a9]*[on #216d85][/on #4fc7c7]-[on #256e82][/on #216d85]-[on #36949f][/on #256e82]=[on #183c58][/on #36949f] [on #3193a0][/on #183c58]=[on #39abb4][/on #3193a0]+[on #15334d][/on #39abb4] [on #11233c][/on #15334d] [on #101d38][/on #11233c] [on #1f5a72][/on #101d38] [on #3cb7bc][/on #1f5a72]+[on #1f6b7d][/on #3cb7bc]-[on #19455c][/on #1f6b7d] [on #3498a3][/on #19455c]=[on #1c5468][/on #3498a3] [on #218096][/on #1c5468]=[on #6dd0cc][/on #218096]*[on #4d9198][/on #6dd0cc]=[on #47bdbf][/on #4d9198]*[on #53c2c1][/on #47bdbf]*[on #54a3a5][/on #53c2c1]+[on #062131][/on #54a3a5] [on #072426][/on #062131] [on #175354][/on #072426] [on #000001][/on #175354] [on #000101][/on #000001] [on #000000][/on #000101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] - [b]aiosmtpd[/b] : [white]{aiosmtpd_version}[/white]
|
|
16
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #030908][/on #000000] [on #2d6364][/on #030908]-[on #69acab][/on #2d6364]+[on #45bfbe][/on #69acab]*[on #2c8897][/on #45bfbe]=[on #37a1ad][/on #2c8897]+[on #25697e][/on #37a1ad]-[on #52aaad][/on #25697e]+[on #35a6b1][/on #52aaad]+[on #112c46][/on #35a6b1] [on #1f4b61][/on #112c46] [on #318393][/on #1f4b61]=[on #1c4762][/on #318393] [on #2c7f90][/on #1c4762]=[on #152e46][/on #2c7f90] [on #142540][/on #152e46] [on #101a35][/on #142540] [on #184058][/on #101a35] [on #256a7d][/on #184058]-[on #1e546b][/on #256a7d] [on #257a85][/on #1e546b]-[on #0a2230][/on #257a85] [on #154655][/on #0a2230] [on #46bfc2][/on #154655]*[on #46838b][/on #46bfc2]=[on #1b788c][/on #46838b]-[on #3baab3][/on #1b788c]+[on #35a1aa][/on #3baab3]+[on #55cac6][/on #35a1aa]*[on #61a4a3][/on #55cac6]+[on #215657][/on #61a4a3] [on #020605][/on #215657] [on #000000][/on #020605] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] - [b]aioquic[/b] : [white]{aioquic_version}[/white]
|
|
17
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000101][/on #000000] [on #000000][/on #000101] [on #0b1b21][/on #000000] [on #3b7679][/on #0b1b21]-[on #328a8e][/on #3b7679]=[on #2ba3af][/on #328a8e]+[on #268396][/on #2ba3af]=[on #1b4865][/on #268396] [on #298193][/on #1b4865]=[on #245f72][/on #298193]-[on #2ea2ae][/on #245f72]+[on #258188][/on #2ea2ae]=[on #0d0a23][/on #258188] [on #142f43][/on #0d0a23] [on #20546e][/on #142f43] [on #1b3c5c][/on #20546e] [on #18314a][/on #1b3c5c] [on #13243f][/on #18314a] [on #101b36][/on #13243f] [on #102442][/on #101b36] [on #1a4966][/on #102442] [on #1e616e][/on #1a4966]-[on #080f1c][/on #1e616e] [on #0e1223][/on #080f1c] [on #38a7ac][/on #0e1223]+[on #298796][/on #38a7ac]=[on #185366][/on #298796] [on #258295][/on #185366]=[on #1d5370][/on #258295] [on #299ca9][/on #1d5370]=[on #2b9faa][/on #299ca9]=[on #419491][/on #2b9faa]=[on #407173][/on #419491]-[on #071013][/on #407173] [on #000101][/on #071013] [on #000000][/on #000101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000] - [b]pyipp[/b] : [white]{pyipp_version}[/white]
|
|
18
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #010202][/on #000000] [on #000101][/on #010202] [on #081214][/on #000101] [on #051717][/on #081214] [on #092427][/on #051717] [on #133a48][/on #092427] [on #247d90][/on #133a48]-[on #225e77][/on #247d90]-[on #255e75][/on #225e77]-[on #226175][/on #255e75]-[on #1c657a][/on #226175]-[on #288698][/on #1c657a]=[on #122336][/on #288698] [on #165458][/on #122336] [on #060e18][/on #165458] [on #0d2037][/on #060e18] [on #173553][/on #0d2037] [on #14243f][/on #173553] [on #152542][/on #14243f] [on #173454][/on #152542] [on #10243b][/on #173454] [on #0c232b][/on #10243b] [on #17545f][/on #0c232b] [on #193753][/on #17545f] [on #2e9ba9][/on #193753]=[on #154f65][/on #2e9ba9] [on #236072][/on #154f65]-[on #2d788b][/on #236072]-[on #277087][/on #2d788b]-[on #227f8d][/on #277087]-[on #0d2c37][/on #227f8d] [on #052323][/on #0d2c37] [on #071516][/on #052323] [on #070e0f][/on #071516] [on #000000][/on #070e0f] [on #000101][/on #000000] [on #000000][/on #000101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
19
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #030b0b][/on #000000] [on #0a1e1e][/on #030b0b] [on #000000][/on #0a1e1e] [on #061015][/on #000000] [on #1a4b5e][/on #061015] [on #1f5160][/on #1a4b5e] [on #2a7786][/on #1f5160]-[on #206078][/on #2a7786]-[on #267d90][/on #206078]-[on #0e1831][/on #267d90] [on #144749][/on #0e1831] [on #17474f][/on #144749] [on #030209][/on #17474f] [on #0b1626][/on #030209] [on #152640][/on #0b1626] [on #0f1e31][/on #152640] [on #071018][/on #0f1e31] [on #03060d][/on #071018] [on #217172][/on #03060d]-[on #0d2a2f][/on #217172] [on #133249][/on #0d2a2f] [on #22788f][/on #133249]-[on #267386][/on #22788f]-[on #338187][/on #267386]=[on #22586a][/on #338187] [on #195364][/on #22586a] [on #040d0e][/on #195364] [on #000000][/on #040d0e] [on #0c2728][/on #000000] [on #000303][/on #0c2728] [on #000000][/on #000303] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
20
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000102][/on #000000] [on #000000][/on #000102] [on #000000][/on #000000] [on #030609][/on #000000] [on #050e10][/on #030609] [on #1c4a58][/on #050e10] [on #277080][/on #1c4a58]-[on #236372][/on #277080]-[on #0b1d1f][/on #236372] [on #0a1c23][/on #0b1d1f] [on #111e39][/on #0a1c23] [on #070d16][/on #111e39] [on #000000][/on #070d16] [on #000000][/on #000000] [on #0b1728][/on #000000] [on #10263f][/on #0b1728] [on #0c2426][/on #10263f] [on #122b2e][/on #0c2426] [on #2a6f7a][/on #122b2e]-[on #266779][/on #2a6f7a]-[on #16414a][/on #266779] [on #020709][/on #16414a] [on #030d13][/on #020709] [on #000000][/on #030d13] [on #000000][/on #000000] [on #000202][/on #000000] [on #000000][/on #000202] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
21
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000100][/on #000000] [on #000000][/on #000100] [on #000000][/on #000000] [on #000101][/on #000000] [on #040a0a][/on #000101] [on #000000][/on #040a0a] [on #000000][/on #000000] [on #000000][/on #000000] [on #04090e][/on #000000] [on #081617][/on #04090e] [on #040808][/on #081617] [on #020507][/on #040808] [on #050911][/on #020507] [on #000000][/on #050911] [on #020406][/on #000000] [on #060d17][/on #020406] [on #030506][/on #060d17] [on #070f0e][/on #030506] [on #09181a][/on #070f0e] [on #03070d][/on #09181a] [on #000000][/on #03070d] [on #000000][/on #000000] [on #010202][/on #000000] [on #040a0a][/on #010202] [on #000000][/on #040a0a] [on #000101][/on #000000] [on #000000][/on #000101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
22
|
+
[on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000001][/on #000000] [on #000101][/on #000001] [on #000000][/on #000101] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000202][/on #000000] [on #000000][/on #000202] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [on #000000][/on #000000] [/on #000000]
|
|
@@ -51,7 +51,7 @@ def _set_global_config(config: dict[str, Any]) -> None:
|
|
|
51
51
|
:param config: New configuration dictionary.
|
|
52
52
|
:type config: dict
|
|
53
53
|
"""
|
|
54
|
-
|
|
54
|
+
sys.modules[__name__].dm_config = config
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def init_from_file(path: str) -> None:
|
|
@@ -25,6 +25,8 @@ from typing import Any
|
|
|
25
25
|
from pathlib import Path
|
|
26
26
|
from typing_extensions import override
|
|
27
27
|
|
|
28
|
+
from scapy.arch import get_if_addr, in6_getifaddr
|
|
29
|
+
|
|
28
30
|
from dementor.config.toml import TomlConfig, Attribute
|
|
29
31
|
from dementor.config.util import is_true
|
|
30
32
|
from dementor.paths import DEMENTOR_PATH
|
|
@@ -54,6 +56,7 @@ if typing.TYPE_CHECKING:
|
|
|
54
56
|
from dementor.protocols.msrpc import rpc
|
|
55
57
|
from dementor.db.model import DementorDB
|
|
56
58
|
from dementor.db.connector import DatabaseConfig
|
|
59
|
+
from dementor.loader import ProtocolManager
|
|
57
60
|
|
|
58
61
|
|
|
59
62
|
class SessionConfig(TomlConfig):
|
|
@@ -97,7 +100,9 @@ class SessionConfig(TomlConfig):
|
|
|
97
100
|
ipv6: str | None
|
|
98
101
|
ipv4: str | None
|
|
99
102
|
interface: str | None
|
|
100
|
-
protocols: dict[str,
|
|
103
|
+
protocols: dict[str, str]
|
|
104
|
+
manager: ProtocolManager
|
|
105
|
+
debug: bool
|
|
101
106
|
|
|
102
107
|
db: DementorDB
|
|
103
108
|
db_config: DatabaseConfig
|
|
@@ -162,9 +167,7 @@ class SessionConfig(TomlConfig):
|
|
|
162
167
|
self.analysis = False
|
|
163
168
|
self.loop = asyncio.new_event_loop()
|
|
164
169
|
self.protocols = {}
|
|
165
|
-
|
|
166
|
-
# SMTP configuration
|
|
167
|
-
self.smtp_servers = []
|
|
170
|
+
self.debug = False
|
|
168
171
|
|
|
169
172
|
# NTLM configuration
|
|
170
173
|
self.ntlm_disable_ess = False
|
|
@@ -186,7 +189,7 @@ class SessionConfig(TomlConfig):
|
|
|
186
189
|
raw_path = str(path)
|
|
187
190
|
if raw_path[0] == "/":
|
|
188
191
|
return Path(raw_path)
|
|
189
|
-
|
|
192
|
+
if raw_path.startswith(("./", "../")):
|
|
190
193
|
return Path(raw_path).resolve()
|
|
191
194
|
|
|
192
195
|
return (Path(self.workspace_path) / raw_path).resolve()
|
|
@@ -203,3 +206,11 @@ class SessionConfig(TomlConfig):
|
|
|
203
206
|
return config
|
|
204
207
|
|
|
205
208
|
return config[".".join(parts)]
|
|
209
|
+
|
|
210
|
+
def set_interface(self, interface: str) -> None:
|
|
211
|
+
self.interface = interface
|
|
212
|
+
self.ipv4 = get_if_addr(self.interface)
|
|
213
|
+
self.ipv6 = next(
|
|
214
|
+
(ip[0] for ip in in6_getifaddr() if ip[2] == self.interface),
|
|
215
|
+
None,
|
|
216
|
+
)
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
# pyright: reportAny=false, reportExplicitAny=false
|
|
21
21
|
from typing import ClassVar, NamedTuple, Any, TypeVar
|
|
22
22
|
from collections.abc import Callable
|
|
23
|
+
from typing_extensions import override
|
|
23
24
|
|
|
24
25
|
from dementor.config.util import get_value
|
|
25
26
|
|
|
@@ -65,9 +66,7 @@ class Attribute(NamedTuple):
|
|
|
65
66
|
|
|
66
67
|
|
|
67
68
|
class TomlConfig:
|
|
68
|
-
"""
|
|
69
|
-
Base class for configuration objects that are built from a TOML-derived
|
|
70
|
-
``dict`` structure.
|
|
69
|
+
"""Base class for configuration objects built from a TOML-derived dict.
|
|
71
70
|
|
|
72
71
|
Sub-classes must define two class attributes:
|
|
73
72
|
|
|
@@ -76,7 +75,7 @@ class TomlConfig:
|
|
|
76
75
|
* ``_fields_`` - a list of :class:`Attribute` objects describing how each
|
|
77
76
|
instance attribute is resolved.
|
|
78
77
|
|
|
79
|
-
Example
|
|
78
|
+
Example:
|
|
80
79
|
-------
|
|
81
80
|
>>> class MyConfig(TomlConfig):
|
|
82
81
|
... _section_ = "my"
|
|
@@ -87,6 +86,7 @@ class TomlConfig:
|
|
|
87
86
|
>>> cfg = MyConfig({"host": "example.com"})
|
|
88
87
|
>>> cfg.host, cfg.port
|
|
89
88
|
('example.com', 8080)
|
|
89
|
+
|
|
90
90
|
"""
|
|
91
91
|
|
|
92
92
|
# Sub-classes are expected to provide these attributes.
|
|
@@ -138,9 +138,7 @@ class TomlConfig:
|
|
|
138
138
|
|
|
139
139
|
@staticmethod
|
|
140
140
|
def build_config(cls_ty: type[_T], section: str | None = None) -> _T:
|
|
141
|
-
"""
|
|
142
|
-
Factory that builds a concrete ``TomlConfig`` subclass from the global
|
|
143
|
-
configuration.
|
|
141
|
+
"""Build a concrete ``TomlConfig`` subclass from the global configuration.
|
|
144
142
|
|
|
145
143
|
:param cls_ty: Concrete subclass of :class:`TomlConfig` to instantiate.
|
|
146
144
|
:type cls_ty: type[_T]
|
|
@@ -234,7 +232,7 @@ class TomlConfig:
|
|
|
234
232
|
value = config.get(qname, default_val)
|
|
235
233
|
if value is _LOCAL:
|
|
236
234
|
# ``_LOCAL`` means “required but not supplied”.
|
|
237
|
-
raise
|
|
235
|
+
raise ValueError(
|
|
238
236
|
f"Expected '{qname}' in config or section({section}) for "
|
|
239
237
|
+ f"{self.__class__.__name__}!"
|
|
240
238
|
)
|
|
@@ -251,3 +249,10 @@ class TomlConfig:
|
|
|
251
249
|
setter(value)
|
|
252
250
|
else:
|
|
253
251
|
setattr(self, field_name, value)
|
|
252
|
+
|
|
253
|
+
def as_dict(self) -> dict[str, Any]:
|
|
254
|
+
return {a.attr_name: getattr(self, a.attr_name, None) for a in self._fields_}
|
|
255
|
+
|
|
256
|
+
@override
|
|
257
|
+
def __repr__(self) -> str:
|
|
258
|
+
return repr(self.as_dict())
|
|
@@ -98,7 +98,8 @@ class BytesValue:
|
|
|
98
98
|
"""
|
|
99
99
|
|
|
100
100
|
def __init__(self, length: int | None = None) -> None:
|
|
101
|
-
"""
|
|
101
|
+
"""Initialize BytesValue.
|
|
102
|
+
|
|
102
103
|
:param length: Desired length for randomly generated tokens when the
|
|
103
104
|
input is ``None``. If omitted a single byte is generated.
|
|
104
105
|
:type length: int | None, optional
|
|
@@ -217,4 +218,4 @@ def now() -> str:
|
|
|
217
218
|
:return: Formatted timestamp.
|
|
218
219
|
:rtype: str
|
|
219
220
|
"""
|
|
220
|
-
return datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
|
|
221
|
+
return datetime.datetime.now(tz=datetime.UTC).strftime("%Y-%m-%d-%H-%M-%S")
|
|
@@ -101,14 +101,13 @@ def init_engine(session: SessionConfig) -> Engine | None:
|
|
|
101
101
|
path = session.db_config.db_path
|
|
102
102
|
if not path:
|
|
103
103
|
return dm_logger.error("Database path not specified!")
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
path = f"/{real_path}"
|
|
104
|
+
# :memory: is a special SQLite in-memory database.
|
|
105
|
+
if dialect == "sqlite" and path != ":memory:":
|
|
106
|
+
real_path = session.resolve_path(path)
|
|
107
|
+
if not real_path.parent.exists():
|
|
108
|
+
dm_logger.debug(f"Creating database directory {real_path.parent}")
|
|
109
|
+
real_path.parent.mkdir(parents=True, exist_ok=True)
|
|
110
|
+
path = f"/{real_path}"
|
|
112
111
|
raw_path = f"{dialect}+{driver}://{path}"
|
|
113
112
|
else:
|
|
114
113
|
# Decompose the user-supplied URL to obtain dialect and driver.
|
|
@@ -124,7 +123,7 @@ def init_engine(session: SessionConfig) -> Engine | None:
|
|
|
124
123
|
if "@" in first_element:
|
|
125
124
|
# keep only the “host:port” part, replace user:pass with stars
|
|
126
125
|
first_element = first_element.split("@")[1]
|
|
127
|
-
path = "***:***@" + "/".join([first_element
|
|
126
|
+
path = "***:***@" + "/".join([first_element, *parts])
|
|
128
127
|
|
|
129
128
|
dm_logger.debug("Using database [%s:%s] at: %s", dialect, driver, path)
|
|
130
129
|
return create_engine(raw_path, isolation_level="AUTOCOMMIT", future=True)
|
|
@@ -142,5 +141,5 @@ def create_db(session: SessionConfig) -> DementorDB:
|
|
|
142
141
|
"""
|
|
143
142
|
engine = init_engine(session)
|
|
144
143
|
if not engine:
|
|
145
|
-
raise
|
|
144
|
+
raise RuntimeError("Failed to create database engine")
|
|
146
145
|
return DementorDB(engine, session)
|
|
@@ -64,8 +64,6 @@ class ModelBase(DeclarativeBase):
|
|
|
64
64
|
for ``create_all`` / ``drop_all`` calls.
|
|
65
65
|
"""
|
|
66
66
|
|
|
67
|
-
pass
|
|
68
|
-
|
|
69
67
|
|
|
70
68
|
class HostInfo(ModelBase):
|
|
71
69
|
"""Stores basic host information from network scans.
|
|
@@ -202,7 +200,7 @@ class DementorDB:
|
|
|
202
200
|
"Could not execute SQL - you are probably using an outdated Dementor.db"
|
|
203
201
|
)
|
|
204
202
|
else:
|
|
205
|
-
raise
|
|
203
|
+
raise
|
|
206
204
|
|
|
207
205
|
def commit(self):
|
|
208
206
|
"""Commit the current transaction and handle schema-related errors."""
|
|
@@ -214,7 +212,7 @@ class DementorDB:
|
|
|
214
212
|
"Could not execute SQL - you are probably using an outdated Dementor.db"
|
|
215
213
|
)
|
|
216
214
|
else:
|
|
217
|
-
raise
|
|
215
|
+
raise
|
|
218
216
|
|
|
219
217
|
# --------------------------------------------------------------------- #
|
|
220
218
|
# Public CRUD-style helpers
|
|
@@ -365,7 +363,7 @@ class DementorDB:
|
|
|
365
363
|
|
|
366
364
|
target_logger.debug(
|
|
367
365
|
f"Adding {credtype} for {username} on {client_address}: "
|
|
368
|
-
|
|
366
|
+
f"{target_logger} | {protocol} | {domain} | {hostname} | {username} | {password}"
|
|
369
367
|
)
|
|
370
368
|
|
|
371
369
|
# Ensure the host exists (or create it) before linking the cred.
|
|
@@ -406,7 +404,9 @@ class DementorDB:
|
|
|
406
404
|
|
|
407
405
|
cred = Credential(
|
|
408
406
|
# REVISIT: replace with util.now()
|
|
409
|
-
timestamp=datetime.datetime.now().strftime(
|
|
407
|
+
timestamp=datetime.datetime.now(tz=datetime.UTC).strftime(
|
|
408
|
+
"%Y-%m-%d %H:%M:%S"
|
|
409
|
+
),
|
|
410
410
|
protocol=protocol.lower(),
|
|
411
411
|
credtype=credtype.lower(),
|
|
412
412
|
client=f"{client_address}:{port}",
|
|
@@ -75,7 +75,7 @@ class FilterObj:
|
|
|
75
75
|
self.pattern = None
|
|
76
76
|
|
|
77
77
|
def matches(self, source: str) -> bool:
|
|
78
|
-
"""Check if the source string matches this filter.
|
|
78
|
+
r"""Check if the source string matches this filter.
|
|
79
79
|
|
|
80
80
|
:param source: String to test against the filter.
|
|
81
81
|
:type source: str
|
|
@@ -89,6 +89,7 @@ class FilterObj:
|
|
|
89
89
|
>>> f = FilterObj("host1")
|
|
90
90
|
>>> f.matches("host1")
|
|
91
91
|
True
|
|
92
|
+
|
|
92
93
|
"""
|
|
93
94
|
return (
|
|
94
95
|
self.pattern.match(source) is not None
|
|
@@ -209,6 +210,7 @@ def in_scope(value: str, config: Any) -> bool:
|
|
|
209
210
|
>>> cfg.ignored = Filters(["host1"])
|
|
210
211
|
>>> in_scope("host1", cfg)
|
|
211
212
|
False
|
|
213
|
+
|
|
212
214
|
"""
|
|
213
215
|
if hasattr(config, "targets"):
|
|
214
216
|
is_target = value in config.targets if config.targets else True
|
|
@@ -236,7 +238,7 @@ class Filters:
|
|
|
236
238
|
"""
|
|
237
239
|
|
|
238
240
|
def __init__(self, config: list[str | dict[str, Any]]) -> None:
|
|
239
|
-
"""Initialize filters from a configuration list.
|
|
241
|
+
r"""Initialize filters from a configuration list.
|
|
240
242
|
|
|
241
243
|
Each item can be:
|
|
242
244
|
- A string: treated as literal or pattern (`re:...`, `g:...`)
|
|
@@ -253,6 +255,7 @@ class Filters:
|
|
|
253
255
|
... {"Target": "host1", "reason": "admin"},
|
|
254
256
|
... ]
|
|
255
257
|
... )
|
|
258
|
+
|
|
256
259
|
"""
|
|
257
260
|
self.filters: list[FilterObj] = []
|
|
258
261
|
for filter_config in config:
|