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
grugq / gist:03167bed45e774551155
Last active Nov 13, 2019
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.

View free security advice.md

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?

@grugq
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
@grugq
grugq / ppw
Last active Sep 10, 2019
passphrase generator using cmdline tools because wtf not
View ppw
#!/bin/bash
#
# simplistic program that creates passphrases using bash. the passphrases
# are a Number of '-' separated words, ea. of max Chars, with limited post
# processing (upper case, lower case, 1337.)
#
# (c) 2019, thaddeus t. grugq <the.grugq@gmail.com>
#
CRACKLIB=/usr/share/dict/cracklib-small
@grugq
grugq / gist:7713916
Created Nov 30, 2013
The text from: http://dee.su/uploads/baal.html On Underground Communications
View gist:7713916
-----BEGIN PGP SIGNED MESSAGE-----
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).
View grugq quotes from Downclimb
Give a man an 0day and he'll have access for a day, teach a man to phish and he'll have access for life.
https://twitter.com/thegrugq/status/563964286783877121
--
You can get 25% off a Mandiant incident response with the code: ITWASCHINA. 100% off if you just use that code as the report.
https://twitter.com/thegrugq/status/600345075562909696
--
Fear of 0day is like being terrified of ninjas instead of cardiovascular disease.
https://twitter.com/thegrugq/status/851001030019907588
View keybase.md

Keybase proof

I hereby claim:

  • I am grugq on github.
  • I am grugq (https://keybase.io/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 PrettyGoodPGP.sh
#!/bin/bash
#
# 4633c8a2a16a8e0428d253baafb76bbc18f29562390c84d1c85ba98865531a2b
CRYPTER="base64 -b 78"
HEADER="----BEGIN PGP MESSAGE----"
FOOTER="-----END PGP MESSAGE-----"
do_encryption() {
local plain="$1"
View IRA reading list.md

An IRA Reading List

Autobiographies

  • 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
@grugq
grugq / sshclient.py
Created Dec 6, 2011
twisted ssh client (based on conch.py) with an embedded cmd.Cmd shell for controllng the SSH session
View sshclient.py
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
You can’t perform that action at this time.