Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer, CISSP austinsonger

🙃
Localhost
View GitHub Profile
@pwntoken
pwntoken / osx_pentest_prefs.sh
Last active January 5, 2020 06:33
OSX Penetration Test Preferences Lab Setup
# 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)"
@kremalicious
kremalicious / tor-openvpn.sh
Last active July 6, 2025 23:21
Install and configure Tor as proxy for all OpenVPN server traffic
# what we want:
# client -> OpenVPN -> Tor -> Internet
# Install & configure OpenVPN
# https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04
# assumed OpenVPN configuration
# 10.8.0.1/24-Subnet
# tun0-Interface
@bjh1977
bjh1977 / CreateAADApplication.ps1
Last active October 25, 2020 05:33
Create AAD Application, Azure Key Vault, Azure Key Vault Key, Rights to Vault from Application (created for use with Extensible Key Management Using Azure Key Vault (SQL Server))
param (
[string]$Version = $( Read-Host "Input version" ),
[string]$DomainName = $( Read-Host "Input domain name" ),
[string]$ApplicationName = $( Read-Host "Input application name" )
)
$ApplicationURI = $("https://$DomainName/$ApplicationName")
@real666maverick
real666maverick / Dockerfile.centos7-systemd
Last active October 7, 2021 22:45
inhuman playing with systemd (fedora and centos supported)
FROM centos:latest
# based on http://developers.redhat.com/blog/2014/05/05/running-systemd-within-docker-container/
MAINTAINER maverick <[email protected]>
RUN yum -y update; yum clean all
RUN yum -y install systemd; yum clean all; \
(cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
@windyinsc
windyinsc / createinstallmedia.md
Last active May 15, 2025 02:25
Create a bootable installer for macOS

Create a bootable installer for macOS

The following instructions were predominantly sourced via this Apple Support Document.

With macOS, you can use a USB flash drive or other removable media as a startup disk from which to install macOS. These advanced steps are intended primarly for system administrators and others who are familiar with the command line.

The final executable command(s) are found within Section III. Final macOS Executable Commands labled as Full Example or Full Example w/Options. I personally use the w/Options command which include both the --nointeraction and &&say Installation commands.

I. Overview

@NatWeiss
NatWeiss / makefile
Last active December 23, 2019 17:26
Linux setup makefile
user:
# setup .inputrc for faster tab completion
echo "set completion-ignore-case on" > ~/.inputrc
# create aliases
rm -f .bash_aliases
wget https://gist.githubusercontent.com/NatWeiss/ed2129061935fea0ee004cd360c0b708/raw/.bash_aliases
# update packages
sudo apt-get update --allow-releaseinfo-change
sudo apt-get dist-upgrade --fix-missing
sudo apt-get autoremove
@WPCount
WPCount / header.php
Last active January 14, 2020 05:58
Remove Blog Title and Description https://wp.me/p88Pg9-fw
<h1 class="blogtitle">
<a href="<?php echo get_option('home'); ?>/">
<?php bloginfo('name'); ?></a></h1>
<p class="desc"><?php bloginfo('description'); ?></p>
display:none;
@jivoi
jivoi / offsec.md
Last active June 18, 2025 14:53
Penetrating Testing/Assessment Workflow

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

@rizky
rizky / azure-powershell-cheatsheet.ps1
Last active March 22, 2021 15:04
Azure Powershell Cheatsheet
# To log in to Azure Resource Manager
Login-AzureRmAccount
# You can also use a specific Tenant if you would like a faster log in experience
# Login-AzureRmAccount -TenantId xxxx
# To view all subscriptions for your account
Get-AzureRmSubscription
# To select a default subscription for your current session.
# Description: Sets Azure AD Connect Password Write Back AD Permissions
# Created by: Jan Vidar Elven, Enterprise Mobility MVP, Skill AS
# Last Modified: 01.06.2016
# Run this on-premises for your domain/forest
Import-Module ActiveDirectory
#region Initial Parameters/Variables
# Domain Controller in wanted domain, leave blank if using current domain