Skip to content

Instantly share code, notes, and snippets.

View konklone's full-sized avatar

Eric Mill konklone

View GitHub Profile
@konklone
konklone / nagw-eric-mill-https-2015.md
Created October 7, 2015 00:33
Links and resources from Eric Mill's talk on HTTPS in .gov, given at NAGW 2015.

HTTPS for .gov

Talk given by Eric Mill at the National Association of Government Web Professionals (NAGW) 2015 conference in Albuqerque, New Mexico.

Resources

Domain Base Domain Base Domain Info Redirects Externally Redirects To Subdomain HTTP Status Code Matched Wildcard DNS
pulse.cio.gov cio.gov General Services Administration False False 200 False
test.pulse.cio.gov cio.gov General Services Administration False True 301 False
02374039.nps.gov nps.gov Department of the Interior False False 404 False
nihweb5.cit.nih.gov nih.gov Department of Health And Human Services False False 400 False
023.nihweb5.cit.nih.gov nih.gov Department of Health And Human Services False False 400 False
025qgdxr67.abandonedmines.gov abandonedmines.gov Department of the Interior False False 409 True
abc.025qgdxr67.abandonedmines.gov abandonedmines.gov Department of the Interior False False 409 True
@konklone
konklone / index.htm
Created July 17, 2015 19:56
michellessewingroom.com snippet I added
<!--
Added by Eric, 2015-07-17.
Replace all of this on future edits, after the <head> tag.
-->
<!-- Remove the original "Page Title" boilerplate <title> in any future exports. -->
<title>Michelle's Sewing Room</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
@konklone
konklone / remaining.json
Created July 11, 2015 22:33
youtube and ig accounts from the LOC
"C001056": [
"http://instagram.com/johncornyn"
],
"F000448": [
"http://www.youtube.com/RepTrentFranks"
],
"G000562": [
"http://www.youtube.com/channel/UC7Vi5vAFb7piu_BNwrYDBxQ"
],
"L000569": [
@konklone
konklone / domains-from-legislators.rb
Created July 11, 2015 21:35
get domains from legislators file
#!/usr/bin/env ruby
require 'yaml'
require 'csv'
require 'uri'
legislators = YAML.load_file("legislators-current.yaml")
CSV.open("house.csv", "w") do |house|
@konklone
konklone / curl.md
Last active August 29, 2015 14:24
Running cURL against ttbonline.gov

The below logs are from running cURL on Ubuntu 14.04 LTS, against https://www.ttbonline.gov. The results are the same whether or not --head is used.

Output

Running curl with the default options:

$ curl --head --verbose https://www.ttbonline.gov

* Rebuilt URL to: https://www.ttbonline.gov/
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
arpc.afrc.af.mil
www.uscg.mil
erecruit.nga.mil
arpcmt1.afrc.af.mil
arpcmt2.afrc.af.mil
arpcmt3.afrc.af.mil
mypay.dfas.mil
mypayeaw.dfas.mil
www.fdm.army.mil
52arty-db-002v.afrc.af.mil
@konklone
konklone / injection.html
Last active November 28, 2018 06:10
southwest airlines HTTP injection
<link href="http://connected.southwestwifi.com/unb/unb.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://connected.southwestwifi.com/unb/jqr44-1.8.3.js"></script>
<script type="text/javascript">var r44_btime=new Date();var r44_smu_time=1431575257.040</script>
<script type="text/javascript" src="http://connected.southwestwifi.com/unb/unb.js"></script>