Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer, CISSP austinsonger

🙃
Localhost
View GitHub Profile
@derick-montague
derick-montague / sync-github-to-bitbucket.md
Last active May 6, 2025 07:39
Sync github repo to bitbucket repo

Set up remotes

setup local repo

mkdir myrepository
cd myrepository
git init

add bitbucket remote as "origin"

param
(
[Parameter(Mandatory=$true, HelpMessage="Enter Azure Subscription name. You need to be Subscription Admin to execute the script")]
[string] $subscriptionName,
[Parameter(Mandatory=$true, HelpMessage="Provide a password for SPN application that you would create")]
[string] $password,
[Parameter(Mandatory=$false, HelpMessage="Provide a SPN role assignment")]
[string] $spnRole = "owner"
@jacqinthebox
jacqinthebox / post-install.md
Last active January 29, 2022 10:47
Post Install Ubuntu

Post Install Ubuntu 19.04 and deriviates

Update System

sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt-get install -y curl git gitk vim-nox p7zip-full \
    build-essential linux-headers-$(uname -r) \
    dkms gdebi zsh gnome-tweak-tool gparted \
    software-properties-common \
@damienstanton
damienstanton / setup.sh
Created October 24, 2017 15:29
Kali Tools
#!/bin/bash
# must be sudo, by the way
apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6 \
&& echo 'http://http.kali.org/kali kali-rolling main contrib non-free' >> /etc/apt/sources.list \
&& apt update
apt install -y acccheck ace-voip amap automater braa casefile cdpsnarf cisco-torch cookie-cadger copy-router-config dmitry dnmap dnsenum dnsmap dnsrecon dnstracer dnswalk dotdotpwn enum4linux enumiax exploitdb fierce firewalk fragroute fragrouter golismero goofile lbd maltego-teeth masscan metagoofil miranda nmap p0f parsero recon-ng smtp-user-enum snmpcheck sslcaudit sslsplit sslyze theharvester tlssled twofi urlcrazy wol-e intrace hping3
apt install -y bbqsql bed cisco-auditing-tool cisco-global-exploiter cisco-ocs doona greenbone-security-assistant hexorbase jsql lynis ohrwurm openvas-cli openvas-manager openvas-scanner oscanner powerfuzzer sfuzz sidguesser siparmyknife sqlmap sqlsus tnscmd10g unix-privesc-check yersinia
apt install -y aircrack-ng asleap bluelog blueranger bluesn
@janegilring
janegilring / Invoke-UserOffboarding.ps1
Last active July 12, 2021 17:45
Sample user offboarding runbook for Azure Automation for initiating device factory reset for all of a users devices as well as deleting the user
param(
$UserPrincipalName
)
try {
Import-Module -Name AzureAD -ErrorAction Stop
Import-Module -Name MSGraphIntuneManagement -ErrorAction Stop
@SangramChavan
SangramChavan / developer.sh
Last active December 31, 2019 23:20
Post New Ubuntu Installation
sudo apt-get update
#Essential
sudo apt-get install build-essential -y
sudo apt install yum -y
sudo apt-get install curl -y
sudo add-apt-repository ppa:plushuang-tw/uget-stable -y
sudo apt install uget -y #Installing Download Manager
sudo apt-get install firefox -y #Firefox
sudo apt-get install vlc browser-plugin-vlc -y #VLC player
@amilner42
amilner42 / .bash_aliases.sh
Created November 12, 2017 21:33
Linux Aliases
# Custom Aliases
alias vimbash='vim ~/Desktop/programming/git/linuxAliases/.bash_aliases' # Alias for editing .bash_aliases (do not copy this directly, change the path to vim ~/.bash_aliases)
alias sourcebash='source ~/.bashrc' # Alias for sourcing the .bashrc file
# Git
alias gitpassmemory="git config --global credential.helper cache --timeout=3600"
alias gitcleanall='gita.a ; git reset --hard HEAD'
alias gitcleanstage='git reset HEAD *'
alias gitinit='git init'
alias gitunstage='git reset HEAD'
@threedaymonk
threedaymonk / post-install.sh
Last active December 31, 2019 23:12
Ubuntu post-install packages
#!/bin/bash
sudo apt update
sudo apt install -y \
apt-file \
autoconf \
bison \
build-essential \
checkinstall \
@delorgedj
delorgedj / Azure_RG_Creation_With_NSG_TAGS.ps1
Created December 4, 2017 18:29
Azure ASR Powershell Script to deploy Resource Group with NSG, Vault, and Tags
##Login to Azure ARM
##This script gathers information about Azure ARM REsources
$azureAccountName ="your account"
$azurePassword = ConvertTo-SecureString "password" -AsPlainText -Force
$psCred = New-Object System.Management.Automation.PSCredential($azureAccountName, $azurePassword)
Add-AzureRmAccount -Credential $psCred
##Switch Subscriptions and set subscriptions