Skip to main content

penterepTools

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.

Metadata

Release files for ptguess 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ptguess 0.0.1
File Size Uploaded
ptguess-0.0.1.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ptguess 0.0.1
File Interpreter ABI Platform
ptguess-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 37.2 kB

Release files / ptguess-0.0.1.tar.gz

Download URL ptguess-0.0.1.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0e78dac68faf481cbf6b4afb7d483e2077ab4492edf5e8a94aa6252a4b13af34
BLAKE2b-256 checksum
How to use checksums
2741e01b80b1da4bc8be9428d65fd47489a7f345d125756a6af27ae622484c61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release files / ptguess-0.0.1-py3-none-any.whl

Download URL ptguess-0.0.1-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9eba4551bf118b4418d69f67d0b713ad3503805470ef4aaaa83de5d706729b22
BLAKE2b-256 checksum
How to use checksums
4362092712420039204e806b88c0fb1a8065b279599ced0a625f6d4df8dbb11d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page