diff -r 0697622fb181 -r 3d1f65e43065 slides/slides03.tex --- a/slides/slides03.tex Tue Oct 03 22:43:03 2017 +0100 +++ b/slides/slides03.tex Sun Oct 08 23:49:40 2017 +0100 @@ -42,8 +42,10 @@ \begin{itemize} \item homework, slides, programs are on KEATS \item include the question text - \item please send the homework as PDF (or txt)\bigskip - \item survey at the end + \item please send the homework as PDF (or txt)\bigskip + \item exam 90\%, q's from homeworks (work in pairs) + \item coursework 10\% \bigskip + \item survey at KEATS; to be answered until Sunday \end{itemize} \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -281,6 +283,17 @@ \begin{frame}[c] \frametitle{Behind the Scenes} +\only<1>{ +\begin{textblock}{7}(3,3) +\begin{bubble}[6.8cm] +\footnotesize +\lstinputlisting[language=C, + xleftmargin=5mm, + belowskip=-1mm, + aboveskip=-1mm]{../progs/example1.c} +\end{bubble} +\end{textblock}} + \only<2->{ \begin{textblock}{7}(1,0.6) \begin{bubble}[6.8cm] @@ -480,7 +493,7 @@ \frametitle{Payloads} \begin{itemize} -\item the idea is that you store some code in the buffer (the payload) +\item the idea is that you store some code in the buffer (the ``payload'') \item you then override the return address to execute this payload\medskip \item normally you want to start a shell\pause \item difficulty is to guess the right place where to ``jump''