This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copy/paste this into browser DevTools console. */ | |
;(async () => { | |
async function dumpDatabase(dbName) { | |
var dbExists = await new Promise(resolve => { | |
var request = window.indexedDB.open(dbName) | |
request.onupgradeneeded = e => { | |
e.target.transaction.abort() | |
resolve(false) | |
} | |
request.onerror = () => resolve(true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
instance-id: my-vm-host | |
local-hostname: my-vm-host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
poc-turbo-intruder-messageinfo-comment.py | |
Jack Sullivan <jack@divergent.codes> | |
This is a Burp Turbo Intruder PoC that shows how to automatically set the comment | |
field from a Turbo Intruder script. Each comment will be persisted across other | |
Burp plugins, like Logger++. | |
The approach is to register a IHttpListener class that captures and exposes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface=wlx00aa11bb22dd | |
# Driver for Alfa AWUS036ACH is 88XXau, but the default works for some reason. | |
# https://github.com/aircrack-ng/rtl8812au | |
#driver=nl80211 | |
########################################################### | |
# AP Config | |
########################################################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Hashicorp tool installation script. | |
# User defined variables. | |
TOOL_NAME="consul" | |
TOOL_VERSION="1.5.0" | |
# Composite variables. | |
TOOL_FILE="${TOOL_NAME}_${TOOL_VERSION}_linux_amd64.zip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# PlantUML Launcher | |
# | |
# This script is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This script distributed in the hope that it will be useful, but | |
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# /etc/NetworkManager/dispatcher.d/02-wifi-iptables.sh | |
# Add iptables rules for specific wireless networks. | |
# Reset iptables rules when connections go down. | |
if [ "$2" = "up" ]; then | |
case $(iwgetid -r) in | |
"My Network Name") | |
iptables -I OUTPUT -j HOMELAN -m comment --comment "Home LAN chain"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
############################################################################### | |
# | |
# Automatic installation of Algo generated WireGuard client, on Ubuntu. | |
# | |
# Usage: | |
# 1. Run Algo to setup a new VPN. | |
# 1. Run this script from the new Algo instance's config directory: | |
# ./algo/config/xxx.xxx.xxx.xxx/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
GO_VERSION="1.8.1" | |
GO_ARCHIVE="go$GO_VERSION.linux-amd64.tar.gz" | |
GO_CHECKSUM=$GO_ARCHIVE.sha256 | |
GO_URL="https://storage.googleapis.com/golang" | |
TMP_DIR="/tmp/golang$GO_VERSION" | |
GO_DIR="/usr/local" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################ | |
# Install Docker on a Debian 8 (Jessie) system. | |
################################################ | |
# Check current OS and kernel version | |
lsb_release -a; uname -r |