1 \RequirePackage{snapshot} % stats of included files: $filename.dep
3 \documentclass[10pt,a4paper,ngerman]{article}
4 \usepackage[ngerman]{babel}
6 %%%%% Formatting and encoding %%%%%
8 \usepackage[T1]{fontenc}
9 \usepackage[utf8]{inputenc}
12 \usepackage[columnsep=1.75cm,lmargin=1.75cm,rmargin=1.75cm,tmargin=2.5cm,bmargin=2.5cm]{geometry}
13 \setlength{\parindent}{0pt}
21 \fancyhead[LE,RO]{\leftmark}
22 \fancyfoot[LE,RO]{\thepage}
24 % Use sans serif font.
25 \renewcommand*{\familydefault}{\sfdefault}
27 % change heading fontsizes.
29 \subsectionfont{\normalsize}
30 \subsubsectionfont{\small}
33 % Create \Hide command (used for chapters)
34 \usepackage[explicit]{titlesec}
35 \newcommand*\Hide{\titleformat{\chapter}[display]{}{}{0pt}{\Huge}\titleformat{\part}{}{}{0pt}{}}
37 % inhibit creation of new double page on new chapter.
40 \patchcmd{\chapter}{\if@openright\cleardoublepage\else\clearpage\fi}{}{}{}
43 % change heading margins.
44 \titlespacing*{\chapter}{0pt}{0pt}{-40pt}
45 \titlespacing*{\section}{0pt}{9pt}{3pt}
46 \titlespacing*{\subsection}{0pt}{6pt}{0pt}
47 \titlespacing*{\subsubsection}{0pt}{0pt}{0pt}
49 % make \paragraph do newlines
51 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}
52 {-.75ex \@plus -1ex \@minus -0.2ex}
54 {\normalfont\normalsize\bfseries}
59 % inhibit "Contents" Head in TOC
61 \renewcommand\tableofcontents{\@starttoc{toc}}
64 %make toc consider Chapter and section only.
65 \setcounter{tocdepth}{2}
67 % disable chapter, section, ... numbering
68 \setcounter{secnumdepth}{-1}
72 % make footnote numbering reset on every page.
73 \usepackage[hang,flushmargin,perpage]{footmisc}
74 %%%%% / Formatting %%%%%
76 % includable git commit info
77 \usepackage[missing=run\ build.sh\ or\ gitinfohook.sh]{gitinfo}
79 % Fürs "last generated" Datum
80 \usepackage[iso]{isodate}
83 \usepackage[absolute]{textpos}
85 \DeclareGraphicsExtensions{.pdf,.png,.jpg}
87 % clickable references/links/...
92 \DeclareUnicodeCharacter{20AC}{\euro}
95 \usepackage[framemethod=tikz]{mdframed}
96 \newmdenv[linecolor=red]{redframe}
97 \newmdenv[linecolor=black]{blackframe}
100 \usepackage[babel,german=quotes]{csquotes}
102 \usepackage{listings}
104 % typewriter font for lstlistings
105 basicstyle=\ttfamily\small,
117 \usepackage{tabularx}
120 \usepackage{amssymb,graphicx,stackengine,xcolor}
121 \def\ucr{\scalebox{1}{\stackinset{c}{-.75pt}{c}{0pt}{
122 \textcolor{white}{\sffamily\bfseries\footnotesize ?}}{
123 \rotatebox{35}{$\blacksquare$}}}}
126 \begin{document}\thispagestyle{empty}
128 \section*{Network Security - Advanced Topics (VU 389.160)}
131 \section*{CYBERLAB CYBERREPORT}
132 \textbf{Cyberministry of Cyberaffairs}
134 \section*{David Kaufmann}
135 \textbf{0700719\\\url{mailto:astra@ionic.at}}\\
138 \textbf{0726236\\\url{mailto:jan@jvales.net}}\\\\
142 \section*{Table of Contents}\begin{footnotesize}\tableofcontents\end{footnotesize}
143 \subsection*{Version}\begin{footnotesize}\url{http://cgit.ionic.at/lva/15ws/netsec2/}\\
144 git clone \url{ssh://git@git.ionic.at:22/lva/15ws/netsec2}\\
145 This is revision: \textbf{\gitAbbrevHash}. Document (.tex) compiled on: \textbf{\today}
146 \end{footnotesize}\vspace{\fill}\newpage
149 \section{Move on - nothing to see here!}
150 \noindent\includegraphics[width=0.8\columnwidth,keepaspectratio]{content/rickroll.jpg}
151 \input{content/easteregg.tex}\vspace{\fill}\newpage
153 \input{content/exercise1.tex}\vspace{\fill}\newpage
154 \input{content/exercise2.tex}\vspace{\fill}\newpage
155 \input{content/exercise3.tex}\vspace{\fill}\newpage