add: SSI for header and footer of pages

This commit is contained in:
2024-04-22 11:53:32 +02:00
parent 3a89f30a76
commit 027f246110
7 changed files with 41 additions and 119 deletions

View File

@@ -1,23 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>~Blog of a French coder~</title>
<link rel="stylesheet" type="text/css" href="../css/styles.css"/>
</head>
<!--#include virtual="header.html" -->
<body>
<div class="header">
<a href="/">
<a href="../index.html"><img alt="Spike" src="../images/spike.jpg" id="spike"></a>
</a>
<div class="menu">
<a> </a>
<a href="blog.html">the blog</a>
<a href="//github.com/ALittlePatate">github</a>
<a href="../pgp/key.txt">pgp key</a>
</div>
</div>
<p>In this section of the website you can read the random stuff i post from time to time.</p>
<h2>The articles</h2>
@@ -32,12 +15,6 @@
<ul>
<li><a href="posts/21_04_2024.txt" class="article">News from 21/04/2024</a></li>
</ul>
<footer id="foot">
<a href="//gnu.org"><img alt="GNU/Linux" src="../images/footer/gnu_linux.png" /></a>
<img alt="" src="../images/footer/internet-privacy.gif" />
<a href="//torproject.org"><img alt="Tor" src="../images/footer/tor.gif" /></a>
<a href="."><img alt="patate.dev" src="../images/footer/patate_dev.png" /></a>
</footer>
<!--#include virtual="footer.html" -->
</body>
</html>

8
pages/footer.html Normal file
View File

@@ -0,0 +1,8 @@
<html>
<footer id="foot">
<a href="//gnu.org"><img alt="GNU/Linux" src="/images/footer/gnu_linux.png" /></a>
<img alt="" src="/images/footer/internet-privacy.gif" />
<a href="//torproject.org"><img alt="Tor" src="/images/footer/tor.gif" /></a>
<a href="."><img alt="patate.dev" src="/images/footer/patate_dev.png" /></a>
</footer>
</html>

21
pages/header.html Normal file
View File

@@ -0,0 +1,21 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>~Blog of a French coder~</title>
<link rel="stylesheet" type="text/css" href="/css/styles.css"/>
</head>
<body>
<div class="header">
<a href="/">
<a href="/"><img alt="Spike" src="/images/spike.jpg" id="spike"></a>
</a>
<div class="menu">
<a> </a>
<a href="/pages/blog.html"> the blog</a>
<a href="//github.com/ALittlePatate">github</a>
<a href="/pgp/key.txt">pgp key</a>
</div>
</div>
</body>
</html>

View File

@@ -1,22 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>~Blog of a French coder~</title>
<link rel="stylesheet" type="text/css" href="../css/styles.css"/>
</head>
<!--#include virtual="header.html" -->
<body>
<div class="header">
<a href="/">
<a href="../index.html"><img alt="Spike" src="../images/spike.jpg" id="spike"></a>
</a>
<div class="menu">
<a> </a>
<a href="blog.html">the blog</a>
<a href="//github.com/ALittlePatate">github</a>
<a href="../pgp/key.txt">pgp key</a>
</div>
</div>
<article aria-label="Content" itemscope itemtype="http://schema.org/BlogPosting">
<h1 itemprop="name headline">-insecure mode bypass in CS:GO</h1>
@@ -62,9 +46,5 @@
</h2>
<p>At the writing of this blogpost, you can only join community servers with this flag enabled, this may change. Also, remember that even if you join a VAC secured server with this bypass, VAC will still be running thus this exploit is pretty useless. It was only a learning opportunity to me and shouldn't be considered as a VAC bypass.</p><p></p></main></article>
<footer id="foot">
<a href="//gnu.org"><img alt="GNU/Linux" src="../images/footer/gnu_linux.png" /></a>
<img alt="" src="../images/footer/internet-privacy.gif" />
<a href="//torproject.org"><img alt="Tor" src="../images/footer/tor.gif" /></a>
<a href="."><img alt="patate.dev" src="../images/footer/patate_dev.png" /></a>
</footer>
<!--#include virtual="footer.html" -->

View File

@@ -1,22 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>~Blog of a French coder~</title>
<link rel="stylesheet" type="text/css" href="../css/styles.css"/>
</head>
<!--#include virtual="header.html" -->
<body>
<div class="header">
<a href="/">
<a href="../index.html"><img alt="Spike" src="../images/spike.jpg" id="spike"></a>
</a>
<div class="menu">
<a> </a>
<a href="blog.html">the blog</a>
<a href="//github.com/ALittlePatate">github</a>
<a href="../pgp/key.txt">pgp key</a>
</div>
</div>
<article aria-label="Content" itemscope itemtype="http://schema.org/BlogPosting">
<h1 itemprop="name headline">Reversing VAC winapi hooks</h1>
@@ -59,9 +43,5 @@ We see that the function is defined the same as the original one; you need to do
</h2>
To conclude, reversing VAC is a great way of learning as it's not obfuscated/packed and the code is pretty easy to read. Bye.<p></p></main></article>
<footer id="foot">
<a href="//gnu.org"><img alt="GNU/Linux" src="../images/footer/gnu_linux.png" /></a>
<img alt="" src="../images/footer/internet-privacy.gif" />
<a href="//torproject.org"><img alt="Tor" src="../images/footer/tor.gif" /></a>
<a href="."><img alt="patate.dev" src="../images/footer/patate_dev.png" /></a>
</footer>
<!--#include virtual="footer.html" -->