Skip to main content

Beginner-friendly penetration testing utilities (modernized CLI toolkit).

Project description

Securezy CLI (securezy-cli)

Securezy is a modernized, pip-installable Python CLI toolkit built on top of the original (legacy) Tkinter “Penetration Testing Framework” project.

PyPI distribution name: securezy-cli

Import/module name: securezy

The repo contains the modern securezy CLI package.

Install (recommended)

Create a virtualenv and install editable:

py -m venv .venv
.\.venv\Scripts\python -m pip install -U pip setuptools wheel
.\.venv\Scripts\python -m pip install -e ".[dev,crypto,vault]"

Install from PyPI:

py -m pip install "securezy-cli[crypto,vault]"

CLI quickstart

Show commands:

.\.venv\Scripts\python -m securezy --help

Fast port scanning

.\.venv\Scripts\python -m securezy scan ports -t 127.0.0.1 -p 1-1024
.\.venv\Scripts\python -m securezy scan ports -t 127.0.0.1 -p 22,80,443 --timeout 0.8 --concurrency 800
.\.venv\Scripts\python -m securezy scan ports -t 127.0.0.1 -p 1-1024 --json

Scan reporting/export (JSON/CSV/Markdown)

Single report file:

.\.venv\Scripts\python -m securezy scan ports -t 127.0.0.1 -p 1-1024 --report .\report.json --report-format json
.\.venv\Scripts\python -m securezy scan ports -t 127.0.0.1 -p 1-1024 --report .\report.md --report-format md
.\.venv\Scripts\python -m securezy scan ports -t 127.0.0.1 -p 1-1024 --report .\report.csv --report-format csv

Report bundle directory:

.\.venv\Scripts\python -m securezy scan ports -t 127.0.0.1 -p 1-1024 --report-dir .\reports --report-formats json,md,csv

Profiles (saved scan configs)

Create and use a profile:

.\.venv\Scripts\python -m securezy profiles set local -t 127.0.0.1 -p 1-1024 --timeout 0.5 --concurrency 500
.\.venv\Scripts\python -m securezy profiles list
.\.venv\Scripts\python -m securezy scan ports --profile local

Show where profiles are stored:

.\.venv\Scripts\python -m securezy profiles path

To store profiles in a custom location (useful for CI/tests):

$env:SECUREZY_HOME = "C:\\temp\\securezy"

Plugins

List and run plugins:

.\.venv\Scripts\python -m securezy plugins list
.\.venv\Scripts\python -m securezy plugins run hello "hello from plugin"

Plugins are discovered via Python entrypoints group securezy.plugins.

Generate a new plugin skeleton:

.\.venv\Scripts\python -m securezy plugins scaffold my-plugin -o .

Then install it:

cd .\securezy-plugin-my-plugin
py -m venv .venv
.\.venv\Scripts\python -m pip install -U pip
.\.venv\Scripts\python -m pip install -e .

And verify it shows up:

.\.venv\Scripts\python -m securezy plugins list
.\.venv\Scripts\python -m securezy plugins run my-plugin "it works"

Vault (encrypted credential storage)

.\.venv\Scripts\python -m securezy vault init
.\.venv\Scripts\python -m securezy vault add github -u akash
.\.venv\Scripts\python -m securezy vault get github --show-password
.\.venv\Scripts\python -m securezy vault list

Crypto (file encryption/decryption)

.\.venv\Scripts\python -m securezy crypto encrypt -i secret.txt -o secret.txt.sz
.\.venv\Scripts\python -m securezy crypto decrypt -i secret.txt.sz -o secret.txt

Hashing + verify

.\.venv\Scripts\python -m securezy hash text --algo sha256 "hello"
.\.venv\Scripts\python -m securezy hash file --algo sha256 .\somefile.iso
.\.venv\Scripts\python -m securezy hash verify --algo sha256 --hash <expected> --file .\somefile.iso

Development

.\.venv\Scripts\python -m ruff check securezy tests
.\.venv\Scripts\python -m pytest -q

Publishing (TestPyPI / PyPI)

This repo includes a GitHub Actions workflow at .github/workflows/release.yml.

Required GitHub secrets

Create these secrets in your GitHub repo settings:

  • PYPI_API_TOKEN
  • TEST_PYPI_API_TOKEN

Publish to TestPyPI (recommended first)

Use GitHub Actions Release workflow → Run workflow → choose testpypi.

Publish to PyPI

Option A (recommended): push a tag like v0.1.0:

git tag v0.1.0
git push origin v0.1.0

Option B: run the GitHub Actions workflow manually and choose pypi.

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

securezy_cli-0.1.0.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

securezy_cli-0.1.0-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file securezy_cli-0.1.0.tar.gz.

File metadata

  • Download URL: securezy_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for securezy_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0a1d4bce2007a3035101e1f74a3c679296fcad9873e0cbda3cf4e0dabbdc8849
MD5 ab4c66fa270f6d07fbfdbc2fcd3edd80
BLAKE2b-256 b250ccd5261cf4e1ff8e457c5d9650062040217faa6466cde7dae589100ae39e

See more details on using hashes here.

File details

Details for the file securezy_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: securezy_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for securezy_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fb15aac3c7a6d0cb2c20e3b4ad4bc6f56f441cf7af954e1ea6fedad842f02ee
MD5 2c6e79c3dbf47f8318e5e8fa98e53795
BLAKE2b-256 8bf391571dafcdf48746314f2f81adaad106830c515026ab2ddff9e9baa0bf83

See more details on using hashes here.

Supported by

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