Hathi
A SQL host scanner and dictionary attack tool. Comes with a script (filter_pass.py) to filter a series of password lists based on password strength.
Installation
Install using PyPI to install the Postgres driver
pip install hathi
For the optional MSSQL support, install
pip install "hathi[mssql]"
For the optional MySQL support, install
pip install "hathi[mysql]"
Usage
usage: hathi [-h] [--username USERNAME [USERNAME ...]] [--range RANGE [RANGE ...]] [--usernames FILE] [--passwords FILE] [--hostname HOSTNAME]
[--json] [--mssql] [--postgres] [--mysql] [--multiple]
[host ...]
Port scan and dictionary attack PostgreSQL, MSSQL and MySQL servers.
positional arguments:
host host to scan
optional arguments:
-h, --help show this help message and exit
--username USERNAME [USERNAME ...]
specific username
--range RANGE [RANGE ...]
CIDR range, e.g. 192.168.1.0/24
--usernames FILE Path to plaintext username list file
--passwords FILE Path to plaintext password list file
--hostname HOSTNAME an @hostname to append to the usernames
--json Output in JSON
--mssql Force scanning hosts as MSSQL
--postgres Force scanning hosts as Postgres
--mysql Force scanning hosts as Mysql
--multiple Seek multiple username/password pairs on a single host
--database DATABASE try a specific database name
--no-ssl Disable TLS/SSL connections
Use a wordlist generator like this one or this one to create more effective password lists.
Metadata
Release files for hathi 1.7.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 | Provenance | Actions |
|---|---|---|---|---|
| hathi-1.7.0.tar.gz | 281.2 kB | Without provenance | Details for hathi-1.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hathi-1.7.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for hathi-1.7.0-py2.py3-none-any.whl |
Total release size: 291.1 kB
Release files / hathi-1.7.0.tar.gz
| Download URL | hathi-1.7.0.tar.gz |
|---|---|
| Size | 281.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcb54e11dcfee3572cd592dbc1cf8dd92aada61a2df5503c704438c51e97815b
|
|
BLAKE2b-256 checksum How to use checksums |
9df60adf8d88edfc0f350ffd240e46f7314528e79c7df36045f7fd69f2d1519b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Release files / hathi-1.7.0-py2.py3-none-any.whl
| Download URL | hathi-1.7.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
da952ad65c61feb26e827d3711f05e96feee7da205b13b2de185954888a0552b
|
|
BLAKE2b-256 checksum How to use checksums |
13a181c7ad6ff3e5634ba5ea6dfbce3c10e024193c767323a19055f3dd49867b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Security for hathi 1.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.