From 1c7d55e56c4cb0ca7e9e10dc08d0053a2d2609df Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 18 Jun 2019 21:00:36 +0200 Subject: [PATCH] Adapted changed CSRF handling --- alexa_remote_control_plain.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/alexa_remote_control_plain.sh b/alexa_remote_control_plain.sh index 8da155b..969b45e 100644 --- a/alexa_remote_control_plain.sh +++ b/alexa_remote_control_plain.sh @@ -3,7 +3,7 @@ # Amazon Alexa Remote Control (PLAIN shell) # alex(at)loetzimmer.de # -# 2019-02-14: v0.12a (for updates see http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) +# 2019-02-14: v0.12c (for updates see http://blog.loetzimmer.de/2017/10/amazon-alexa-hort-auf-die-shell-echo.html) # ### # @@ -371,7 +371,8 @@ fi # ${CURL} ${OPTS} -s -c ${COOKIE} -b ${COOKIE} -A "${BROWSER}" -H "DNT: 1" -H "Connection: keep-alive" -L\ -H "Referer: https://alexa.${AMAZON}/spa/index.html" -H "Origin: https://alexa.${AMAZON}"\ - https://${ALEXA}/api/language > /dev/null + https://${ALEXA}/templates/oobe/d-device-pick.handlebars > /dev/null +# https://${ALEXA}/api/language > /dev/null rm -f "${TMP}/.alexa.login" rm -f "${TMP}/.alexa.header"