Skip to content

Instantly share code, notes, and snippets.

View glamrock's full-sized avatar
🐝
hacking on things at Berkman <3

Griffin Boyce glamrock

🐝
hacking on things at Berkman <3
View GitHub Profile
@glamrock
glamrock / tor-up.sh
Last active April 5, 2016 22:06
cron job to detect if tor is up and if it isn't, to start the process
#!/bin/bash
# 10/10 janky af
time=$(date)
tor=$(tor runasdaemon 1)
if pgrep -x "tor" > /dev/null
then echo "$time" >> torlogup.txt
else
$tor #run tor
1 0.0.0.0
871 103.35.120.63
733 104.40.14.194
4 108.45.93.68
373 113.10.156.64
341 113.28.44.14
28 122.174.234.198
1 131.100.77.82
5 140.247.0.128
11 181.214.92.11
@glamrock
glamrock / doublecheck.sh
Created March 10, 2016 22:06
Check if list of sites are up or down
#!/bin/bash
# Down verification via dns/dig by Griffin ^_^
# basically the same thing as before, just running the "down" sites through dig
# to make sure they are really not available. Sites that pass this test
# are placed in a third site category, as they may be unavailable or blocked in
# the test location, but have defined nameservers in DNS records.
readarray -t array < sitesdown.txt
for i in "${array[@]}"
@glamrock
glamrock / enig-old-sha.txt
Last active March 22, 2016 20:32
shananigans
a4d59dfba0460aa256f70990d1e3388e496edca34b9a5bca65002cd933cd84c9 enigmail-0.49.5.xpi
07f25cdef27774aa7788caf9877c2f7dff1ee3a5dd49086a939fb1add43c8a37 enigmail-0.62.4.xpi
e44fe625191dfc2620e4fa718f6c8acb6fdda4bc9b068ee6dc385f98adb2d455 enigmail-0.63.3.xpi
70145aba2caa2a5bcbd125e59e9a61fd475c8c9591e6abfae64fdd5facdf5812 enigmail-0.65.1.xpi
bf67795227b3934480883a8ebd9f4349f7d38828012fceb990622a1eb2b3ba63 enigmail-0.65.2.xpi
2b15c5eea74ce414820ed2aeba32a2b1766d143ec6ec6b2ae99a8e1ea98287f6 enigmail-0.70.0.xpi
1436f5ca1916b31542d0e4e2b431d3b21f5b1714d72d8cebd8aaa5c6e454f250 enigmail-0.71.0.xpi
2f2f185625d6426621d1c320a57c46c620b43d51e855fadd01854987e9e28611 enigmail-0.72.0.xpi
40a826a35577057b640827c255adf29fa4819881f1ed9f99433888559818e329 enigmail-0.73.1.tar.gz
a1ae9e81c45a07cc82975b6b72b7af05e3dc6daebc6e4514e784252e82dc34ec enigmail-0.74.3.xpi
ServerTransportListenAddr obfs3 0.0.0.0:55132
ServerTransportListenAddr obfs4 0.0.0.0:56880
ServerTransportPlugin obfs3,obfs4 exec /usr/bin/obfs4proxy
Log notice file /var/log/tor/notices.log
Log debug file /var/log/tor/debug.log
MaxMemInQueues 360 MB
RunAsDaemon 1
@glamrock
glamrock / cd573.csv
Last active February 12, 2016 20:57
CF sites in Alexa top 573 (derp whois ratelimit)
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 5.
170,reimageplus.com,Registration Private,"Domains By Proxy, LLC","[u'abuse@godaddy.com', u'REIMAGEPLUS.COM@domainsbyproxy.com']","[u'AMANDA.NS.CLOUDFLARE.COM', u'COBY.NS.CLOUDFLARE.COM']",
171,txxx.com,WHOISGUARD PROTECTED,"WHOISGUARD, INC.","[u'AA230AF9D75E451B9A4F1F54A4205384.PROTECT@WHOISGUARD.COM', u'abuse@enom.com']","[u'GABE.NS.CLOUDFLARE.COM', u'KAY.NS.CLOUDFLARE.COM']",
175,taringa.net,Domain Administrator,"CSC Corporate Domains, Inc.","[u'domainabuse@cscglobal.com', u'admin@internationaladmin.com', u'dns-admin@cscglobal.com']","[u'APOLLO.NS.CLOUDFLARE.COM', u'BARBARA.NS.CLOUDFLARE.COM', u'barbara.ns.cloudflare.com']",
176,nametests.com,Registration Private,"Domains By Proxy, LLC","[u'abuse@godaddy.com', u'NAMETESTS.COM@domainsbyproxy.com']","[u'IRIS.NS.CLOUDFLARE.COM', u'PHIL.NS.CLOUDFLARE.COM']",
179,gfycat.com,Domain Admin,Whois Privacy Corp.,"[u'abuse@internet.bs', u'5428e9e7srv9pesd@5225b4d0pi3627q9.whoisprivacycorp.com', u'5428e9e7hpkb6k8m@5225b4d0pi3627q9.whoisprivacycorp.com', u'5428e9e7hwtv8e
@glamrock
glamrock / cf-ns3.txt
Last active February 12, 2016 21:12
CF nameservers
ABBY.NS.CLOUDFLARE.COM
ADEL.NS.CLOUDFLARE.COM
ADI.NS.CLOUDFLARE.COM
AHLIA.NS.CLOUDFLARE.COM
ALI.NS.CLOUDFLARE.COM
ALICE.NS.CLOUDFLARE.COM
ALINA.NS.CLOUDFLARE.COM
AMANDA.NS.CLOUDFLARE.COM
AMY.NS.CLOUDFLARE.COM
ANNA.NS.CLOUDFLARE.COM
@glamrock
glamrock / gist:d249678528dcdc8716a2
Created July 19, 2015 06:46
Random upvote scripts etc
$('[title=like]').not('.pushed').click();
magnet:?xt=urn:btih:51603bff88e0a1b3bad3962614978929c9d26955&dn=Hacked%20Team&tr=udp%3A%2F%2Fcoppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2710%2Fannounce&tr=http%3A%2F%2Fmgtracker.org%3A2710%2Fannounce&tr=http%3A%2F%2Fbt.careland.com.cn%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Fexodus.desync.com%3A6969&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.pomf.se&tr=udp%3A%2F%2Ftracker.blackunicorn.xyz%3A6969
## The main officially supported repository
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted
deb http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ lucid-updates main restricted
## Unsupported open source software
deb http://archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://archive.ubuntu.com/ubuntu/ lucid universe
deb http://archive.ubuntu.com/ubuntu/ lucid-updates universe