summaryrefslogtreecommitdiff
path: root/docs/posts/2023-10-05-attack-lab.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/posts/2023-10-05-attack-lab.html')
-rw-r--r--docs/posts/2023-10-05-attack-lab.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/posts/2023-10-05-attack-lab.html b/docs/posts/2023-10-05-attack-lab.html
index d2a1475..81fc27a 100644
--- a/docs/posts/2023-10-05-attack-lab.html
+++ b/docs/posts/2023-10-05-attack-lab.html
@@ -6,13 +6,13 @@
<link rel="stylesheet" href="/assets/main.css" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Attack Lab</title>
+ <title>id="attack-lab">Attack Lab</title>
<meta name="og:site_name" content="Navan Chauhan" />
<link rel="canonical" href="https://web.navan.dev/posts/2023-10-05-attack-lab.html" />
<meta name="twitter:url" content="https://web.navan.dev/posts/2023-10-05-attack-lab.html />
<meta name="og:url" content="https://web.navan.dev/posts/2023-10-05-attack-lab.html" />
- <meta name="twitter:title" content="Attack Lab" />
- <meta name="og:title" content="Attack Lab" />
+ <meta name="twitter:title" content="id="attack-lab">Attack Lab" />
+ <meta name="og:title" content="id="attack-lab">Attack Lab" />
<meta name="description" content="Walkthrough of Attack Lab Phases 1-4 for CSCI 2400 Computer Systems" />
<meta name="twitter:description" content="Walkthrough of Attack Lab Phases 1-4 for CSCI 2400 Computer Systems" />
<meta name="og:description" content="Walkthrough of Attack Lab Phases 1-4 for CSCI 2400 Computer Systems" />
@@ -44,9 +44,9 @@
<main>
- <h1>Attack Lab</h1>
+ <h1 id="attack-lab">Attack Lab</h1>
-<h2>Introduction</h2>
+<h2 id="introduction">Introduction</h2>
<p>Lab 3 for CSCI 2400 @ CU Boulder - Computer Systems</p>
@@ -59,7 +59,7 @@
<p><code>objdump -d ctarget &gt; dis.txt</code></p>
-<h2>Phase 1</h2>
+<h2 id="phase-1">Phase 1</h2>
<p>From the instructions, we know that our task is to get <code>CTARGET</code> to execute the code for <code>touch1</code> when <code>getbuf</code> executes its return statement, rather than returning to <code>test</code></p>
@@ -115,7 +115,7 @@ NICE<span class="w"> </span>JOB!
</code></pre>
</div>
-<h2>Phase 2</h2>
+<h2 id="phase-2">Phase 2</h2>
<blockquote>
<p>Phase 2 involves injecting a small amount of code as part of your exploit string.
@@ -275,7 +275,7 @@ NICE<span class="w"> </span>JOB!
</code></pre>
</div>
-<h2>Phase 3</h2>
+<h2 id="phase-3">Phase 3</h2>
<blockquote>
<p>Phase 3 also involves a code injection attack, but passing a string as argument.
@@ -379,7 +379,7 @@ NICE<span class="w"> </span>JOB!
<p>Phases 1-3 Complete.</p>
-<h2>Phase 4</h2>
+<h2 id="phase-4">Phase 4</h2>
<blockquote>
<p>For Phase 4, you will repeat the attack of Phase 2, but do so on program RTARGET using gadgets from your