Skip to content

Instantly share code, notes, and snippets.

Avatar
🎣

Jordan Wright jordan-wright

🎣
View GitHub Profile
@jordan-wright
jordan-wright / main.go
Created Aug 11, 2020
Converting an ssh.PublicKey to an *rsa.PublicKey in Go
View main.go
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"encoding/pem"
"fmt"
"log"
@jordan-wright
jordan-wright / extract.sh
Last active Feb 28, 2018 — forked from PaulSec/extract.sh
Extract Java Sources from APK
View extract.sh
#!/bin/sh
# check that 7z is installed
command -v 7z >/dev/null 2>&1 || { echo >&2 "This script requires 7z. Aborting."; exit 1; }
jdgui="/opt/jd-cli"
dex2jar="/opt/dex2jar-2.0/d2j-dex2jar.sh"
if [ $# -eq 0 ]
then
@jordan-wright
jordan-wright / cryptocurrency_mining_list.txt
Last active Dec 11, 2019
Cryptocurrency Mining Domain List
View cryptocurrency_mining_list.txt
coinhive.com
coin-hive.com
jsecoin.com
static.reasedoper.pw
mataharirama.xyz
listat.biz
lmodr.biz
minecrunch.co
minemytraffic.com
crypto-loot.com
@jordan-wright
jordan-wright / sapd.py
Created Jun 19, 2016
Python script to scrape public SAPD data
View sapd.py
from bs4 import BeautifulSoup
import requests
from urlparse import parse_qs
import logging
import time
import json
from datetime import timedelta, datetime
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.poolmanager import PoolManager
import ssl
View gist:33265dc9ddcaaf1cebb79db09a6c8f8c
briankrebs
violetblue
hdmoore
travisgoodspeed
troyhunt
attritionorg
tqbf
attrc
ErrataRob
edskoudis
@jordan-wright
jordan-wright / gophish_doc.txt
Created Feb 1, 2016
A text document of gophish's user guide.
View gophish_doc.txt
Table of Contents
What is Gophish? 3
Version 3
License 3
Community Edition 3
Key Terms 3
Setup 4
Installation 4
Installing Gophish Using Pre-Built Binaries 4
@jordan-wright
jordan-wright / ForeignKeyTest.go
Last active Aug 29, 2015
Test of Gorm's Foreign Key Functionality
View ForeignKeyTest.go
package main
import (
"database/sql"
"fmt"
"time"
"github.com/jinzhu/gorm"
_ "github.com/mattn/go-sqlite3"
)
@jordan-wright
jordan-wright / original_email.html
Last active Dec 26, 2015
Files for Linkedin Intro Phishing Blog Post
View original_email.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
/*BEGIN RAPPORTIVE*/
body {
padding:0;
margin:0
View consensus.txt
<snip>
r IviazAsdNL AASW0qAJEUE0tk2UHR7BHiLUzno tILb+kHI/szC4u467eg/Z4G8UEo 2013-09-11 23:00:49 213.127.162.10 3074 0
s Exit Named Running Valid
v Tor 0.2.4.17-rc
w Bandwidth=5
p accept 80,443
r metroholografix ACEhJSRnU4ydobwjeJl+ZGKYFPY 9fsNMx/fO+VW3tn43n9f+KWy5Hc 2013-09-11 17:10:09 46.4.253.194 9001 9030
s Fast Guard Named Running Stable V2Dir Valid
v Tor 0.2.3.25
w Bandwidth=515
@jordan-wright
jordan-wright / check_hosts.py
Last active Feb 16, 2019
Fabric Botnet C&C Blog Post
View check_hosts.py
def check_hosts():
''' Checks each host to see if it's running '''
for host, result in execute(run_command, "uptime", hosts=env.hosts).iteritems():
running_hosts[host] = result if result.succeeded else "Host Down"
You can’t perform that action at this time.