Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer, CISSP austinsonger

🙃
Localhost
View GitHub Profile
sudo apt update -y
sudo apt list --upgradable -a
sudo apt upgrade -y
sudo dpkg --configure -a
sudo apt install -f
sudo apt update --fix-missing
sudo apt --fix-broken install -y
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y
sudo apt install ubuntu-restricted-extras -y
sudo add-apt-repository universe
wget https://github.com/gophish/gophish/releases/download/0.7.1/gophish-v0.7.1-linux-64bit.zip
apt install zip
sudo unzip gophish-v0.7.1-linux-64bit.zip -d /opt/gophish
ls /opt/gophish
config.json db gophish LICENSE README.md static templates VERSION
@austinsonger
austinsonger / kalidocker.sh
Last active January 11, 2020 03:43
Kali Docker Setup
#!/bin/bash
# Author: Stephen Haywood
# Last Modified: 2016-10-13
#
# Copyright AppSec Consulting, Inc.
# All rights reserved.
# Apply the latest updates to the host box.
sudo apt-get update
@austinsonger
austinsonger / Install-pentest-setup.sh
Last active January 16, 2020 23:54
Install Pentest Setup
#!/bin/bash
read -p "[*]Please enter your username, this will help me fix permissions:" myname
clear
echo "[*]what would be your prefered directory name for the tools? the tools will be installed in /opt/nameyouchose"
clear
read -p "[*]Please enter the directory name you would like:" mydirectory
clear
## Ubuntu Install 18+
@austinsonger
austinsonger / deb2kali.sh
Last active January 17, 2020 05:43
Debian-Based 2 Kali Linux
sudo -n true
apt-get -y update
gpg --keyserver pgpkeys.mit.edu --recv-key ED444FF07D8D0BF6
apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6
gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
# echo deb http://http.kali.org/kali kali-rolling main non-free contrib >> /etc/apt/sources.list
# echo deb http://http.kali.org/kali kali-rolling main contrib non-free >> /etc/apt/sources.list
# echo deb http://http.kali.org/kali sana main non-free contrib >> /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali sana main non-free contrib
# deb-src http://security.kali.org/kali-security sana/updates main
@austinsonger
austinsonger / install.sh
Last active January 23, 2020 00:59
Install Penetration Testing Setup
#!/bin/bash
apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get remove -y --purge rhythmbox ekiga totem transmission-gtk thunderbird apport
export DEBIAN_FRONTEND=noninteractive
apt-get install -yq aptitude vlan reaver pyrit thc-ipv6 netwox nmap phantomjs nbtscan wireshark-qt tshark vlan dsniff tcpdump openjdk-8-jre p7zip openvpn libwebkitgtk-1.0-0 libssl-dev libmysqlclient-dev libjpeg-dev libnetfilter-queue-dev ettercap-text-only ghex pidgin pidgin-otr traceroute lft gparted autopsy subversion git gnupg htop ssh libpcap0.8-dev libimage-exiftool-perl aptitude p7zip-full proxychains curl terminator hydra hydra-gtk medusa irssi gnome-tweak-tool libtool build-essential rdesktop sshfs bzip2 extundelete rpcbind nfs-common gimp iw ldap-utils ntfs-3g samba-common samba-common-bin steghide whois aircrack-ng gnome-screenshot eog laptop-mode-tools openconnect gengetopt byacc flex cmake ophcrack gdb stunnel4 socat chromium-browser swftools hping3 tcpreplay tcpick gufw xtightvncviewer scalpel foremost un
@austinsonger
austinsonger / algovpn-rh.sh
Last active January 19, 2020 17:45
Setup Algo VPN (Redhat-Based System)
sudo yum -y update && sudo yum -y upgrade
sudo yum -y install centos-release-SCL
sudo yum -y install \
openssl-devel \
libffi-devel \
automake \
gcc \
gcc-c++ \
kernel-devel \
rh-python36-python \
# 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