Skip to content

Instantly share code, notes, and snippets.

View subfission's full-sized avatar
๐Ÿ‘จโ€๐Ÿ’ป
InfoSec, privacy, and programming

ั•ฯ…ะฒฦ’ฮนั•ั•ฮนฯƒฮท subfission

๐Ÿ‘จโ€๐Ÿ’ป
InfoSec, privacy, and programming
  • This is not the web page you are looking for
View GitHub Profile
@subfission
subfission / ssl-check.py
Created October 1, 2018 17:20 — forked from gdamjan/ssl-check.py
Python script to check on SSL certificates
# -*- encoding: utf-8 -*-
# requires a recent enough python with idna support in socket
# pyopenssl, cryptography and idna
from OpenSSL import SSL
from cryptography import x509
from cryptography.x509.oid import NameOID
import idna
from socket import socket
@subfission
subfission / ssl_interogate_remote.sh
Created October 2, 2018 22:05
Interrogate those darn SSL certs!
#!/bin/bash
#
# Written By Zach Jetson
# Licence: MIT
#
# Use OpenSSL to inspect the decoded SSL cert
if [ -z "$1" ]; then
printf "[!] Error: missing domain in argument\n\n"
printf "usage: ssl_remotecert domain\n\n"
printf "\tdomain\tThe domain to query for SSL certs\n\n"
@subfission
subfission / deep_whois.sh
Created October 2, 2018 22:10
You must go deeper...
#!/bin/bash
# Perform a deeper whois to get the actual registrant data
if [ -z "$1" ]; then
printf "[!] Error: missing domain in argument\n\n"
printf "usage: whois2 domain\n\n"
printf " domain\tThe domain to look up\n\n"
exit 1
fi
@subfission
subfission / check_local_tls.sh
Last active October 2, 2018 23:08
Check the local system for TLS issues
#!/bin/bash
if [ -z $(which jq) ]; then
curl -Lks "https://www.howsmyssl.com/a/check"
else
curl -Lks "https://www.howsmyssl.com/a/check" | jq '.' 2>/dev/null
fi
@subfission
subfission / create_ram_disk
Last active October 2, 2018 23:16
Load a temporary drive from extra RAM
#!/bin/bash
echo "This is only for MACOS"
echo "Creating 1GB RAM disk volume> RAMDisk"
diskutil erasevolume HFS+ 'RAMDisk' `hdiutil attach -nomount ram://2048000`
@subfission
subfission / mn-scanner.py
Created October 8, 2018 11:48 — forked from Mcostart/mn-scanner.py
Automate network scanning tasks using the nmap and masscan tools.
#!/usr/bin/python
import xml.etree.ElementTree as ET
import subprocess
import time
import os
#http://xael.org/pages/python-nmap-en.html
import nmap
def parseMasscanReport(path):
hostsPorts = {}
@subfission
subfission / tutorial
Created October 29, 2018 07:38
VMWare Fusion with External HDD
Follow this guide:
http://technologist.pro/virtualization/boot-from-external-physical-hard-drive-in-vmware-fusion
Add these lines to your .vmx files instead:
ide1:0.present = "TRUE"
ide1:0.fileName = "usb-ext-hdd.vmdk"
@subfission
subfission / yay_mojis.txt
Created November 29, 2018 06:50
Sweet Emoticons
y=๏ฝฐ( ๏พŸะด๏พŸ)๏ฝฅโˆต.
(๏พŸะ”๏พŸ)yโ”€โ”›~~
(\/) (ยฐ,,ยฐ) (\/)
(`๏ฝฅฯ‰๏ฝฅยด)
แถ˜ แต’แดฅแต’แถ…
@subfission
subfission / ticketbleed.go
Last active December 26, 2018 01:03
CVE-2016-9244
package main
// sourced from https://filippo.io/Ticketbleed
import (
"crypto/tls"
"fmt"
"log"
"strings"
"os"
@subfission
subfission / p!tc43s.md
Last active December 31, 2018 22:48
Elevator Pitches
  • Argument: IT burns money...
  • Response: Yes, IT burns money and those fumes protect the integrity of information assets and allow for business to continue around the clock.