Skip to main content

Generate penetration testing report from markdown files

Project description

pentest-report-generator

Generate HTML and PDF penetration testing reports from markdown files.

Usage

Usage: genpenrep [OPTIONS]

Options:
  -s, --sources DIRECTORY  Directory with .md source files
  -o, --output DIRECTORY   Directory to write output files
  -c, --compress           Create .zip archive with the HTML source files
  --only-pdf               Do not output HTML files
  --only-html              Do not output PDF file
  --help                   Show this message and exit.

You can see an example penetration test and the output in the example directory.

Setup

pipx install staticnoise/pentest_report_generator

The software is also available as a Docker container.

docker run -it --rm -v "$PWD/sources:/data" -v "$PWD/output:/output" 'staticnoise/pentest-report-generator' -s /data -o /output

Development

pipx install --editable ./

Docker

docker login -u staticnoise
poetry build

# update Dockerfile and bump-up the version number if necessary

docker build -t staticnoise/pentest-report-generator .

# test the created docker container
docker run -it --rm -v "$PWD/sources:/data:z" -v "$PWD/output:/output:z" 'localhost/staticnoise/pentest-report-generator' -s /data -o /output

# publish the Docker image
docker push staticnoise/pentest-report-generator

License

Copyright (c) 2022-2023 Adam Chovanec

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

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

pentest_report_generator-0.1.4.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

pentest_report_generator-0.1.4-py3-none-any.whl (4.1 MB view details)

Uploaded Python 3

File details

Details for the file pentest_report_generator-0.1.4.tar.gz.

File metadata

  • Download URL: pentest_report_generator-0.1.4.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.10 Linux/6.1.14-100.fc36.x86_64

File hashes

Hashes for pentest_report_generator-0.1.4.tar.gz
Algorithm Hash digest
SHA256 af4a069c536778fc9dda9f168d9f6710dc17c790babe09f53e6d0e4869318017
MD5 c1d2d5ab45f243f98f37f6f4d7022b3f
BLAKE2b-256 4009db722b93ce975190a5ce1fac28c312914e475c03b6cc3a68cf87a94495a9

See more details on using hashes here.

File details

Details for the file pentest_report_generator-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pentest_report_generator-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9e3718713dd634c9d5bb94b6b97b4bbea286c181b0c81fc229cfba1f61ea1649
MD5 6d2b1df9d2f93ac732f21ab4db58ca24
BLAKE2b-256 cbe7d6f549c2df334e7cbb5ef2c1357d0c16dd8058e3671924c9bca34c648dbb

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