Add red highlight to security warnings

This commit is contained in:
The Magician 2023-11-07 15:59:03 +00:00
parent ce2b0b9411
commit 030a42b42d
1 changed files with 2 additions and 2 deletions

View File

@ -432,10 +432,10 @@ section_conceal() {
printf "\e[8;46mTHIS TEXT IS HIDDEN\e[0m\n"
newline
printf "Please note that using this code to hide text is NOT a security feature.\n"
printf "Please note that using this code to hide text is \e[1;31mNOT a security feature\e[0m.\n"
printf "You will observe that, if using a pager such as \`less\` to view this text, you will still be able to find all instances of the text using the search function.\n"
printf "Likewise, if output from a program which uses this code is redirected to a file, then the \"concealed\" text will be visible in that file.\n"
printf "It is NOT SAFE to output sensitive information, such as passwords or API keys, using this code.\n"
printf "It is \e[1;31mNOT SAFE\e[0m to output sensitive information, such as passwords or API keys, using this code.\n"
}
section_strikethrough() {