-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
70 lines (64 loc) · 2.08 KB
/
Copy pathsetup.py
File metadata and controls
70 lines (64 loc) · 2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python3
import importlib.util
from pathlib import Path
from setuptools import find_packages, setup
# Paths
ROOT = Path(__file__).resolve().parent
PKG = "tlslibhunter"
ABOUT = ROOT / PKG / "about.py"
README = ROOT / "README.md"
# Load metadata from about.py safely
spec = importlib.util.spec_from_file_location(f"{PKG}.about", ABOUT)
about = importlib.util.module_from_spec(spec)
spec.loader.exec_module(about) # type: ignore[attr-defined]
# Long description
long_description = README.read_text(encoding="utf-8") if README.exists() else ""
# Runtime requirements
install_requires = [
"frida>=16.0.0",
"frida-tools>=12.0.0",
"rich",
]
setup(
name="tlsLibHunter",
version=about.__version__,
description="Identifies TLS/SSL libraries in running processes using Frida-based dynamic instrumentation.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/monkeywave/tlsLibHunter",
author=about.__author__,
author_email="daniel.baier@fkie.fraunhofer.de",
license="MIT",
packages=find_packages(exclude=("tests",)),
python_requires=">=3.8",
install_requires=install_requires,
extras_require={
"macos": ["dyldextractor"],
},
# Include non-Python assets inside the package
package_data={
"tlslibhunter": [
"scripts/*.js",
],
},
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: JavaScript",
"Topic :: Security",
"Topic :: Software Development :: Debuggers",
],
keywords=["frida", "ssl", "tls", "instrumentation", "security"],
entry_points={
"console_scripts": [
"tlsLibHunter=tlslibhunter.cli:main",
],
},
project_urls={
"Source": "https://github.com/monkeywave/tlsLibHunter",
"Issues": "https://github.com/monkeywave/tlsLibHunter/issues",
},
)