Table of contents


Report templates

Reports downloading

Download the templates :

git clone
mkdir report_training
cd OSCP-Exam-Report-Template-Markdown
mv src/OSCP-exam-report-template_* ../report_training/

In this repository there is two exam templates :


Choose the one that you prefer between these two, you can see what they’ll look like once in PDF format here :

If you don’t like any of them here’s some more templates from Offensive Security :

For my part I choose, so any training will be done with this one.


You’ll need to install a few things :

Scripts for report generation

Generate report script

This script is for the report generation in PDF from markdown.



if [ "$#" -ne 2 ]; then
    echo "usage: $0 <> <output.pdf>"

# if this machine does not have the template in place, put it there!
if [ ! -e /usr/share/pandoc/data/templates/eisvogel.latex ]
    sudo cp eisvogel.latex /usr/share/pandoc/data/templates/

pandoc $1 -o $2 \
--from markdown+yaml_metadata_block+raw_html \
--template eisvogel \
--table-of-contents \
--toc-depth 6 \
--number-sections \
--top-level-division=chapter \
--highlight-style zenburn

if [ $? -eq 0 ]
    evince $2

Submission script

This script is to generate the password protected .7z, once your report is finish. I commented the LAB_REPORT part of the script because I did not do it.



# LAB_REPORT="OSCP-OS-$OSID-Lab-Report.pdf"

echo "Generating exam report..."

# echo "Generating lab report..."

echo "Creating 7z package..."

You have to change the line 3 by your OSID.

Make scripts executable

chmod +x

Report generation

You should have something like that :

Directory listing

Now to test that everything is working let’s try to generate a report from markdown.

./ test.pdf

Wait a few seconds and a PDF report called test.pdf of 9 pages should open.

Report training

Markdown editor

To edit the markdown template, I used Typora.

Markdown cheat sheet

If you want to know some more about markdown syntax :


To train myself at reporting, I train on buffer overflow. Why buffer overflow ? Because I knew that at the exam there was one. So if I do it right, during the real exam, I would not have to do much change to my report training.

I did my training on this box :

So I took screenshots during the box, they’re all inside a directory that I called images. Here’s what my folder look like :

Directory listing 2

Here’s how I generated it (as in Report generation) :

./ test.pdf

Here’s what my training report looks like :

But I highly advice that you do it yourself, don’t just take mine, practice !


I just trained reporting on Buffer Overflow but if you want to train your reporting on other box, here’s what I found :

  • Jeeves (25 Points)
  • Chatterbox (20 Points)
  • Cronos (20 Points)
  • Sense (10 Points)

Here is a report example from Offensive Security :

Tips on report generation


If backslashes are in code syntax, there is no generation problems.

Code syntax

But if you want to print it as text, this is a problem. You have to double it, like so :

Double backslash


To make a tabulation I used the Latex syntax :

\quad <TEXT>

Text color

To change the text color, I used the Latex syntax :


The predefined color names are

black, blue, brown, cyan, darkgray, gray, green, lightgray, lime, magenta, olive, orange, pink, purple, red, teal, violet, white, yellow

More infos on Latex colors :

Code syntax background color

If you want to change the background color of the code markdown syntax, you just have to change the line 21 of

--highlight-style <STYLE>
  • kate
  • monochrome
  • breezeDark
  • espresso
  • zenburn
  • haddock
  • tango

You should try them all, to see the one that you like the most.

Report submission

For report submission, just use the script as follow :


Report submission

During the real exam, after running this script, you would have to upload the 7z here :

Then, send the link to :

Tips before the exam

Proctoring requirements

Follow this tutorial before your exam to install all requirements concerning the proctoring :

OSCP Exam Guide

Read the OSCP Exam Guide :


Have some questions ? Read the OSCP FAQ :