Skip to main content

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.

Project description

Hathi

PyPI version

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.

Screenshot of hathi in action

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hathi-1.7.0.tar.gz (281.2 kB view details)

Uploaded Source

Built Distribution

hathi-1.7.0-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file hathi-1.7.0.tar.gz.

File metadata

  • Download URL: hathi-1.7.0.tar.gz
  • Upload date:
  • Size: 281.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for hathi-1.7.0.tar.gz
Algorithm Hash digest
SHA256 dcb54e11dcfee3572cd592dbc1cf8dd92aada61a2df5503c704438c51e97815b
MD5 ddde687a8ac40984dc5b7855445d75a8
BLAKE2b-256 9df60adf8d88edfc0f350ffd240e46f7314528e79c7df36045f7fd69f2d1519b

See more details on using hashes here.

File details

Details for the file hathi-1.7.0-py2.py3-none-any.whl.

File metadata

  • Download URL: hathi-1.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for hathi-1.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da952ad65c61feb26e827d3711f05e96feee7da205b13b2de185954888a0552b
MD5 28e2b16848ab8f8afe7789cea31dfdd5
BLAKE2b-256 13a181c7ad6ff3e5634ba5ea6dfbce3c10e024193c767323a19055f3dd49867b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page