From 1f18ccb92729bb2cd518f427e60cf497dbfc7c83 Mon Sep 17 00:00:00 2001 From: bmh04 <27549756+bmh-gh@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:41:44 +0200 Subject: [PATCH] Assignment 5 finshed --- Assignment 5 - Software Security - Teil 1/abgabe.tex | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Assignment 5 - Software Security - Teil 1/abgabe.tex b/Assignment 5 - Software Security - Teil 1/abgabe.tex index fab9598..08fe268 100644 --- a/Assignment 5 - Software Security - Teil 1/abgabe.tex +++ b/Assignment 5 - Software Security - Teil 1/abgabe.tex @@ -122,10 +122,14 @@ user@intro:~$ objdump -d intro | awk -v RS= '/^[[:xdigit:]]+ /' # Do not remove this intial line; it will disable pagination set pagination off -file intro -break secret # TODO: your commands go here +# read in the intro binary +file intro +# breakpoint at secret +break secret +# run program with paramter value 5 r 5 +# read eax register i r eax stepi 6 # after 5. instruction @@ -145,8 +149,8 @@ continue # END of your commands # Do not remove the final quit; it will exit GDB automatically -quit - \end{lstlisting} +quit + \end{lstlisting} \caption[short]{Inhalt der command Datei} \end{figure}