## COOKIE RETRIEVER ##

This commit is contained in:
fred 2023-03-22 15:58:23 +01:00
parent 9ffab4c3fd
commit d9696fdbeb
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,9 @@ while true; do
HOSTP=$(echo "$REQ" | grep '^Host:' | cut -d ' ' -f2 | cut -d '?' -f2)
HOST=$(echo "$HOSTP" | cut -d ':' -f 1)
## COOKIE RETRIEVAL ##
COOKIE=$(echo "$REQ" | grep '^Cookie:' | cut -d ' ' -f2)
echo "COOKIE=$COOKIE"
############### ############### ############### ###############
[[ $XDG_SESSION_TYPE == 'x11' ]] && espeak "Ding" >/dev/null 1>&2 &
############################################################################