-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
83 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,56 @@ | ||
# ventus: a google dorking library and cli | ||
# ventus: a google dorking library and command-line interface | ||
|
||
## installation | ||
|
||
install ventus with pip | ||
|
||
```pip install ventus``` | ||
|
||
## how to use | ||
|
||
### Example 1: Getting public database passwords | ||
|
||
```py | ||
from ventus import Ventus, Query, Filter | ||
|
||
query = Query() # create a new query object | ||
query.add_keyword("db_password") # add a single keyword | ||
query.add_filter(Filter.FILETYPE, "env") # add a filter for filetype 'env' | ||
|
||
ventus = Ventus() # create a ventus object | ||
results = ventus.search(query) # execute query | ||
|
||
for r in results: | ||
print(r) | ||
``` | ||
|
||
### Example 2: Find uploaded phone backups | ||
|
||
```py | ||
from ventus import Ventus, Query, Filter | ||
|
||
q = Query() | ||
q.add_filter(Filter.INTITLE, "index of /") | ||
q.add_filter(Filter.AND) | ||
q.add_filter(Filter.INTEXT) | ||
q.add_keyword_group(["Backup", "backup", "recovery"]) | ||
q.add_filter(Filter.AND) | ||
q.add_filter(Filter.INTITLE) | ||
q.add_keyword_group(["iphone", "samsung", "huawei"]) # default operator is Filter.OR | ||
|
||
ventus = Ventus() | ||
results = ventus.search(query) | ||
|
||
for r in results: | ||
print(r) | ||
``` | ||
|
||
## todo | ||
|
||
- basic functionality | ||
- proxy support | ||
- cli | ||
- add support for proxy lists | ||
- add a command-line interface wrapper | ||
- write predefined queries | ||
|
||
### about | ||
|
||
Made with ♥ by [aaronlyy](https://github.com/aaronlyy) | ||
made with ♥ by [aaronlyy](https://github.com/aaronlyy) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters