Skip to content

Instantly share code, notes, and snippets.

View RubenNL's full-sized avatar
:octocat:
Hi! I moved to https://gitlab.rubend.nl/ruben

Ruben van Dijk RubenNL

:octocat:
Hi! I moved to https://gitlab.rubend.nl/ruben
  • Rotterdam
View GitHub Profile
@thesamesam
thesamesam / xz-backdoor.md
Last active May 4, 2024 09:26
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Background

On March 29th, 2024, a backdoor was discovered in xz-utils, a suite of software that

@RubenNL
RubenNL / gotify-bash.sh
Last active March 2, 2019 13:45
gotify-bash
#!/bin/bash
files=(/etc/gotify/cli-bash.json $HOME/.gotify/cli-bash.json .cli-bash.json)
for filepath in "${files[@]}"
do
if [ -f $filepath ]; then
break;
fi
done
case $1 in
"init")
@fntlnz
fntlnz / self-signed-certificate-with-custom-ca.md
Last active April 19, 2024 12:30
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
@rootux
rootux / WhatsApp Web Send Random Heart
Last active October 18, 2020 01:06
Just a simple WhatsApp Web Heart Sender
/*
Simple WhatsApp Web Spam Bot Originally written by Pablode. Modified by Gal Bracha.
Use with love <3. Do not act reckless.
====================================================================================
DISCLAIMER: I do not take any responsibility for any damage caused with this script.
WhatsApp might be able identify script users if this becomes a problem. Do only use
this if you are aware of the consquences.
====================================================================================
Usage: Copy all of this script (Ctrl+A, Ctrl+C). Add a new Bookmark. In the URL section,
write "javascript:" and paste (Ctrl+V) this script. Visit WhatsApp Web, select your