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 / security_certs.md
Last active February 6, 2020 18:06
Best Services for Security Certificate Training

Top Resources

Resource Personal Cost
Skillset Basic: Free
PluralSight $35 p/m, $299 p/y, Premium: $499 p/y
Udemy $12-$15 p/course
Cybrary Free
@subfission
subfission / arp-sorted.sh
Created March 2, 2019 00:14
Sorted ARP lookup
#!/bin/bash
# File: arp-sorted.sh
#
# Show the ARP table data in a nice and sorted fashion.
# By: subfission
#
# usage: ./arp_sorted.sh
#
case "$(uname -s 2>/dev/null)" in
#!/bin/bash
# Requires:
# 1-2 Cores
# 512-1 GB RAM
# 300+ MB HD
bold=$(tput bold)
green=$(tput setaf 2)
normal=$(tput sgr0)
@subfission
subfission / generate_passwords.sh
Last active April 23, 2019 18:42
Password Generation Automation
#!/bin/bash
# Generate random passwords for automation scripts.
#
# Author: Zach Jetson
# License: MIT
###################################
usage(){
echo "
usage: generate_password {alpha|complex|high-complex} [LENGTH]
@subfission
subfission / sshd_pam_auth_slack
Created July 7, 2019 08:50
Example SSH authentication audit to ChatOPS (Slack)
#!/bin/bash
#
# SSH auth to ChatOps (Slack)
#
# Easily customize this for your Slack service (can
# be modified to use other chat service APIs)
# Author: Zach Jetson
#
# Instructions
# -------------
@subfission
subfission / comfu.txt
Last active February 14, 2026 05:28
Command Kung Fu Reference
# Run the last command as root
sudo !!
# Serve current directory tree at http://$HOSTNAME:8000/
python -m SimpleHTTPServer
# Save a file you edited in vim without the needed permissions
:w !sudo tee %
@subfission
subfission / voices.txt
Last active July 23, 2019 15:28 — forked from mculp/voices.txt
List of voices available by the `say` command on OS X
#-----------------------------------------
# Missing ones can be downloaded from
# Preferences > Accessibility > Speech,
# clicking the voice selector
# selecting Customize.
#-----------------------------------------
Agnes en_US # Isn't it nice to have a computer that will talk to you?
Albert en_US # I have a frog in my throat. No, I mean a real frog!
Alex en_US # Most people recognize me by my voice.
@subfission
subfission / set_macos_hostname.sh
Last active September 8, 2019 08:33
Sets the hostname for Mac OS in all the various places and ways.
#!/bin/bash
#
# set_macos_hostname.sh
# Sets the hostname for Mac OS in all the various places and ways.
#
# Author: Zach Jetson
#
usage() {
printf "[!] Error: missing hostname in argument\n\n"
@subfission
subfission / addhost
Last active November 11, 2019 06:20
Add host to Pihole's static lan records
#!/usr/bin/env bash
#
# Add custom host to static lan records in Pihole
#
# Install
# 1. Add script to /usr/local/bin
# 2. chmod +x script for exec
#
# By: Zach Jetson
#
@subfission
subfission / DBtOVPN.sh
Created November 22, 2019 06:04
Dockerized Transmission over OpenVPN
sudo docker run -it --cap-add=NET_ADMIN --device /dev/net/tun --name vpn \
--dns 8.8.4.4 --dns 8.8.8.8 --restart=always \
-d dperson/openvpn-client ||
sudo docker run -it --name bit --net=container:vpn \
-d dperson/transmission
sudo docker run -it --name web -p 80:80 -p 443:443 --link vpn:bit \
-d dperson/nginx -w "http://bit:9091/transmission;/transmission"