Skip to content

Instantly share code, notes, and snippets.

@mjhuber
mjhuber / create-ipset-lists.sh
Last active March 8, 2018 03:04
Block Tor - Asuswrt Merlin
#!/bin/sh
# snbforums thread:
# https://www.snbforums.com/threads/country-blocking-script.36732/page-2#post-311407
# Re-download blocklist if locally saved blocklist is older than this many days
BLOCKLISTS_SAVE_DAYS=15
# For the users of mips routers (kernel 2.x): You can now block sources with IPv6 with country blocklists
# Enable if you want to add huge country IPv6 netmask lists directly into ip6tables rules.
# Also, enabling this will add a *lot* of processing time!
@callandekeijzer
callandekeijzer / Mandelbulb
Last active April 4, 2018 20:22
3D mandelbulb generated by VEX code in houdini
//---Functions---
/*
r = sqrt(x*x + y*y + z*z )
theta = atan2(sqrt(x*x + y*y) , z)
phi = atan2(y,x)
newx = r^n * sin(theta*n) * cos(phi*n)
newy = r^n * sin(theta*n) * sin(phi*n)
@JoeUchillHill
JoeUchillHill / ISonLIST.csv
Last active April 7, 2018 20:44
ISonLIST describes overlaps. isOFFlist describes entries that do not overlap.
Host IP Address Year Month Day Implant Version OS
INTONATION tx.micro.net.pk 203.135.2.194 2000 8 17 JACKLADDER 2 sparc-sun-solaris2.7
INTONATION hakuba.janis.or.jp 210.232.42.3 2000 8 22 JACKLADDER 2 sparc-sun-solaris2.6
INTONATION mail.interq.or.jp 210.157.0.87 2000 8 24 JACKLADDER 2 sparc-sun-solaris2.6
INTONATION mx1.freemail.ne.jp 210.235.164.21 2000 8 28 JACKLADDER ? i386-pc-solaris2.7
INTONATION webnetra.entelnet.bo 166.114.10.28 2000 8 30 JACKLADDER 2 sparc-sun-solaris2.6
INTONATION opcwdns.opcw.nl 195.193.177.150 2000 9 6 JACKLADDER 2 sparc-sun-solaris2.6
INTONATION rayo.pereira.multi.net.co 206.49.164.2 2000 9 20 JACKLADDER 2 sparc-sun-solaris2.6
INTONATION most.cob.net.ba 195.222.48.5 2000 9 21 JACKLADDER 2 sparc-sun-solaris2.6
INTONATION ns.huawei.com.cn 202.96.135.140 2000 9 21 JACKLADDER 2 sparc-sun-solaris2.6
From: MIT Free Group <free@mit.edu>
Date: Wed, Sep 18, 2013 at 9:07 PM
Subject: The NSA is coming to MIT!
To: MIT Free Group <free@mit.edu>
Do you think the NSA is doing a good job of spying on Americans? Come
make your voice heard! Come to 66-144 tomorrow (Thursday, 9/19) 5:30
and participate by asking pointed questions like:
Thursday, September 5, 2013
On the NSA
Let me tell you the story of my tiny brush with the biggest crypto story of the year.
A few weeks ago I received a call from a reporter at ProPublica, asking me background questions about encryption. Right off the bat I knew this was going to be an odd conversation, since this gentleman seemed convinced that the NSA had vast capabilities to defeat encryption. And not in a 'hey, d'ya think the NSA has vast capabilities to defeat encryption?' kind of way. No, he'd already established the defeating. We were just haggling over the details.
Oddness aside it was a fun (if brief) set of conversations, mostly involving hypotheticals. If the NSA could do this, how might they do it? What would the impact be? I admit that at this point one of my biggest concerns was to avoid coming off like a crank. After all, if I got quoted sounding too much like an NSA conspiracy nut, my colleagues would laugh at me. Then I might not get invited to the cool security parties.
All of this is a
@cetanu
cetanu / dnsBlacklists.txt
Last active May 30, 2018 01:07
DNS Blacklists
b.barracudacentral.org
bl.deadbeef.com
bl.emailbasura.org
bl.spamcannibal.org
bl.spamcop.net
blackholes.five-ten-sg.com
blacklist.woody.ch
bogons.cymru.com
cbl.abuseat.org
cdl.anti-spam.org.cn
@ryandrake08
ryandrake08 / dnsmasq.conf.add
Created January 21, 2018 00:39
dnsmasq-based adblock configuration on RT-N66U running Asuswrt-Merlin
address=/0.0.0.0/0.0.0.0
addn-hosts=/jffs/dns_blocklist
@aegyed91
aegyed91 / mime.types
Last active September 18, 2018 20:48
vita.hu nginx configs
types {
# Data interchange
application/atom+xml atom;
application/json json map topojson;
application/ld+json jsonld;
application/rss+xml rss;
application/vnd.geo+json geojson;
application/xml rdf xml;

Raspberry Pi - Clean Install

A great set of video resources can be found here. Most of this setup process comes from these videos. This setup process should work fine for either a pi3 or a piZero, but the peripherals needed will change depending on which you are setting up.

Installing the OS

  1. Download the newest version of Raspbian from The Raspberry Pi Org.
  2. Download a copy of The Unarchiver to extract the Raspbian img file.
  3. Download a copy of Pi Filler from IvanX to easily flash the OS to the card.
  4. Right click on the OS zip file and open with The Unarchiver. Extracting the file to the same folder is fine.
  5. Once extracted, open up Pi Filler. Select your img file, insert your SD card, and continue through the prompts.
/******
ghacks user.js * date: 18 Feb 2017 vs pyllyukko user.js
WHAT ghacks has that pyllyukko doesn't
******/
/*** 0100: STARTUP ***/
// 0101: disable "slow startup" options
// warnings, disk history, welcomes, intros, EULA, default browser check
user_pref("browser.slowStartup.notificationDisabled", true);
user_pref("browser.slowStartup.maxSamples", 0);