Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am felixrr on github.
* I am felixrr (https://keybase.io/felixrr) on keybase.
* I have a public key whose fingerprint is 77D8 7D2B 2320 C10D C9E6 EB9C 4B2F 12C4 1DFA A29B
To claim this, I am signing this object:
@yg-ht
yg-ht / keybase.md
Last active December 18, 2017 21:02

Keybase proof

I hereby claim:

  • I am yg-ht on github.
  • I am felixrr (https://keybase.io/felixrr) on keybase.
  • I have a public key whose fingerprint is 3905 8B38 0600 5719 271F 47C6 3960 94C0 5C25 00CC

To claim this, I am signing this object:

#!/bin/bash
passwd #reset root user password
deluser --remove-all-files ubuntu -q 2>/dev/null # remove default user account
sed -i 's/^# deb/deb/g' /etc/apt/sources.list # enable all default package sources
apt update && apt upgrade -y # update all installed packages
apt -y install fail2ban unattended-upgrades haveged htop apparmor-utils libpam-pwquality debsums apt-show-versions arpwatch # install some extra packages
# create cron job that updates and reboots on a weekly basis (uptime is not critical)
echo "# ┌───────────── minute (0 - 59)" > customcron
echo "# │ ┌───────────── hour (0 - 23)" >> customcron
echo "# │ │ ┌───────────── day of month (1 - 31)" >> customcron
@yg-ht
yg-ht / Password_cracking_in_the_cloud.md
Last active January 18, 2024 21:03 — forked from 7MinSec/Password_cracking_in_the_cloud.md
Password cracking in the cloud