- Download both of the scripts, and place both files on the desktop.
- Double click on the VPN.bat file
- When prompted click "Yes" to run the script as an administrative user
- Enter the connection details when prompted (VPN address, pre shared key)
- Reboot
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
# 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 |
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.
- Platforms
- iOS (iPhone/iPad)
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
<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> |
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 | |
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) |
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
<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']); |
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
# OSX for Pentesting (Mavericks/Yosemite) | |
# macOS Sierra shall be updated; | |
# This's a fork, folks - suck in the caffeine! | |
# http://pwntoken.github.io/ | |
#!/bin/sh | |
# Ask for the administrator password upfront | |
echo "Have you read through the script prior to running this? (y or 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
# XCode Command Line Tools | |
xcode-select --install | |
# Install Homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo PATH=/usr/local/bin:/usr/local/sbin:$PATH >> ~/.bash_profile | |
source ~/.bash_profile | |
brew tap homebrew/versions |
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 | |
apt-get update -y | |
apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common |
OlderNewer