capat 0.1.0__py3-none-any.whl
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.
- capat/__init__.py +30 -0
- capat/__main__.py +4 -0
- capat/cli.py +813 -0
- capat/collector.py +109 -0
- capat/core/__init__.py +0 -0
- capat/core/config.py +55 -0
- capat/core/discovery.py +101 -0
- capat/core/engine.py +85 -0
- capat/core/inline.py +390 -0
- capat/core/matching.py +241 -0
- capat/core/profile.py +585 -0
- capat/core/result.py +51 -0
- capat/core/target.py +25 -0
- capat/core/template.py +135 -0
- capat/core/throttle.py +127 -0
- capat/corpus.py +157 -0
- capat/http/__init__.py +0 -0
- capat/http/client.py +135 -0
- capat/http/rate_limiter.py +43 -0
- capat/modules/__init__.py +43 -0
- capat/modules/base.py +38 -0
- capat/modules/credential_audit.py +416 -0
- capat/modules/gate_enforcement.py +478 -0
- capat/modules/login_flow.py +245 -0
- capat/modules/solve_rate.py +359 -0
- capat/py.typed +0 -0
- capat/reporting/__init__.py +0 -0
- capat/reporting/banner.py +248 -0
- capat/reporting/reporter.py +175 -0
- capat/solvers/__init__.py +117 -0
- capat/solvers/base.py +153 -0
- capat/solvers/ddddocr_solver.py +137 -0
- capat/solvers/easyocr_solver.py +76 -0
- capat/solvers/ensemble.py +163 -0
- capat/solvers/preprocess.py +94 -0
- capat/solvers/tesseract_solver.py +64 -0
- capat/trace.py +110 -0
- capat/wizard.py +171 -0
- capat-0.1.0.dist-info/METADATA +464 -0
- capat-0.1.0.dist-info/RECORD +43 -0
- capat-0.1.0.dist-info/WHEEL +4 -0
- capat-0.1.0.dist-info/entry_points.txt +2 -0
- capat-0.1.0.dist-info/licenses/LICENSE +21 -0
capat/__init__.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""capat - measure how well an image CAPTCHA resists automation.
|
|
2
|
+
|
|
3
|
+
Built for authorized security testing and for the argument that follows it:
|
|
4
|
+
image recognition has stopped being a meaningful barrier, so a CAPTCHA should
|
|
5
|
+
not be counted as the control that prevents automated login attempts.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from capat.core.config import Config
|
|
9
|
+
from capat.core.engine import Engine
|
|
10
|
+
from capat.core.matching import Matcher, Outcome, SuccessCriteria
|
|
11
|
+
from capat.core.profile import LoginProfile
|
|
12
|
+
from capat.core.result import Finding, Severity
|
|
13
|
+
from capat.core.target import Target
|
|
14
|
+
from capat.core.template import Extractor
|
|
15
|
+
|
|
16
|
+
__version__ = "0.1.0"
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"Config",
|
|
20
|
+
"Engine",
|
|
21
|
+
"Finding",
|
|
22
|
+
"Extractor",
|
|
23
|
+
"LoginProfile",
|
|
24
|
+
"Matcher",
|
|
25
|
+
"Outcome",
|
|
26
|
+
"Severity",
|
|
27
|
+
"SuccessCriteria",
|
|
28
|
+
"Target",
|
|
29
|
+
"__version__",
|
|
30
|
+
]
|
capat/__main__.py
ADDED