Skip to content

Instantly share code, notes, and snippets.

Avatar

Aaron Kaufman aaronky

View GitHub Profile
View gpg-test.txt
-----BEGIN PGP MESSAGE-----
hQIMA2o53arc4Lw3AQ/9HAQAAtqdE31Sn1VrPAPJpheOw49bAPLB9VmvX+pCegWh
ECeuY7/4K0prBNVK0lAk/8xxvL5aizyvYmP1KNhK3gsMKLs0wzJbCRlgi2CmVTfR
cnoy/fPhhW2Jibhbt4sXHE31AKmCkQLTpgXBUZwsdida/0jxW5gA66fdJBdYCM1B
v0nS3Tz25lkY38CIE3LYvY/NdlgK+Fpc6v6WItvfL6d8nd+SH7liAyz/kZJuvWIU
cyWI+8EMVBGiraaXchDfbnsdxfSMamm+sI67NApixykPb6LsPknvbfNvgVjppr0n
IxROnE5rnPWuHOKlb2P0+7jNRD3K6WA8n+2z+oBW6DSCzKtNvMPuaa17BNy3eR95
wuIs5W+lJS6YQn5neLJ8OnPt7T2o1QDqDYlQKjZXNPouzoHwLxL0JuwYmHLFnZqB
n25LufvR17HjQcphQSiIisFI2l3qD9e7QEIU+FE5RVuId/2tN5jqqNSegw13Y4c9
@aaronky
aaronky / mosh_tmux
Created May 15, 2020
mosh tmux bastion
View mosh_tmux
mosh --family=inet6 bastion -- tmux a -t REMOTE -d
View stuff.txt
top -m io -o write -s 1
tar -czvf --use-compress-program=pigz -f foo.tar.gz foo
tar -cf - foo.tar | 7za a -si -mx=9 foo.tar.7z
7za a -t7z -mx=9 -mfb=273 -ms -md=31 -myx=9 -mtm=- -mmt -mmtf -md=1536m -mmf=bt3 -mmc=10000 -mpb=0 -mlc=0 foo.7z foo.tar
sudo nmap -n -PN -sT -sU -p- 10.1.100.123
## shadowsocks
ss-local -s <HOST> -p 8388 -k "<PASSWORD>" -m aes-256-gcm -l 1088
## ssh
View build.list
audio/clementine-player
devel/git-lite
dns/bind-tools
dns/opendnssec
editors/vim-console
emulators/virtualbox-ose
irc/hexchat-fish
irc/irssi
irc/weechat-otr
irc/znc
View gist:bade435227d566f293e77c694bed31ec
pkg install git-lite vim-console tmux secadm secadm-kmod
git clone --single-branch --branch master https://github.com/hardenedbsd/hardenedbsd-ports/ /usr/ports/
git clone --depth=1 --single-branch --branch hardened/12-stable/master https://github.com/hardenedbsd/hardenedbsd-stable/ /usr/src
View gist:6c4b5065fcf22264e882c74c83848741
ps afx | grep defunct -B 1 | grep -Eo "[0-9]{3,}" | xargs kill -9
View dmesg.folsom
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE-p1 #0 r324151: Sun Oct 1 17:16:52 UTC 2017
root@folsom.segfault.pw:/usr/obj/usr/src/sys/FOLSOM amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
VT(efifb): resolution 800x600
CPU: Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz (2592.12-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x506e3 Family=0x6 Model=0x5e Stepping=3
View keybase.md

Keybase proof

I hereby claim:

  • I am aaronky on github.
  • I am aaronkaufman (https://keybase.io/aaronkaufman) on keybase.
  • I have a public key ASDCQJtvVKCb_cs1XPk3Lv5YqXLz14dOMDgh7sL9nbuEmgo

To claim this, I am signing this object:

View signal_fingerprint.txt
05 32 4a 0b c2 38 93 16 c9 4a 09 19 4d d6 bc c4 4b c9 6a 23 35 c0 0d b8 8c e6 5d de 09 34 43 31 2e
View keybase.md

Keybase proof

I hereby claim:

  • I am aaronky on github.
  • I am kaufman (https://keybase.io/kaufman) on keybase.
  • I have a public key whose fingerprint is FAD3 DA43 4179 8532 D9CF ED1F 6302 B8F0 346C D369

To claim this, I am signing this object:

You can’t perform that action at this time.