.

blog

You don't have to manually install security updates on all your boxes. Debian has some recommended solutions here

You can configure automated security updates like this:

sudo apt update && sudo apt install unattended-upgrades -y

The frequency of unattended-upgrades is controlled by the settings in this file: /etc/apt/apt.conf.d/20auto-upgrades

Read more...

From this guide you will get:

  • A box with qbittorrent web-ui reachable on LAN, behind a Mullvad VPN
  • SMB share to host your files on LAN
  • A script to test for dns leaks :)

This quick project is great for eg. a spare laptop or a VM!

I would recommend installing this on a dedicated Debian server instance. No need for a desktop environment. I would also recommend using LVM + LUKS encryption.

That said this will work on any Debian or Ubuntu-based system.

Read more...

If you're using LMDE, Linux Mint, or Ubuntu with full-disk LUKS encryption and backing up with Timeshift, this guide is for that day your system breaks, your drive dies, or your laptop disappears. Here's how to bring everything back—with encryption, system settings, and sanity intact.


Before You Begin: Back Up Personal Files!

If you have important personal data not included in your Timeshift snapshots (like documents, photos, or anything in /home), salvage and back it up now before continuing.

If you’ve already done that—or can’t—read on.

Read more...

So, i wrote a blog post about automatically creating and storing YunoHost backups, on a remote VPS. Read it here

My friend needed a similar solution, but needed to sync the backup files to an S3 bucket.

For this solution we will modify this guide, provided by Contabo

This guide is actually awesome, and you should read it. We will be changing some things, since we are backing up from the YunoHost core, and not the entire filesystem.

Read more...

On the remote server, that is to store the backup:

I started by creating an ECDSA key pair of 384 bits, with this command:

ssh-keygen -t ecdsa -b 384

Then i sent it to the YunoHost VPS with this command:

ssh-copy-id -i ~/.ssh/your-key-name.pub 'username'@'host-domain'

Then i created a cronjob that will sync two directories, over SSH, using rsync.

Read more...

Run these commands:

sudo echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list
sudo echo "deb-src http://http.kali.org/kali kali-rolling main non-free contrib">> /etc/apt/sources.list
sudo wget https://archive.kali.org/archive-key.asc -O /etc/apt/trusted.gpg.d/kali-archive-keyring.asc
sudo apt update
Read more...

I made a script automating the last blog post!

Get it here: https://raw.githubusercontent.com/tr00ls/tr00ls/main/zsh-script.sh

wget https://raw.githubusercontent.com/tr00ls/tr00ls/main/zsh-script.sh && sudo chmod +x zsh-script.sh
sudo ./zsh-script.sh

Let's use zsh to make our terminal look pretty.

To install zsh, open your terminal and enter:

sudo apt update && sudo apt install zsh -y

To make zsh your default shell enter:

sudo chshs -s /usr/bin/zsh

We need git for these next steps, so if you haven't already, please install git by entering:

Read more...

Hello World!