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
| #!/bin/bash | |
| # Logging Functions | |
| function log() { echo -e "\e[32m[*]\e[0m $@"; } | |
| function error() { echo -e "\e[31m[!]\e[0m $@"; exit 1; } | |
| function warn() { echo -e "\e[33m[x]\e[0m $@"; } | |
| function msg() { echo -e "\e[34m[+]\e[0m $@"; } | |
| function msgln() { echo -en "\e[34m[+]\e[0m $@"; } | |
| function validate_and_extract() { |