Skip to content

Instantly share code, notes, and snippets.

Kamal kamaljoshi

Block or report user

Report or block kamaljoshi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kamaljoshi
kamaljoshi / check_cloudflare.rb
Last active May 27, 2017
This script collects domains from your Chrome history for the default profile and checks to see if they are being proxied through Cloudflare by checking presence of a header.
View check_cloudflare.rb
# Except sqlite3 all the libraries are standard that should be present with a Ruby installation.
# If you don't have sqlite3 installed. Use `gem install sqlite3`
require 'fileutils'
require 'sqlite3'
require 'uri'
require 'net/http'
require 'set'
require 'thread'
You can’t perform that action at this time.