Skip to content

Instantly share code, notes, and snippets.

thaddeus t. grugq grugq

  • Independent Security Researcher
  • Thailand
Block or report user

Report or block grugq

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
grugq /
Created Dec 6, 2011
twisted ssh client (based on with an embedded cmd.Cmd shell for controllng the SSH session
from twisted.internet import reactor, defer, endpoints, task, stdio
from twisted.conch.client import default, options, direct
from twisted.conch.error import ConchError
from twisted.conch.ssh import session, forwarding, channel
from twisted.conch.ssh import connection, common
from twisted.python import log, usage
import signal
import tty
import struct
import fcntl
grugq / gist:7713916
Created Nov 30, 2013
The text from: On Underground Communications
View gist:7713916
Hash: SHA512
Undercover communication
It should be obvious by now, that the only way to communicate
stealthily and securely is to avoid raising suspicion to the
level at which the authorities might consider it worthwhile
to put you under active surveillance (e.g., park a van with
TEMPEST equipment by your apartment).
grugq / gist:03167bed45e774551155
Last active Feb 18, 2020
operational pgp - draft
View gist:03167bed45e774551155

Operational PGP

This is a guide on how to email securely.

There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.

grugq / srv2 what could go wrong
Created Nov 6, 2014
silk road v2 what could go wrong
View srv2 what could go wrong
# Silk Road 2.0, What Could Possibly Go Wrong?
There are a number of risks with the reopened Silk Road. Rather than explore them
in depth, I'll look at some of the more serious security issues facing them.
[Ed: Since I began writing this in early December, at least some of what I
predicted has come to pass. Three of the moderators from the original Silk Road
have now been arrested.]
## Plenty of Possible Problems

Keybase proof

I hereby claim:

  • I am grugq on github.
  • I am grugq ( on keybase.
  • I have a public key whose fingerprint is 6103 B780 CA99 5ABA BDC6 0C1A DB60 C7B9 BD53 1054

To claim this, I am signing this object:

View free security

Simple Security Guidelines

Using an iDevice? (Best option)

  • Use an iPod or an iPad without a SIM card
  • Use an iPhone
  • Do not jailbreak
  • Always upgrade to new iOS versions
  • Use Brave browser

Need Secure chat?

View IRA reading

An IRA Reading List


  • Insider: Gerry Bradley's Life in the IRA, Gerry Bradley
  • The Volunteer, Shane Paul O'Doherty
  • Watching the Door, Kevin Myers
  • MRF Shadow Troop, Simon Cursey
  • Southside Provisional, Kieran Conway
  • Fifty Dead Men Walking, Martin McGartland
View Bookishmute.txt
-scan telnet TGTIP
-ping -r TGTIP -t -p 4000
# 4633c8a2a16a8e0428d253baafb76bbc18f29562390c84d1c85ba98865531a2b
CRYPTER="base64 -b 78"
do_encryption() {
local plain="$1"
grugq / dracula_theme.vt
Created Dec 10, 2018
Dracula theme for the Linux console
View dracula_theme.vt
# Dracula Theme for Consoles
# Console colors are set by the `setvtrgb` command which takes as argument a
# file of exactly three lines of text. These lines are the 0..255 values for
# red: black,red,green,yellow,blue,magenta,cyan,white,bold_black,bold_red,bold_green,bold_yellow,bold_blue,bold_magenta,bold_cyan,bold_white
# grn: black,red,green,yellow,blue,magenta,cyan,white,bold_black,bold_red,bold_green,bold_yellow,bold_blue,bold_magenta,bold_cyan,bold_white
# blu: black,red,green,yellow,blue,magenta,cyan,white,bold_black,bold_red,bold_green,bold_yellow,bold_blue,bold_magenta,bold_cyan,bold_white
# Needless to say, this is a very annoying format. Here are the values for
You can’t perform that action at this time.