From 027f2461105586c9bbd605c16033335a516a40fa Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Mon, 22 Apr 2024 11:53:32 +0200 Subject: [PATCH] add: SSI for header and footer of pages --- index.html | 27 ++------------------------- pages/blog.html | 27 ++------------------------- pages/footer.html | 8 ++++++++ pages/header.html | 21 +++++++++++++++++++++ pages/insecure_mode_bypass.html | 26 +++----------------------- pages/reversing_vac_winapi_hooks.html | 26 +++----------------------- python_script/generate_article.py | 25 ++----------------------- 7 files changed, 41 insertions(+), 119 deletions(-) create mode 100644 pages/footer.html create mode 100644 pages/header.html diff --git a/index.html b/index.html index a15109b..3e42955 100644 --- a/index.html +++ b/index.html @@ -1,23 +1,6 @@ - - - - ~Blog of a French coder~ - - + -
- - Spike - - -
-

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.

I don't know how you found this website but be free to check my blog where i post random stuff.

@@ -41,12 +24,6 @@
  • TaxiDriver - R/W kernel module for Linux (5.x - 6.x)
  • - - + diff --git a/pages/blog.html b/pages/blog.html index 0f52705..9218225 100644 --- a/pages/blog.html +++ b/pages/blog.html @@ -1,23 +1,6 @@ - - - - ~Blog of a French coder~ - - + -
    - - Spike - - -
    -

    In this section of the website you can read the random stuff i post from time to time.

    The articles

    @@ -32,12 +15,6 @@ - - + diff --git a/pages/footer.html b/pages/footer.html new file mode 100644 index 0000000..c6b1835 --- /dev/null +++ b/pages/footer.html @@ -0,0 +1,8 @@ + + + diff --git a/pages/header.html b/pages/header.html new file mode 100644 index 0000000..9fe4eb5 --- /dev/null +++ b/pages/header.html @@ -0,0 +1,21 @@ + + + + + ~Blog of a French coder~ + + + +
    + + Spike + + +
    + + diff --git a/pages/insecure_mode_bypass.html b/pages/insecure_mode_bypass.html index 02286aa..0e093ea 100644 --- a/pages/insecure_mode_bypass.html +++ b/pages/insecure_mode_bypass.html @@ -1,22 +1,6 @@ - - - - ~Blog of a French coder~ - - + -
    - - Spike - - -

    -insecure mode bypass in CS:GO

    @@ -62,9 +46,5 @@

    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.

    - + + diff --git a/pages/reversing_vac_winapi_hooks.html b/pages/reversing_vac_winapi_hooks.html index 6c4be38..4600a7d 100644 --- a/pages/reversing_vac_winapi_hooks.html +++ b/pages/reversing_vac_winapi_hooks.html @@ -1,22 +1,6 @@ - - - - ~Blog of a French coder~ - - + -
    - - Spike - - -

    Reversing VAC winapi hooks

    @@ -59,9 +43,5 @@ We see that the function is defined the same as the original one; you need to do 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.

    - + + diff --git a/python_script/generate_article.py b/python_script/generate_article.py index 7ebd59f..994917e 100644 --- a/python_script/generate_article.py +++ b/python_script/generate_article.py @@ -27,24 +27,8 @@ def write_file(text) : def generate_base(title) : base = """ - - - - """+title+""" - - + -
    - - Spike - - -

    """+title+"""

    @@ -76,12 +60,7 @@ def generate_section(s) : def generate_end_file() : base = '''

    - + ''' write_file(base)