| Resource | Personal Cost |
|---|---|
| Skillset | Basic: Free |
| PluralSight | $35 p/m, $299 p/y, Premium: $499 p/y |
| Udemy | $12-$15 p/course |
| Cybrary | Free |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Requires: | |
| # 1-2 Cores | |
| # 512-1 GB RAM | |
| # 300+ MB HD | |
| bold=$(tput bold) | |
| green=$(tput setaf 2) | |
| normal=$(tput sgr0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Generate random passwords for automation scripts. | |
| # | |
| # Author: Zach Jetson | |
| # License: MIT | |
| ################################### | |
| usage(){ | |
| echo " | |
| usage: generate_password {alpha|complex|high-complex} [LENGTH] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 | |
| # ------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 % |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #----------------------------------------- | |
| # 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |