-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy exploiitm/blog to exploiitm/blog:gh-pages
- Loading branch information
GitHub Actions
committed
Jun 30, 2024
0 parents
commit 4cd6a4d
Showing
25 changed files
with
3,302 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><title>404 Not Found</title><h1>404 Not Found</h1> |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
#nav-bar { | ||
padding: .925rem 0 0 0; | ||
display: flex; | ||
flex-direction: row; | ||
gap: 1.00rem; | ||
flex-wrap: wrap; | ||
justify-content: flex-end; | ||
align-items: center; | ||
align-content: flex-end | ||
} | ||
|
||
#footer-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.accent-data { | ||
color: var(--accent); | ||
} | ||
|
||
.theme-transition { | ||
transition: color 0.3s ease, background-color 0.3s ease; | ||
} | ||
|
||
.tags-data { | ||
display: flex; | ||
flex-direction: column; | ||
flex-wrap: wrap; | ||
justify-content: flex-end; | ||
align-items: flex-start; | ||
align-content: flex-end | ||
} | ||
|
||
.title-list li { | ||
margin-bottom: .375rem; | ||
} | ||
|
||
/* icons settings */ | ||
.icons { | ||
width: 1.3rem; | ||
height: 1.3rem; | ||
aspect-ratio: 1/1; | ||
display: inline-block; | ||
vertical-align: middle; | ||
color: var(--text); | ||
fill: var(--text); | ||
background-color: transparent; | ||
cursor: pointer; | ||
} | ||
|
||
.icons:hover { | ||
background-color: transparent; | ||
color: var(--accent); | ||
} | ||
|
||
/* footnotes */ | ||
.footnote-definition { | ||
margin: 0 0 0 .125rem; | ||
} | ||
|
||
.footnote-definition-label { | ||
color: var(--accent); | ||
} | ||
|
||
.footnote-definition p { | ||
display: inline; | ||
margin: .625rem 0 0 .625rem; | ||
} | ||
|
||
/* general classes */ | ||
.no-style { | ||
padding: 10; | ||
margin: 10; | ||
border: none; | ||
border-radius: 0 | ||
} | ||
|
||
.no-style:hover { | ||
background-color: transparent; | ||
color: var(--accent); | ||
} | ||
|
||
.center { | ||
text-align: center; | ||
} | ||
|
||
.center img { | ||
display: block; | ||
margin: 1rem auto; | ||
} | ||
|
||
.float-right { | ||
float: right | ||
} | ||
|
||
.float-left { | ||
float: left | ||
} | ||
|
||
/* shortcodes css */ | ||
.webring { | ||
margin: .375rem; | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang=en><head><meta charset=UTF-8><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=UTF-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport><meta content="index, follow" name=robots><title>exploiitm blog</title><meta content="exploiitm blog" name=title><meta content=exploiitm name=author><meta content="Official blog of Cybersecurity Club, IIT Madras" name=description><meta content=website property=og:type><meta content=https://exploiitm.github.io/blog/ property=og:url><meta content="exploiitm blog" property=og:site_name><meta content="exploiitm blog" property=og:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=og:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=og:image><meta content=summary_large_image property=twitter:card><meta content=https://exploiitm.github.io/blog/ property=twitter:url><meta content="exploiitm blog" property=twitter:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=twitter:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=twitter:image><link href=https://exploiitm.github.io/blog/ rel=canonical><link rel="shortcut icon" href=https://exploiitm.github.io/blog/favicon.ico type=image/x-icon><link href=https://speyll.github.io/suCSS/reset-min.css rel=stylesheet><link href=https://speyll.github.io/suCSS/suCSS-min.css rel=stylesheet><link href=https://exploiitm.github.io/blog/css/style.css rel=stylesheet><script defer src=https://exploiitm.github.io/blog/js/script.js></script><body><header><nav id=nav-bar><a href=https://exploiitm.github.io/> home </a><a href=/blog> blog </a><a href=/blog/writeups> writeups </a><a href=/blog/about> about </a><div><input id=theme-toggle style=display:none type=checkbox><label for=theme-toggle id=theme-toggle-label><svg class=icons id=theme-icon><use href=https://exploiitm.github.io/blog/icons.svg#lightMode></use></svg></label><audio id=theme-sound><source src=https://exploiitm.github.io/blog/click.ogg type=audio/ogg></audio></div></nav></header><main><h2 id=blog>Blog</h2><p>Official blog of Cybersecurity Club, IIT Madras.<blockquote><p><em>“It’s not a bug, it’s a feature”</em></blockquote><h2 id=posts>Posts</h2><ul><li><a href=https://exploiitm.github.io/blog/./posts/summer_school>Summer School</a><li><a href=https://exploiitm.github.io/blog/./posts>View all posts</a></ul><h2 id=resources>Resources</h2><ul><li><a href=https://exploiitm.github.io/blog/./resources/resource1>Basic Python Programming</a></ul><h2 id=tags>Tags</h2><ul><li>Explore articles through <em><a href=/blog/tags>tags</a></em></ul></main><footer><hr><div class=footContainer><div class=footLeft><p>Licensed under <a rel="noopener noreferrer" href=https://fr.wikipedia.org/wiki/Licence_MIT target=_blank>MIT</a><br></div><div class=footRight><img class="footGif noStyle" alt=footGif loading=lazy src=https://i.ibb.co/XYDpfcs/foot.gif><a rel="noopener noreferrer" title="Subscribe via RSS for updates." class=metaData href=https://exploiitm.github.io/blog/atom.xml target=_blank>RSS</a></div></div></footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
const toggleButton = document.getElementById('theme-toggle'); | ||
const themeIcon = document.getElementById('theme-icon'); | ||
const themeSound = document.getElementById('theme-sound'); | ||
|
||
// Function to update the theme icon based on the current theme | ||
const updateThemeIcon = (isDarkMode) => { | ||
const themeMode = isDarkMode ? 'darkMode' : 'lightMode'; | ||
const iconPath = themeIcon.querySelector('use').getAttribute('href').replace(/#.*$/, `#${themeMode}`); | ||
themeIcon.querySelector('use').setAttribute('href', iconPath); | ||
}; | ||
|
||
// Function to update the theme based on the current mode | ||
const updateTheme = (isDarkMode) => { | ||
const theme = isDarkMode ? 'dark' : 'light'; | ||
document.documentElement.setAttribute('data-theme', theme); | ||
updateThemeIcon(isDarkMode); | ||
}; | ||
|
||
// Function to toggle the theme | ||
const toggleTheme = () => { | ||
const isDarkMode = toggleButton.checked; | ||
updateTheme(isDarkMode); | ||
themeSound.play(); | ||
localStorage.setItem('theme', isDarkMode ? 'dark' : 'light'); | ||
|
||
// Add transition class to body for smooth transition | ||
document.body.classList.add('theme-transition'); | ||
setTimeout(() => { | ||
document.body.classList.remove('theme-transition'); | ||
}, 300); | ||
}; | ||
|
||
// Event listener for theme toggle | ||
toggleButton.addEventListener('change', toggleTheme); | ||
|
||
// Function to initialize the theme based on the stored preference | ||
const initializeTheme = () => { | ||
const storedTheme = localStorage.getItem('theme'); | ||
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches; | ||
const isDarkMode = storedTheme === 'dark' || (!storedTheme && prefersDark); | ||
toggleButton.checked = isDarkMode; | ||
updateTheme(isDarkMode); | ||
}; | ||
|
||
// Initialize the theme | ||
initializeTheme(); | ||
|
||
// Listen for changes in system preference | ||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', initializeTheme); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang=en><head><meta charset=UTF-8><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=UTF-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport><meta content="index, follow" name=robots><title>All posts</title><meta content="All posts" name=title><meta content=exploiitm name=author><meta content="Official blog of Cybersecurity Club, IIT Madras" name=description><meta content=website property=og:type><meta content=https://exploiitm.github.io/blog/posts/ property=og:url><meta content="exploiitm blog" property=og:site_name><meta content="All posts" property=og:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=og:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=og:image><meta content=summary_large_image property=twitter:card><meta content=https://exploiitm.github.io/blog/posts/ property=twitter:url><meta content="All posts" property=twitter:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=twitter:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=twitter:image><link href=https://exploiitm.github.io/blog/posts/ rel=canonical><link rel="shortcut icon" href=https://exploiitm.github.io/blog/favicon.ico type=image/x-icon><link href=https://speyll.github.io/suCSS/reset-min.css rel=stylesheet><link href=https://speyll.github.io/suCSS/suCSS-min.css rel=stylesheet><link href=https://exploiitm.github.io/blog/css/style.css rel=stylesheet><script defer src=https://exploiitm.github.io/blog/js/script.js></script><body><header><nav id=nav-bar><a href=https://exploiitm.github.io/> home </a><a href=/blog> blog </a><a href=/blog/writeups> writeups </a><a href=/blog/about> about </a><div><input id=theme-toggle style=display:none type=checkbox><label for=theme-toggle id=theme-toggle-label><svg class=icons id=theme-icon><use href=https://exploiitm.github.io/blog/icons.svg#lightMode></use></svg></label><audio id=theme-sound><source src=https://exploiitm.github.io/blog/click.ogg type=audio/ogg></audio></div></nav></header><main><h1>All posts</h1><blockquote><p>List of all <em><a href=/blog/tags>tags</a></em></blockquote><ul class=title-list><li><a href=https://exploiitm.github.io/blog/posts/summer_school/>Summer School 2024</a></ul><div class=accent-data> 1 / 1 </div></main><footer><hr><div class=footContainer><div class=footLeft><p>Licensed under <a rel="noopener noreferrer" href=https://fr.wikipedia.org/wiki/Licence_MIT target=_blank>MIT</a><br></div><div class=footRight><img class="footGif noStyle" alt=footGif loading=lazy src=https://i.ibb.co/XYDpfcs/foot.gif><a rel="noopener noreferrer" title="Subscribe via RSS for updates." class=metaData href=https://exploiitm.github.io/blog/atom.xml target=_blank>RSS</a></div></div></footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><meta charset=utf-8><link href=https://exploiitm.github.io/blog/posts/ rel=canonical><meta content="0; url=https://exploiitm.github.io/blog/posts/" http-equiv=refresh><title>Redirect</title><p><a href=https://exploiitm.github.io/blog/posts/>Click here</a> to be redirected. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang=en><head><meta charset=UTF-8><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=UTF-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport><meta content="index, follow" name=robots><title>Summer School 2024</title><meta content="Summer School 2024" name=title><meta content=exploiitm name=author><meta content="Official blog of Cybersecurity Club, IIT Madras" name=description><meta content=website property=og:type><meta content=https://exploiitm.github.io/blog/posts/summer_school/ property=og:url><meta content="exploiitm blog" property=og:site_name><meta content="Summer School 2024" property=og:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=og:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=og:image><meta content=summary_large_image property=twitter:card><meta content=https://exploiitm.github.io/blog/posts/summer_school/ property=twitter:url><meta content="Summer School 2024" property=twitter:title><meta content="Official blog of Cybersecurity Club, IIT Madras" property=twitter:description><meta content=https://exploiitm.github.io/blog/favicon.ico property=twitter:image><link href=https://exploiitm.github.io/blog/posts/summer_school/ rel=canonical><link rel="shortcut icon" href=https://exploiitm.github.io/blog/favicon.ico type=image/x-icon><link href=https://speyll.github.io/suCSS/reset-min.css rel=stylesheet><link href=https://speyll.github.io/suCSS/suCSS-min.css rel=stylesheet><link href=https://exploiitm.github.io/blog/css/style.css rel=stylesheet><script defer src=https://exploiitm.github.io/blog/js/script.js></script><body><header><nav id=nav-bar><a href=https://exploiitm.github.io/> home </a><a href=/blog> blog </a><a href=/blog/writeups> writeups </a><a href=/blog/about> about </a><div><input id=theme-toggle style=display:none type=checkbox><label for=theme-toggle id=theme-toggle-label><svg class=icons id=theme-icon><use href=https://exploiitm.github.io/blog/icons.svg#lightMode></use></svg></label><audio id=theme-sound><source src=https://exploiitm.github.io/blog/click.ogg type=audio/ogg></audio></div></nav></header><main><div><a href=..>..</a>/<span class=accent-data>summer_school</span></div><time datetime=2024-07-01>Published on: <span class=accent-data>2024-07-01</span></time><address rel=author>By <span class=accent-data>exploiitm</span></address><h1>Summer School 2024</h1><p>In the summer school conducted by the Cybersecuirty club, titled <strong>“The Art of Exploitation”</strong> , we provided a 9 session course on binary exploitation. This course coverd everythin from the basics of C to advanced topics including ret2libc, ASLR and more.<p>You can find the <a href="https://www.youtube.com/watch?v=EfeU8pxDhVE&list=PLhHkiL2SJ7Xf9Meg6fj-yLJt1DJ0bwSAZ&pp=iAQB" rel=noopener target=_blank>YouTube playlist</a> of the recordings.<div class=textCenter><iframe allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" src="https://www.youtube-nocookie.com/embed/videoseries?si=ycsHDJjAgbvuN5oM&amp;list=PLhHkiL2SJ7Xf9Meg6fj-yLJt1DJ0bwSAZ" allowfullscreen mozallowfullscreen webkitallowfullscreen></iframe></div><p>The course had the following topics taught:<h3 id=session-1>Session 1</h3><ul><li>Basic C language<li>Basic Linux Commands</ul><h3 id=session-2>Session 2</h3><ul><li>Introduction to compilation<li>Introduction to assembly language</ul><h3 id=session-3>Session 3</h3><ul><li>Using GDB<li>Overwriting a variable with basic buffer overflow</ul><h3 id=session-4>Session 4</h3><ul><li>Understanding how stack frames work<li>Types of buffer overflow<li>ret2function<li>ret2shellcode</ul><h3 id=session-5>Session 5</h3><ul><li>Stack canaries as a mitigation to buffer overflow<li>Leaking the canary with format string</ul><h3 id=session-6>Session 6</h3><ul><li>W^X, preventing shellcode execution<li>ret2libc to overcome shellcode execution</ul><h3 id=session-7>Session 7</h3><ul><li>Understanding ASLR; the what, the how, and the why</ul><h3 id=session-8>Session 8</h3><ul><li>Position Independent Code<li>Procedure Linkage Table<li>Global Offset Table<li>Relocations Read Only - and how it is a necessary evil</ul><h3 id=session-9>Session 9</h3><ul><li>Overcoming ASLR with ret2plt<li>GOT overwrite with format string</ul><p class=tags-data></main><footer><hr><div class=footContainer><div class=footLeft><p>Licensed under <a rel="noopener noreferrer" href=https://fr.wikipedia.org/wiki/Licence_MIT target=_blank>MIT</a><br></div><div class=footRight><img class="footGif noStyle" alt=footGif loading=lazy src=https://i.ibb.co/XYDpfcs/foot.gif><a rel="noopener noreferrer" title="Subscribe via RSS for updates." class=metaData href=https://exploiitm.github.io/blog/atom.xml target=_blank>RSS</a></div></div></footer> |
Oops, something went wrong.