This file contains hidden or 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 | |
# 1. read https://docs.pi-hole.net/ftldns/interfaces/ | |
# 2. go to www.virustotal.com and check 'https://install.pi-hole.net' | |
# port 22 is open everywhere | |
# port 53 is open only for the value of 'YOUR_HOME_EXTERNAL_IP' | |
### ✏️✏️✏️ fill out |
This file contains hidden or 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 | |
export VERSION=1.4.2 | |
wget https://releases.hashicorp.com/vault/${VERSION}/vault_${VERSION}_linux_amd64.zip | |
# unzip the package and remove the zip file: | |
unzip vault_${VERSION}_linux_amd64.zip && rm vault_${VERSION}_linux_amd64.zip | |
# vault runs as a single binary named vault, other files in the package can be safely removed | |
ls -al | grep vault |
This file contains hidden or 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
# https://wiki.archlinux.org/index.php/Firejail | |
# https://linux-audit.com/audit-and-harden-your-ssh-configuration/ | |
sudo firecfg | |
mkdir -p /etc/pacman.d/hooks/ | |
sudo bash -c 'cat > /etc/pacman.d/hooks/firejail.hook' << EOF | |
[Trigger] | |
Type = Path | |
Operation = Install | |
Operation = Upgrade |
This file contains hidden or 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
# Unbound is a validating, recursive, and caching DNS resolver. | |
https://wiki.archlinux.org/index.php/Unbound | |
# install unbound, expat | |
sudo pacman -Syy --noconfirm unbound expat ldns bind-tools | |
# setup etckeeper | |
sudo pacman -Syy --noconfirm etckeeper | |
git config --global user.email "me@armory" | |
git config --global user.name "Me Myself and I" |
This file contains hidden or 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
#!/usb/bin/env bash | |
# Setup interlock on USB armory (armv7) for 'Void Linux' or 'ArchLinux.' | |
# INTERLOCK - file encryption front end | |
#luks partition start | |
PARTITION_START="6820MB" | |
#use this tag for signal support | |
INTERLOCK_REPO_TAG="v2019.01.30" |
This file contains hidden or 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 | |
echo '' | |
echo -n "blackhole ... " | |
export http_proxy="" | |
if curl -s --head http://localhost:8119/ | head -n1 | grep -E "(200 OK)" --color > /dev/null > /dev/null | |
then | |
echo "http://localhost:8119 [✅]" | |
else | |
echo "[❌]" |
This file contains hidden or 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 | |
# install pwnagotchi on rpi4 | |
WIFI_DEV="wlan1" | |
AUTO_MODE=true | |
DEBUG=false | |
PWN_GRID=false | |
PWN_GRID_REPORT=false | |
HOME_NETWORK="YourHomeNetworkMaybe" |
This file contains hidden or 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 | |
## Setting up Pi-hole as a recursive DNS server solution¶ | |
## https://docs.pi-hole.net/guides/unbound/ | |
## 1. The first thing you need to do is to install the recursive DNS resolver: | |
sudo apt update | |
sudo apt -y install unbound | |
## 2. Important: Download the current root hints file |
This file contains hidden or 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
#!/usb/bin/env bash | |
# Setup interlock on 'usbarmory-debian-base_image' | |
# INTERLOCK - file encryption front end | |
INTERLOCK_REPO_TAG="v2019.01.30" # use this tag for signal support | |
# add andrea (inversepath) gpg key | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 73C9E98B25B61D15 | |
wget http://keys.inversepath.com/gpg-andrea.asc -O gpg-andrea.asc |
NewerOlder