-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
144 lines (130 loc) · 3.37 KB
/
Copy pathpyproject.toml
File metadata and controls
144 lines (130 loc) · 3.37 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "king-phisher"
version = "3.0.0"
description = "Advanced Security Framework with Multi-Platform Integration"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
{name = "Ian Carter Kulani", email = "ian@kingphisher.local"}
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Security",
]
dependencies = [
"cryptography>=41.0.0",
"paramiko>=3.3.0",
"scapy>=2.5.0",
"requests>=2.31.0",
"psutil>=5.9.0",
"colorama>=0.4.6",
"flask>=2.3.0",
"flask-cors>=4.0.0",
]
[project.optional-dependencies]
discord = ["discord.py>=2.3.0"]
telegram = ["telethon>=1.34.0"]
slack = ["slack-sdk>=3.21.0"]
whatsapp = ["selenium>=4.15.0", "webdriver-manager>=4.0.0"]
full = [
"discord.py>=2.3.0",
"telethon>=1.34.0",
"slack-sdk>=3.21.0",
"selenium>=4.15.0",
"webdriver-manager>=4.0.0",
"qrcode>=7.4.0",
"pillow>=10.0.0",
"pyshorteners>=1.0.1",
"python-whois>=0.8.0",
]
[project.scripts]
king-phisher = "king_phisher:main"
[project.urls]
Homepage = "https://github.com/iank/king-phisher"
Documentation = "https://docs.kingphisher.local"
Repository = "https://github.com/iank/king-phisher.git"
Issues = "https://github.com/iank/king-phisher/issues"
[tool.black]
line-length = 120
target-version = ['py39', 'py310', 'py311']
include = '\.pyi?$'
extend-exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
disallow_untyped_defs = false
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --strict-markers --tb=short"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
]
[tool.coverage.run]
source = ["king_phisher"]
omit = ["tests/*", "venv/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if False:",
]
show_missing = true
fail_under = 70
[tool.bandit]
exclude_dirs = ["tests", "venv", ".git"]
skids = ["B101", "B307"]
severity = "medium"
confidence = "medium"
[tool.pylint.main]
ignore = ["tests", "venv"]
extension-pkg-allow-list = ["cryptography"]
[tool.pylint.messages_control]
disable = ["C0114", "C0115", "C0116", "R0903", "R0913", "W0511"]
[tool.pylint.design]
max-args = 10
max-locals = 25
max-returns = 10