A Google Dorking library & Command-Line Interface 👾
Installation
Install ventus with pip
pip install ventus
Usage (command-line interface)
Usage: ventus [OPTIONS] QUERY
Options:
--help Show this message and exit
-p, --paste Search paste sites
-f, --files Search filesharing sites
-i, --index Search index of /
-d, --document Search for DOCX files
Usage (library)
Example 1: Search a string
from ventus import search
results = search("test")
for r in results:
print(r)
Example 2: Search a raw dork query
from ventus import search
results = search("site:wikipedia.com mercedes")
for r in results:
print(r)
for r in results:
print(r)
Example 3: Build and search a query using the query builder
from ventus import search, Query
q = Query()
q.site("finance.yahoo.com")
q.intitle("AMD")
print(q) # site:finance.yahoo.com intitle:AMD
# search query
results = search(q)
for r in results:
print(r)
Example 4: Add a keyword group to a query
from ventus import search, Query, Filter
q = Query()
q.site("finance.yahoo.com")
q.intitle(["BMW", "Mercedes"], group_seperator=Filter.AND)
print(q) # site:finance.yahoo.com intitle:(BMW & Mercedes)
# search query
results = search(q)
for r in results:
print(r)
Roadmap
- Move search wrapper directly into cli.py [DONE]
- Option to choose number of links to return
- Recode parts of the query builder
- More pre configured searches in CLI
- Option to use custom queries directly in the terminal
About
Made with ♥ by aaronlyy
Release files for ventus 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ventus-0.3.4.tar.gz | 20.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ventus-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.4 kB
Release files / ventus-0.3.4.tar.gz
| Download URL | ventus-0.3.4.tar.gz |
|---|---|
| Size | 20.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
41c8e9f7608c301a9f5277782ec505a0c50df02af6715863db916d174f53ff01
|
|
BLAKE2b-256 checksum How to use checksums |
4a5e5212d03666021a3fe063ac6342028165ce988c1fbcba5f444bbcea2056ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / ventus-0.3.4-py3-none-any.whl
| Download URL | ventus-0.3.4-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a07c48d73016a4928135faba2aed18b83c5d1152db82564b99f50e990e88f10
|
|
BLAKE2b-256 checksum How to use checksums |
cf447d77b7b3bc0ef3356fb7b1cf82697d919b93ce2ecc5847f434aaaab6dbdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|