Hydra wrapper for Penterep credential guessing
Project description
PTGUESS - Penterep Hydra wrapper
ptguess is a wrapper around Hydra (thc-hydra). It runs Hydra with the arguments you pass in and prints only structured JSON (nodes, properties, vulnerabilities). It can stop Hydra when rate-limit or blocking patterns appear on stdout.
Installation
pip install .
Adding to PATH
If you're unable to invoke the script from your terminal, it's likely because it's not included in your PATH. You can resolve this issue by executing the following commands, depending on the shell you're using:
For Bash users
echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.bashrc
source ~/.bashrc
For ZSH users
echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.zshrc
source ~/.zshrc
Usage examples
ptguess --command "-L users.txt -P pass.txt pop3://www.penterepmail.loc" --attack-mode weak
Options
--command <hydra-args> Arguments for Hydra (without the leading `hydra` command)
--attack-mode weak|recykle|default Maps to credential-node vulnerability codes (default: weak)
-v --version Show script version and exit
-h --help Show this help message and exit
Dependencies
ptlibs
hydra (available in PATH, e.g. /usr/bin/hydra)
License
Copyright (c) 2025 Penterep Security s.r.o.
ptguess is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ptguess is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with ptguess. If not, see https://www.gnu.org/licenses/.
Warning
You are only allowed to run the tool against systems and services for which you have explicit permission to test. We do not accept any responsibility for any damage or harm that this application causes to your computer or your network. Penterep is not responsible for any illegal or malicious use of this code. Be ethical.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ptguess-0.0.1.tar.gz.
File metadata
- Download URL: ptguess-0.0.1.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e78dac68faf481cbf6b4afb7d483e2077ab4492edf5e8a94aa6252a4b13af34
|
|
| MD5 |
44b3375f01824c8a35ac3abd257f9ae8
|
|
| BLAKE2b-256 |
2741e01b80b1da4bc8be9428d65fd47489a7f345d125756a6af27ae622484c61
|
File details
Details for the file ptguess-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ptguess-0.0.1-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eba4551bf118b4418d69f67d0b713ad3503805470ef4aaaa83de5d706729b22
|
|
| MD5 |
5c0aa2f859e2c47ead6449c9530e14d9
|
|
| BLAKE2b-256 |
4362092712420039204e806b88c0fb1a8065b279599ced0a625f6d4df8dbb11d
|