Skip to content

Instantly share code, notes, and snippets.

@hackerb9
hackerb9 / extract_cookies.sh
Last active November 19, 2024 06:45 — forked from spk/extract_cookies.sh
Extract cookies.sqlite to cookies.txt for use in wget or curl.
#!/bin/bash -e
# extract_cookies.sh:
#
# Convert from Firefox's cookies.sqlite format to Netscape cookies,
# which can then be used by wget and curl. (Why don't wget and curl
# just use libsqlite if it's installed?)
# USAGE:
#
# $ extract_cookies.sh > /tmp/cookies.txt
@hackerb9
hackerb9 / guest-account.sh
Last active March 5, 2016 01:43 — forked from pixline/guest-account.sh
/usr/sbin/guest-account script (debian version)
#!/bin/bash
# (C) 2008 Canonical Ltd.
# Author: Martin Pitt <[email protected]>
# License: GPL v2 or later
# modified by David D Lowe and Thomas Detoux
# Debian 7 support by pixline <[email protected]>
# Cinnamon support by hackerb9 <[email protected]>
# 2016 major cleanup by hackerb9: cinnamon, debian 8, default extra groups, etc.
#