From 6ea6af186f937e81fbe455b933f45d3eb7201e83 Mon Sep 17 00:00:00 2001 From: Swissky <12152583+swisskyrepo@users.noreply.github.com> Date: Fri, 30 Sep 2022 16:46:02 +0200 Subject: [PATCH] Dark mode --- _includes/dark-mode.html | 35 +++++++++++++++++++ _layouts/default.html | 4 ++- ...2-09-30-Auto-Obfuscate-Strings-with-Nim.md | 3 +- 3 files changed, 39 insertions(+), 3 deletions(-) create mode 100755 _includes/dark-mode.html diff --git a/_includes/dark-mode.html b/_includes/dark-mode.html new file mode 100755 index 0000000..c167d20 --- /dev/null +++ b/_includes/dark-mode.html @@ -0,0 +1,35 @@ + + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index b8446c4..8e8124c 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -33,9 +33,11 @@ 📝Posts 📖PayloadsAllTheThings 🖥️HardwareAllTheThings - 👤About + 🌗 + + {% include dark-mode.html %} diff --git a/_posts/2022-09-30-Auto-Obfuscate-Strings-with-Nim.md b/_posts/2022-09-30-Auto-Obfuscate-Strings-with-Nim.md index b5ea397..5d2ae0b 100755 --- a/_posts/2022-09-30-Auto-Obfuscate-Strings-with-Nim.md +++ b/_posts/2022-09-30-Auto-Obfuscate-Strings-with-Nim.md @@ -5,10 +5,9 @@ title: Offensive Nim - Auto Obfuscate Strings with Nim's Term-Rewriting Macros TLDR: Use `nim-strenc`, or read below to discover how to write your own Nim macro. - - Lately I discovered the repository [Yardanico/nim-strenc](https://github.com/Yardanico/nim-strenc), you can use it very easily in your Nim code by importing `strenc`. Let's try it on this simple example. First you need to install the package using this command: `nimble install strenc` + {% highlight py%} import strenc