Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer, CISSP austinsonger

🙃
Localhost
View GitHub Profile
@austinsonger
austinsonger / vpn_setup.ps1
Created March 3, 2019 02:56 — forked from dunkelstern/vpn_setup.ps1
VPN Setup script for windows powershell
# Set these to the correct values
$server_address = "vpn.example.com"
$connection_name = "VPN Connection"
$certificate_path = "certificate.p12"
$ca_cert_path = "strongswanCert.pem"
$password = ConvertTo-SecureString -String "P12 passphrase" -AsPlainText -Force
# Import machine cert
Import-PfxCertificate -FilePath $certificate_path -CertStoreLocation Cert:\LocalMachine\My\ -Password $password

Configure IPsec/L2TP VPN Clients

IPsec/L2TP is natively supported by Android, iOS, OS X, and Windows. There is no additional software to install. Setup should only take a few minutes. In case you are unable to connect, first check to make sure the VPN credentials were entered correctly.


@austinsonger
austinsonger / Safelink.ps
Created March 13, 2019 18:05
Safe Links Policy and Rule using PowerShell
@austinsonger
austinsonger / Good Security Questions.md
Last active May 20, 2019 14:25
Good Security Questions
  • What was your childhood nickname?
  • In what city did you meet your spouse/significant other?
  • What is the name of your favorite childhood friend?
  • What street did you live on in third grade?
  • What is your oldest sibling’s birthday month and year? (e.g., January 1900)
  • What is the middle name of your youngest child?
  • What is your oldest sibling's middle name?
  • What school did you attend for sixth grade?
  • What was your childhood phone number including area code? (e.g., 000-000-0000)
  • What is your oldest cousin's first and last name?
@austinsonger
austinsonger / System_Incident_Report_Example.md
Last active July 25, 2019 14:59
System Incident Report (Downtime, Outage, and etc) Template

Incident Report Example

Priority Level: Critical (1)

Report Date: YYYY-MM-DD

Priority levels are as follows (1) Critical, (2) High, and (3) Medium

Earlier this week we experienced an outage in our API infrastructure. Today we’re providing an incident report that details the nature of the outage and our response.

@austinsonger
austinsonger / Pritunl - Zero-Trust.md
Last active February 11, 2022 17:36
Pritunl - Zero-Trust

Copy, Paste, Enter (One By One)

sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list << EOF
deb https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse
EOF
sudo tee /etc/apt/sources.list.d/pritunl.list &lt;&lt; EOF
@austinsonger
austinsonger / Router Default Passwords.md
Created July 31, 2019 18:58
Router Default Passwords

Defaults Passwords

Vendor Username Password Comments
2Wire, Inc. http
360 Systems factory factory
@austinsonger
austinsonger / HTML Select Drop Down
Created July 31, 2019 19:02 — forked from frankhu-2021/HTML Select Drop Down
A dropdown list of HTML for each State
<select onChange="window.location.href=this.value">
<option>Select Your State </option>
<option value="AL">Alabama</option>
<option value="AK">Alaska</option>
<option value="AZ">Arizona</option>
<option value="AR">Arkansas</option>
<option value="CA">California</option>
<option value="CO">Colorado</option>
<option value="CT">Connecticut</option>
<option value="DE">Delaware</option>
@austinsonger
austinsonger / osx_defaults.sh
Created July 31, 2019 19:03
OSX Defaults to setup a brand new machine
#!/usr/bin/env bash
echo "Need to recapture iTerm settings"
exit -1
# TODO: Need to figure out the settings for the following:
# 1) Finder: Left nav, favorite items with their order
# 2) Dock: Items with order
# 3) Security & Privacy Preferences: Full Disk Access, Camera, Microphone
# 4) Login items for my user (i.e. apps started when I login)
<html>
<head>
<title>Welcome to Public WiFi</title>
</head>
<body>
<h1>Welcome to Public WiFi</h1>
<?php
$base_grant_url = urldecode($_GET['base_grant_url']);
$user_continue_url = urldecode($_GET['user_continue_url']);