A command catalog extracted from penetration-testing course PDFs.
Project description
ptcommands
A small Python library and CLI for the command catalog extracted from the uploaded penetration-testing course PDFs.
Safety note: this library only stores and displays commands. It does not run Nmap. Only run scanning commands on systems you own or have permission to test.
Install locally
cd ptcommands_lib
python -m pip install -e .
Use as a library
from ptcommands import COMMANDS, filter_commands
for item in filter_commands(COMMANDS, section="Section 7", category="nmap", search="ports"):
print(item.command, "=>", item.usage)
Use as a command-line tool
ptcommands
ptcommands --category nmap
ptcommands --section "Section 7" --search ports
ptcommands --markdown > COMMANDS.md
Build a distributable package
python -m pip install build
python -m build
The generated package files will be in dist/.
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 ptcommands-0.1.1.tar.gz.
File metadata
- Download URL: ptcommands-0.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea81f5fd625549af31a80dc0159645c63446216bfab8b7c9a6ad300878e164b7
|
|
| MD5 |
43bd0d81974597e832431593695c89b1
|
|
| BLAKE2b-256 |
8d33d45325cd286baa572ee0a220864941c8b6fdfb21c30cea29cc6a5743647c
|
File details
Details for the file ptcommands-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ptcommands-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b86df7086855fbb90b52c29cbab4530b23c72d1a198a8878d1ff30e2bd97d55
|
|
| MD5 |
370d79a543faaabb04014cfd335bda2f
|
|
| BLAKE2b-256 |
1094e4253cb97e83668e4a7de119cda8c6d2a7c7f309328e42c87120d16cc59f
|