Skip to content

Commit

Permalink
fixed readme and version++
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronlyy committed Apr 19, 2022
1 parent 7256696 commit f4d3f19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 44 deletions.
42 changes: 0 additions & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,50 +6,8 @@ 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

- Add Query.add_raw()
- Add option to search raw queries instead of Query objects in Ventus()
- Fix spacing between filters and keywords
- Add support for proxy lists
- Add a command-line interface wrapper
- Write predefined queries
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

VERSION = '0.0.2'
VERSION = '0.1.0'
DESCRIPTION = 'A google dorking library and cli.'
LONG_DESCRIPTION = 'Use google dorking directly in python and from your terminal.'

Expand All @@ -17,7 +17,6 @@
install_requires=['requests', 'bs4', 'beautifulsoup4', 'click'],
keywords=['dorking', 'google', 'scraping', 'google dorking', 'hacking', 'cracking'],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
Expand Down

0 comments on commit f4d3f19

Please sign in to comment.