Skip to content

Instantly share code, notes, and snippets.

View PromoFaux's full-sized avatar

Adam Warner PromoFaux

View GitHub Profile
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQHhBFkcIz0BDqCrG9gTXIHlurt8z0z/l7D14VJYt/xfixF+LxMOBVrw7H0YzLWc
oOiuzz2h/hdy2DYD+yXut/uqzdcOhe7gfTe7nt1P3NXDopTgQYlVPHTKZlrMpjrz
NRp/O16UJztKIBx03KRmAmbOtUP3o02PuPCce9eRfUy1Gfa1YFWLXW2BNtim7RWn
2SUw93vLHa2KpGBd/kw/LlrZDYjAaqlYufQR/7KqDmQDdTWNMHuG+sjxTeVHmIAc
1Z1dIcRu/iixpdaQrj2AfB8z9PtWx9UFqk3LoDaYy3Xwk8YqSHBKyAegoaS3WsUP
elhCTCeClCLO7nGFsh6pJV5dx909qSZZKOPTX25SJbgAlXmyo3GNMB2a/dWFM8EO
vcc/oBU+94VMp92lqL42TI7kGnehQbJ8WpRsfxsKAVmhAL14rb34OnX/oAoHb8H7

Keybase proof

I hereby claim:

  • I am promofaux on github.
  • I am promofaux (https://keybase.io/promofaux) on keybase.
  • I have a public key ASBJ9iFXWduAYq589fEEOsAnIvyna7LZpCm1Co1acEX2CAo

To claim this, I am signing this object:

`touch /etc/pihole/badfile.file`
@PromoFaux
PromoFaux / Client.ovpn
Created March 12, 2017 22:55
VPN Server, only tunnel DNS requests on client device
client
dev tun
proto tcp
remote [REDACTED SERVER IP/DOMAIN] 1194
resolv-retry infinite
nobind
persist-key
persist-tun
key-direction 1
remote-cert-tls server
https://test.com/test.html
https://test2.com/
https://test3.com
<?php
include('data.php');
header('Content-type: application/json');
$data = array();
if (isset($_GET['summaryRaw'])) {
$data = array_merge($data, getSummaryData());
}
0 testingareallylongdomainnamethatdoesntexist.com
RESULT FROM WINDOWS:
ping doubleclick.net
Pinging doubleclick.net [192.168.1.253] with 32 bytes of data:
Reply from 192.168.1.253: bytes=32 time<1ms TTL=64
Reply from 192.168.1.253: bytes=32 time<1ms TTL=64
Reply from 192.168.1.253: bytes=32 time<1ms TTL=64
Reply from 192.168.1.253: bytes=32 time<1ms TTL=64
<?php
$domains = Array();
$log = Array();
$ipv6 = file_exists("/etc/pihole/.useIPv6");
/******* Public Members ********/
function getSummaryData() {
global $ipv6;
$domains = readInBlockList();
$log = readInLog();
Verifying that "promofaux.id" is my Blockstack ID. https://onename.com/promofaux