Skip to content

Instantly share code, notes, and snippets.

###############################################
# TX SX OS unpacker - by hexkyz and naehrwert #
###############################################
from Crypto.Cipher import AES
from Crypto.Util import Counter
import os
import struct
"""
@Niksac
Niksac / Backupper.sh
Last active September 7, 2016 22:11
Bash script to incrementally backup a folder from a remote server via rsync over ssh.
#target backup directory
BUDIR=/home/backups/examplecom
#remote directory
REMOTEDIR=/my/target/folder
#number of days backup files are being kept
BUDAYS=30
#mysql root pw on remote maschine
MYSQLROOTPW=SECRETSECRETSECRET
echo "starting backup process"