Skip to content

Instantly share code, notes, and snippets.

View gist:eccab7459a436999a90faafa0e3eeec7
curl -s https://www.cloudflare.com/ips-v4/ | grep -v pre
103.22.200.0/22
103.31.4.0/22
104.16.0.0/12
108.162.192.0/18
131.0.72.0/22
141.101.64.0/18
162.158.0.0/15
172.64.0.0/13
173.245.48.0/20
@xxdesmus
xxdesmus / producteev{.}io_Phish.txt
Last active Sep 24, 2016
producteev{.}io phishing email
View producteev{.}io_Phish.txt
producteev{.}com is the real domain. This email references producteev{.}io
Domain Name: PRODUCTEEV{.}COM
Registrar: DOMAIN.COM, LLC
Sponsoring Registrar IANA ID: 886
Whois Server: whois.domain.com
Referral URL: http://www.domain.com
Name Server: NS-1234.AWSDNS-26.ORG
Name Server: NS-1604.AWSDNS-08.CO.UK
Name Server: NS-473.AWSDNS-59.COM
View 192.175.111.254.txt
GET / HTTP/1.1
GET / HTTP/1.1
GET / HTTP/1.1
GET / HTTP/1.1
GET / HTTP/1.1
GET / HTTP/1.1
GET / HTTP/1.1
GET / HTTP/1.1
GET / HTTP/1.1
GET / HTTP/1.1
View out.txt
/var/log/nginx/access.log:XForwardedFor: 91.121.31.52 RemoteAddr: 91.121.31.52 LocalTime: [18/Aug/2016:23:36:50 -0400] Host: canhazip.com Request: "POST /login/?login_only=1 HTTP/1.1" Status: 405 BodyBytes: 166 Referer: "-" UA: "Railgun/5.3.0" Country: FR RequestLength: "417" RayID: 2d4a9044ec7c2bf4-AMS
/var/log/nginx/access.log:XForwardedFor: 91.121.31.52 RemoteAddr: 91.121.31.52 LocalTime: [18/Aug/2016:23:36:52 -0400] Host: canhazip.com Request: "POST /login/?login_only=1 HTTP/1.1" Status: 405 BodyBytes: 166 Referer: "-" UA: "Railgun/5.3.0" Country: FR RequestLength: "417" RayID: 2d4a904cb53500dd-AMS
/var/log/nginx/access.log:XForwardedFor: 91.121.31.52 RemoteAddr: 91.121.31.52 LocalTime: [18/Aug/2016:23:36:55 -0400] Host: canhazip.com Request: "POST /login/?login_only=1 HTTP/1.1" Status: 405 BodyBytes: 166 Referer: "-" UA: "Railgun/5.3.0" Country: FR RequestLength: "417" RayID: 2d4a9060e5e92c4e-AMS
/var/log/nginx/access.log:XForwardedFor: 91.121.31.52 RemoteAddr: 91.121.31.52 LocalTime: [18/Aug/2016:23:
View gist:bd7bdcbcc172e7049d1e16b04e508b88
Should In-House Lawyers Use Slack?
The workplace messaging service Slack is generating lots of buzz these days, with The New York Times declaring it the “app that may finally sink email.” But should legal departments use the software? Some general counsel say that giving advice over a chat platform isn’t much different than email. But other legal department leaders are approaching Slack cautiously, citing concerns over privacy and a general preference to give legal advice face-to-face.
Slack and other messaging apps, which allow real-time chat among employees throughout the workday, have gained popularity in the workplace in the past few years. Like email, the technology can also archive and search conversations. In addition to Slack, big players in the space include HipChat, Yammer (a Microsoft subsidiary) and Google Hangouts.
Ken Carter, the general counsel of the San Francisco-based web performance and security company CloudFlare Inc., said that for security reasons his team prefers HipChat. Companies t
@xxdesmus
xxdesmus / gist:8548677
Last active Jan 4, 2016
Hacker News HTTP -> HTTPS
View gist:8548677
curl -v -o /dev/null http://news.ycombinator.com
* About to connect() to news.ycombinator.com port 80 (#0)
* Trying 198.41.190.47...
* Connected to news.ycombinator.com (198.41.190.47) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: news.ycombinator.com
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
View to_do.md

Home

  • Milk
  • Toilet paper

CloudFlare

  • hand off GWT ticket to Josh D.
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@xxdesmus
xxdesmus / new_gist_file
Created May 28, 2013
DigitalOcean + sixxs.net = IPv6, but it's a little bit slow.
View new_gist_file
root@ipv6test:~# traceroute6 canhazip.com
traceroute to canhazip.com (2400:cb00:2048:1::8d65:74a9) from 2607:f878:fe00:96::2, 30 hops max, 24 byte packets
1 gw-151.lax-02.us.sixxs.net (2607:f878:fe00:96::1) 12.376 ms 12.151 ms 12.168 ms
2 uslax02.sixxs.net (2607:f878:3:400::2) 12.239 ms 12.267 ms 12.205 ms
3 2607:f878:3:a::1 (2607:f878:3:a::1) 13.195 ms 13.237 ms 13.167 ms
4 2607:f878::1d0 (2607:f878::1d0) 13.192 ms 12.911 ms 12.862 ms
5 2400:8800:7f02::1 (2400:8800:7f02::1) 151.405 ms 234.243 ms 263.046 ms
6 2001:504:13::150 (2001:504:13::150) 76.241 ms 72.099 ms 71.913 ms
7 ae3-50g.cr1.lax1.us.nlayer.net (2001:590::451f:7c71) 81.133 ms 88.084 ms 79.429 ms
8 ae1-50g.ar1.lax1.us.nlayer.net (2001:590::451f:7f8a) 77.019 ms 74.702 ms 75.187 ms
@xxdesmus
xxdesmus / gist:72e9254963ebea33a0d2
Created Nov 28, 2015 — forked from sethkinast/gist:5914577
Tiny script to grab Tor exitnodes and ban them via CloudFlare's API
View gist:72e9254963ebea33a0d2
#!/bin/bash
SERVERS=(108.162.196.125 108.162.197.125)
for server in ${SERVERS[*]}
do
echo "Now processing $server"
wget --timeout=10 -t1 -O tor.txt https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=$server
for ip in `tail -n +4 tor.txt`