Darkweb OSINT Package
A modular Open Source Intelligence (OSINT) tool designed to search and scrape data from the Darkweb (Tor network). This package aggregates results from multiple darkweb search engines and provides a concurrent scraper to extract content from .onion sites.
Features
- Multi-Engine Search: Queries 15+ darkweb search engines (Ahmia, Torch, OnionLand, etc.) concurrently.
- Concurrent Scraping: Rapidly extracts text content from multiple
.onionURLs simultaneously. - Tor Integration: Built-in SOCKS5 proxy configuration for seamless routing through the Tor network.
- User-Agent Rotation: Randomizes user agents to minimize blocking.
Prerequisites
Crucial: You must have the Tor service running on your machine for this package to function. This package routes traffic through the local Tor SOCKS5 proxy (default port 9050).
- Linux (Debian/Ubuntu):
sudo apt install tor sudo service tor start
- Windows: Download the Tor Browser or the Tor Expert Bundle and ensure it is running.
Installation
This package is managed via pyproject.toml. You can install it directly:
pip install osint-darkweb.pkg
Usage
** 1. Searching** Search for a keyword across multiple hidden service search engines.
from osint_darkweb_pkg import get_search_results
query = "example query"
Returns a list of dictionaries: [{'title': '...', 'link': '...'}]
results = get_search_results(query)
print(f"Found {len(results)} links.")
** 2. Scraping** Extract text content from a list of .onion URLs. from osint_darkweb_pkg import scrape_multiple
specific .onion links or results from the search step
urls = [ {'link': 'http://example1.onion', 'title': 'Example 1'}, {'link': 'http://example2.onion', 'title': 'Example 2'} ]
Returns a dictionary: {'http://example1.onion': 'Page content...'}
data = scrape_multiple(urls)
for url, content in data.items(): print(f"URL: {url}\nContent: {content[:100]}...\n")
Structure
search.py: Handles sending queries to search engine endpoints and parsing results.
scrape.py: Handles visiting specific .onion URLs and extracting text.
utils.py: Manages shared resources like Tor proxy configuration and User-Agent rotation.
Disclaimer
This tool is intended for educational and research purposes only (e.g., security research, OSINT investigations). The authors are not responsible for any misuse of this tool. Accessing the dark web may be illegal or monitored in certain jurisdictions. Use responsibly.
Metadata
Release files for osint-darkweb-pkg 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| osint_darkweb_pkg-0.1.0.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| osint_darkweb_pkg-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / osint_darkweb_pkg-0.1.0.tar.gz
| Download URL | osint_darkweb_pkg-0.1.0.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a42152d02d3493ec01e8913964e05b4b850107f9be06f50ba89978795463e42
|
|
BLAKE2b-256 checksum How to use checksums |
74cabdb1b370bb98b7738848c2fa6b08643dd34fc441695d70d88a8d6eec233e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / osint_darkweb_pkg-0.1.0-py3-none-any.whl
| Download URL | osint_darkweb_pkg-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1154f5afc66a0c2b15f0690539ead7695ccff6bf2120268203342cbf10329fb9
|
|
BLAKE2b-256 checksum How to use checksums |
f267a8ecffa411ab4e9e0eab759929bd760dd79c1adbe894b0eac78195b2a611
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|