An incomplete history of attacks
- Watering hole attack against "Playpen" onion site
- Believed to exploit a vulnerability in Firefox
- FBI chose to drop case rather than reveal details of technique
#!/bin/bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
target="${1:-/opt/sublime_merge/sublime_merge}" | |
check_sha() { | |
local sha_valid |
printf '\00\00\00' | dd of=sublime_text bs=1 seek=290764 count=3 conv=notrunc | |
https://www.google.com/search?q=%22EA7E-890007%22 |
Cloudflare's WARP VPN uses a slightly modified version of the WireGuard protocol, but it remains backwards compatible with the normal WireGuard client software. This means you can connect to it on platforms which don't yet have an official WARP client, e.g. your computer or EdgeOS-based router.
Generate a WireGuard keypair, as usual:
wg genkey | tee private.key | wg pubkey > public.key
// change 'agent' lines as appropriate | |
pipeline { | |
agent none | |
stages { | |
stage('Run CI?') { | |
agent any | |
steps { |
The Bright Box 2 is a combined VDSL modem and wireless router supplied to customers of EE (Orange). It is manufactured by Arcadyan and uses a Broadcom bcm63xx SoC
These instructions are based on the latest firmware at the time of writing: v0.04.05.0001-OT (Fri Mar 24 17:29:32 2017)
# same behaviour as zpopmax/zpopmin in redis 5.0.0-RC2: | |
# count arg defaults to 1 | |
# count > 0: return count many items | |
# count <= 0: return all items | |
lua_zpopmax = """ | |
assert(#KEYS == 1) | |
assert(#ARGV <= 1) | |
local count = 1 |
(defn- reseeding-prng [ttl] | |
(let [state (atom {})] | |
(fn [] | |
(let [now (.getTime (java.util.Date.))] | |
(when (> (- now (:last-seeded @state 0)) ttl) | |
(let [new-generator (java.security.SecureRandom/getInstance "SHA1PRNG" "SUN")] | |
(.nextBytes new-generator (byte-array 0)) | |
(swap! state assoc :last-seeded now :generator new-generator))) | |
(:generator @state))))) |