\documentclass[
   a4paper,
   oneside,
   parskip=half,
   listof=entryprefix,
   listof=totoc,
   index=totoc,
   bibliography=totoc
]{scrartcl}

\usepackage{silence}
\WarningFilter{biblatex}{File 'ngerman-iso.lbx'}
\WarningFilter{biblatex}{'\mainlang'}

\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}

\usepackage{pdfpages,graphicx,subcaption,lastpage}
\graphicspath{ {./images} }

\usepackage{geometry}
\geometry{a4paper, top=2.5cm, left=2.5cm, right=2.5cm, bottom=2.5cm}
\usepackage{float,listings,xcolor,csquotes,microtype,scrlayer-scrpage,etoolbox}
\usepackage[official]{eurosym}

\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\definecolor{weborange}{rgb}{1,0.65,0}

\lstdefinestyle{mystyle}{
    backgroundcolor=\color{backcolour},   
    commentstyle=\color{codegreen},
    keywordstyle=\color{magenta},
    numberstyle=\tiny\color{codegray},
    stringstyle=\color{codepurple},
    emph={int,char,double,float,unsigned,void,bool},
    emphstyle={\color{weborange}},
    basicstyle=\ttfamily\footnotesize,
    breakatwhitespace=false,
    breaklines=true,
    captionpos=b,
    keepspaces=true,
    numbers=left,
    numbersep=5pt,
    showspaces=false,
    showstringspaces=false,
    showtabs=false,
    tabsize=2,
    firstnumber=1,
}
\lstset{style=mystyle}

\setuptoc{toc}{totoc}

\usepackage[
   backend=biber,
   urldate=long,
   style=iso-authoryear,
   natbib=true,
   useauthor=true,
   mincitenames=1,
   maxcitenames=3
]{biblatex}
\addbibresource{bib/online.bib}
\addbibresource{bib/book.bib}

\DefineBibliographyStrings{ngerman}{
   andothers = {{et\,al\adddot}},
   online = {{online}},
   urlseen = {{Zugriff am:}},
   urlfrom = {{Verfügbar unter:}},
}

\DeclareNameAlias{default}{family-given/given-family}

\renewcommand*{\finalnamedelim}{\addspace{}und\space}
\AtEveryCite{
   \renewcommand*{\multinamedelim}{,\space}
   \renewcommand*{\nameyeardelim}{\space}
}

\AtBeginBibliography{
   \renewcommand*{\multinamedelim}{,\space}
}
\AfterTOCHead[lof]{\appto\autodot{:}}

\ihead{Lab 02 - ITSec}
\chead{Binary exploits}
\ohead{Florian Hoss}
\ofoot{Seite~\thepage{}/\pageref{LastPage}}
\cfoot{}
\title{Example Title}
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,filecolor=black,urlcolor=black]{hyperref}

\begin{document}

    \include{titlepage/titlepage}
    \tableofcontents
    \newpage
    \listoffigures
    \include{bufferOverflow/bufferOverflow}
    \include{shell/shell}
    \include{format-string/format-string}

    \printbibliography[title=Literaturverzeichnis]

\end{document}