Skip to content

Instantly share code, notes, and snippets.

View austinsonger's full-sized avatar
🙃
Localhost

Austin Songer,MIS,CEH,ESCA,Project+ (Navy Veteran) austinsonger

🙃
Localhost
View GitHub Profile
@austinsonger
austinsonger / aircrack-ng.md
Created February 27, 2018 19:52
aircrack-ng Cheatsheet

To crack WEP for a given essid name and store into a file

aircrack-ng -a 1 -e -l <.cap or .ivs file(s)>

To crack WPA/WPA2 from airolib-ng database

aircrack-ng -e -r <.cap or .ivs file(s)>

To crack WPA/WPA2 from a wordlist

aircrack-ng -e -w <.cap or .ivs file(s)>

To crack a given bssid

@austinsonger
austinsonger / awk.md
Created February 27, 2018 19:52
awk cheatsheet

awk - pattern-directed scanning and processing language

if you're just looking to take columns, take a look at cut

awk normally uses 'space' as a delimiter.

To force the delimiter to a 'tab':

awk -F\t '{ print $0 }' file.txt

print full line with awk

awk -F\t '{ print $0 }' file.txt

@austinsonger
austinsonger / cewl.md
Created February 27, 2018 19:53
cewl Cheatsheet

To spider a site and write all found words to a file

cewl -w

To spider a site and follow links to other sites

cewl -o

To spider a site using a given user-agent

cewl -u

To spider a site for a given depth and minimum word length

@austinsonger
austinsonger / NYCTOMAP.bash
Created March 19, 2018 21:22
NYCTOMAP.bash
#!/bin/bash
# -*- coding: utf-8 -*-
#echo -e
#echo -e
echo -e "███╗ ██╗██╗ ██╗ ██████╗████████╗ ██████╗ ███╗ ███╗ █████╗ ██████╗ "
echo -e "████╗ ██║╚██╗ ██╔╝██╔════╝╚══██╔══╝██╔═══██╗ ████╗ ████║██╔══██╗██╔══██╗"
echo -e "██╔██╗ ██║ ╚████╔╝ ██║ ██║ ██║ ██║█████╗██╔████╔██║███████║██████╔╝"
@austinsonger
austinsonger / pis.sh
Last active January 17, 2020 06:03
Pentesting Install Script
#!/bin/bash
################################################################################
# Pentesting Install Script
# Author: Austin Songer
################################################################################
sudo -n true
apt update -y
apt list --upgradable -a
apt upgrade -y
dpkg --configure -a
@austinsonger
austinsonger / sources.list
Created December 4, 2018 03:05
Hackers and Programmers Sources
###########################################
# REPOSITORY BY HACKERS PROGRAMMERS #
###########################################
#############
# Kali Repo #
#############
deb http://http.kali.org/kali kali-rolling main non-free contrib
@austinsonger
austinsonger / New-Developer.sh
Created January 11, 2019 16:22
New Developer
#!/usr/bin/env bash
#
# Bootstrap script for new developers
#
mv "iTerm.app" /Applications/
# Install Xcode
xcode-select --install
#
@austinsonger
austinsonger / DMS.bash
Created February 19, 2019 21:00
Development MacOS Setup
#!/bin/sh
# Color Variables
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
# Ask for the administrator password upfront.
sudo -v
[Prevail-Health-Solutions][2019-02-25 04:27:41,980][ERROR] Failed to check notifications
Traceback (most recent call last):
File "/usr/lib/pritunl/local/lib/python2.7/site-packages/pritunl/runners/updates.py", line 25, in _check_updates
response = urllib2.urlopen(request, timeout=60)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", l[ 184.644342] serial8250: too much work for irq4
ine 548, in http_response

A script to add a VPN connection in Windows 10

  1. Download both of the scripts, and place both files on the desktop.
  2. Double click on the VPN.bat file
  3. When prompted click "Yes" to run the script as an administrative user
  4. Enter the connection details when prompted (VPN address, pre shared key)
  5. Reboot