add: SSI for header and footer of pages
This commit is contained in:
27
index.html
27
index.html
@@ -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="pages/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="pages/blog.html"> the blog</a>
|
||||
<a href="//github.com/ALittlePatate">github</a>
|
||||
<a href="pgp/key.txt">pgp key</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>Hey you, thanks for passing by, let me introduce myself. I'm a French C/C++/Python/ASM coder who is interested in reverse engineering, Eurobeat music and 90's looking websites.</p>
|
||||
<p>I don't know how you found this website but be free to check <a href="pages/blog.html">my blog</a> where i post random stuff.</p>
|
||||
|
||||
@@ -41,12 +24,6 @@
|
||||
<li><a href="//github.com/ALittlePatate/taxidriver">TaxiDriver</a> - R/W kernel module for Linux (5.x - 6.x)</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="pages/footer.html" -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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
8
pages/footer.html
Normal 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
21
pages/header.html
Normal 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>
|
||||
@@ -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" -->
|
||||
|
||||
@@ -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" -->
|
||||
|
||||
@@ -27,24 +27,8 @@ def write_file(text) :
|
||||
def generate_base(title) :
|
||||
base = """
|
||||
<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>"""+title+"""</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">"""+title+"""</h1>
|
||||
@@ -76,12 +60,7 @@ def generate_section(s) :
|
||||
def generate_end_file() :
|
||||
base = '''
|
||||
<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" -->
|
||||
</html>'''
|
||||
|
||||
write_file(base)
|
||||
|
||||
Reference in New Issue
Block a user