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
#!/bin/sh | |
stty -echo | |
while true; do | |
read -s -p "Password: " password | |
echo | |
read -s -p "Password (again): " password2 | |
echo | |
[ "$password" = "$password2" ] && break | |
echo "Please try again" |
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
#!/bin/bash | |
FILENAME="private.img"; | |
FILESIZE="100M"; | |
# Create encrypted volume if it doesn't exist | |
if [ ! -f $FILENAME ]; then | |
echo "Creating image file..."; | |
dd if=/dev/zero of=$FILENAME bs=$FILESIZE count=0 seek=1 |
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
config source 'ccncovid' | |
option adb_src 'https://loreto.ccn-cert.cni.es/index.php/s/oDcNr5Jqqpd5cjn/download?path=%2F&files=IOC_dominios.txt' | |
option adb_src_rset '/^([[:alnum:]_-]+\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower(\$1)}' | |
option adb_src_desc 'Lista de dominios IOC sobre COVID-19' | |
option enabled '1' |