diff options
author | cos <cos> | 2022-12-01 16:14:20 +0000 |
---|---|---|
committer | cos <cos> | 2022-12-01 17:27:23 +0000 |
commit | 1773627631cc873b6a09098dda1cac14c6ed03fa (patch) | |
tree | 13e34a2c0348fe20cf2283321189a59c91641f94 /bin/cookies_from_chromium.sh | |
parent | 4a54a0d97a57df6c1525b9bbfcabdf829e44a4d1 (diff) | |
download | adventofcode-1773627631cc873b6a09098dda1cac14c6ed03fa.zip |
Initial commit of init_year, poke support scripts
Diffstat (limited to 'bin/cookies_from_chromium.sh')
-rwxr-xr-x | bin/cookies_from_chromium.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/cookies_from_chromium.sh b/bin/cookies_from_chromium.sh deleted file mode 100755 index 208cf14..0000000 --- a/bin/cookies_from_chromium.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -e - -for C in "${HOME}/.config/chrom"*/*'/Cookies' -do - echo "${C}" - printf '%s\n%s%s\n' '.headers on' \ - 'SELECT name, value, hex(encrypted_value) FROM cookies ' \ - 'WHERE host_key=".adventofcode.com";' | sqlite3 "${C}" -done - -echo 'This is a reminder of how cookies are encrypted.' \ - 'Manual export is required.' >&2 -exit 1 |