Skip to content

4elta/report-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

report generator

Create beautiful pentest reports from Markdown documents.

motivation

I really don't like writing reports.

--generic pentester

Have you ever wondered why so many pentesters agree with this?

When a tool constantly gets in the way instead of helping you, even fun tasks can become dreadful. I'm not saying that writing documentation is everyone's favorite pastime. But I've noticed that when I have to use this one particular word processor (I don't think I need to name it), my stress level increases with the amount of time I spend using it. On the other hand, when I use a text editor (there is a difference between "text editor" and "word processor") and Markdown (or some other lightweight markup language), I can happily write for hours.

Using plain text (e.g. Markdown, LaTeX, etc.) as the basis for the final output (i.e. PDF) allows us to use Git itself for collaboration. Most Git services (e.g. Gitea, GitLab, etc.) provide all the necessary tools for this (e.g. groups, access permissions, comments, etc.).

requirements

Install Jinja2, TeX Live (full) and Pandoc:

$ sudo apt install python3-jinja2 texlive-full pandoc

usage

  1. modify project.yaml
  2. conduct pentest
  3. document findings in src/issues/
    • put screenshots right next to the issue file
    • you can structure a pentest into groups: put the issues into folders
  4. add issue templates to res/issues/
  5. adapt tools-{language}.md, limitations.md and summary.md
  6. create the PDF report
$ ./report.py -h
usage: report.py [-h] [-o] [-v]

options:
  -h, --help       show this help message and exit
  -o, --overwrite  overwrite the LaTeX document. WARNING: providing this flag causes the output directory
                   ('out/') to be cleared
  -v, --verbose    be very verbose

credits

About

create beautiful pentest reports from Markdown documents

Topics

Resources

License

Stars

Watchers

Forks