This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
) | |
func rnd(ln int) string { | |
str := "" | |
for idx := 0; idx < ln; idx++ { | |
rand.Seed(time.Now().UnixNano()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Check if backup target is mounted, else, ask the user to | |
# select a device to mount (and use) instead | |
MOUNT=$(findmnt | grep "/mnt/backup" 2>/dev/null) | |
if [ "$MOUNT" = "" ]; then | |
fdisk -l | less | |
read -p "Enter backup device: " DEVICE | |
mount $DEVICE /mnt/backup | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pynput.keyboard import Key, Controller | |
import time | |
""" | |
Website in scope: https://establishedtitles.com | |
Country the script is programmed for: Italy | |
""" | |
kb = Controller() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
git clone "$1.git" | |
REPO=$(echo "$1" | sed -e 's/.*\///') | |
cd $REPO | |
git log | grep "Author:" | grep -e ".*@.*\..*" | sort | uniq | sed -e 's/.*<//' | sed -e 's/>//' >> ../spam_addresses.txt | |
cd .. | |
rm -rf $REPO |