-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (100 loc) · 3.37 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (100 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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "atdork"
version = "1.3.9.6"
description = "dorking tools with ddgs metasearch OSINT tool"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{name = "alzzmarket", email = "alzzmarket@proton.me"}
]
keywords = ["osint", "dork", "pentest", "security", "duckduckgo", "metasearch", "ghdb"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
]
requires-python = ">=3.9"
dependencies = [
"ddgs>=7.0",
"rich>=13.0",
"pyfiglet>=0.8",
"pyyaml>=6.0",
"requests>=2.28",
"beautifulsoup4>=4.12",
"urllib3>=2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"flake8>=7.0",
"bandit>=1.7",
"safety>=3.0",
]
[project.urls]
Homepage = "https://github.com/amnottdevv/atdork"
"Bug Reports" = "https://github.com/amnottdevv/atdork/issues"
"Source Code" = "https://github.com/amnottdevv/atdork"
"documentation" = "https://amnottdevv.github.io/AtDork/"
# ---------------------------------------------------------------------------
# Package discovery & data files
# ---------------------------------------------------------------------------
#
# The `database/` folder contains 89 .txt files spread across 18+ nested
# subdirectories (Bug Bounty Dorks/, CMS/Wordpress/, Cryptocurrency Dorks/,
# etc.) — WITHOUT __init__.py markers in each subfolder.
#
# To bundle every .txt/.md file under database/ (including ones added later
# in any new subfolder), we use a combination of:
# 1. `include-package-data = true` — auto-include data files for packages
# 2. Recursive glob patterns in `[tool.setuptools.package-data]`
# 3. A MANIFEST.in fallback for sdist builds (belt-and-suspenders)
#
# This means: drop a new `database/<new_subdir>/<new_file>.txt` and it will
# be automatically bundled in the next wheel build — no config changes needed.
[tool.setuptools]
py-modules = ["atdork"]
include-package-data = true
[tool.setuptools.packages.find]
# Auto-discover all Python packages (folders with __init__.py)
# Note: database/ subfolders don't have __init__.py, so they're treated
# as data directories, not packages — package-data globs below handle them.
include = [
"core*",
"lib*",
"wordlists*",
"database",
]
exclude = ["tests*", "docs*", "raw*", "assets*"]
[tool.setuptools.package-data]
# Wordlists: vulnerability signatures (flat directory)
wordlists = ["*.txt"]
# Templates: YAML dork collections
"wordlists.templates" = ["*.yaml", "*.yml"]
# Database: bundled 900K+ dorks across 89 files in nested subfolders.
# Recursive globs (`**/`) catch ALL .txt/.md files in ANY subfolder,
# so newly added subdirectories are bundled automatically.
# Patterns are evaluated against the `database` package root.
database = [
"*.txt",
"*.md",
"**/*.txt",
"**/*.md",
"**/**/*.txt",
"**/**/*.md",
"**/**/**/*.txt",
"**/**/**/*.md",
"**/**/**/**/*.txt",
"**/**/**/**/*.md",
]
[project.scripts]
atdork = "atdork:main"