Skip to content

Commit

Permalink
Changed things over for the new semesterr
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbloomfield committed Aug 8, 2024
1 parent a97eac6 commit 2fc2424
Show file tree
Hide file tree
Showing 37 changed files with 2,209 additions and 743 deletions.
2 changes: 2 additions & 0 deletions slides/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ format:
toc-depth: 1
toc-title: Contents
theme: dark
link-external-newwindow: true
link-external-icon: true
7 changes: 7 additions & 0 deletions slides/anonymity.html
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,13 @@ <h2>Ethical Questions</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/binary-exploits.html
Original file line number Diff line number Diff line change
Expand Up @@ -1360,6 +1360,13 @@ <h2>Slapper: The Magic Address</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/buffer-overflows.html
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,13 @@ <h2>Compiler protection</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/cryptocurrency.html
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,13 @@ <h2>Current value links, all in one place</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/encryption.html
Original file line number Diff line number Diff line change
Expand Up @@ -3058,6 +3058,13 @@ <h2>1. The Phaistos Disk</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/ethics.html
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,13 @@ <h2>Model and Advocate for Ethical Cybersecurity Practice</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/forensics.html
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,13 @@ <h2>Ownership of Facebook (2010)</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,13 @@ <h2>Ethics Questions</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/networks.html
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,13 @@ <h2>DoS attacks: brute force</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/policy.html
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,13 @@ <h2>More election interference</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/reflection.html
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,13 @@ <h2>Have a great break!</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/rootkits.html
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,13 @@ <h2>Sony Fiasco: Final Ironies</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/security-mindset.html
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,13 @@ <h2>Apply the Security Mindset</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/sql-xss-csrf.html
Original file line number Diff line number Diff line change
Expand Up @@ -1537,6 +1537,13 @@ <h2>CSRF Requirements</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/stuxnet.html
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,13 @@ <h2>Flame</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/terminology.html
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,13 @@ <h2>User Behavior Vulnerabilities</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/viruses.html
Original file line number Diff line number Diff line change
Expand Up @@ -1453,6 +1453,13 @@ <h2>Why we still study viruses today</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/vms.html
Original file line number Diff line number Diff line change
Expand Up @@ -1284,6 +1284,13 @@ <h2>VM Break-out</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
7 changes: 7 additions & 0 deletions slides/web-security.html
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,13 @@ <h2>10. Geo-location</h2>
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
// target, if specified
link.setAttribute("target", "_blank");
if (link.getAttribute("rel") === null) {
link.setAttribute("rel", "noopener");
}
// default icon
link.classList.add("external");
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
Expand Down
2 changes: 2 additions & 0 deletions uva/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
daily-announcements-*.html
xkcds.html

/.quarto/
10 changes: 10 additions & 0 deletions uva/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
SLIDE_SETS: daily-announcements.html
.SUFFIXES: .qmd .html
.PHONY: slides

slides: $(SLIDE_SETS)
@echo conversion done

.qmd.html:
quarto render $< --to revealjs

doc:
@cd .. && make -s
18 changes: 18 additions & 0 deletions uva/_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
project:
title: ICS slides
lib-dir: ../slides/quarto_files
format:
revealjs:
slide-number: false
preview-links: auto
logo: ../slides/images/quarto.png
css: ../slides/ics.css
navigation-mode: vertical
footer: <https://aaronbloomfield.github.io/ics>
controls: false
template-partials:
- ../slides/title-slide.html
theme: dark
menu: false
center: false
link-external-newwindow: true
Loading

0 comments on commit 2fc2424

Please sign in to comment.