summaryrefslogtreecommitdiff
path: root/bin/cookies_from_chromium.sh
diff options
context:
space:
mode:
authorcos <cos>2022-12-01 16:14:20 +0000
committercos <cos>2022-12-01 17:27:23 +0000
commit1773627631cc873b6a09098dda1cac14c6ed03fa (patch)
tree13e34a2c0348fe20cf2283321189a59c91641f94 /bin/cookies_from_chromium.sh
parent4a54a0d97a57df6c1525b9bbfcabdf829e44a4d1 (diff)
downloadadventofcode-1773627631cc873b6a09098dda1cac14c6ed03fa.zip
Initial commit of init_year, poke support scripts
Diffstat (limited to 'bin/cookies_from_chromium.sh')
-rwxr-xr-xbin/cookies_from_chromium.sh13
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