Skip to content

Instantly share code, notes, and snippets.

View nethunteros's full-sized avatar

binkybear nethunteros

View GitHub Profile
@nethunteros
nethunteros / bbnotes.MD
Last active March 18, 2024 19:09
Bash Bunny notes

Assumes were using Linux/Kali

Bash Bunny is an awesome little device by Hak5 and I wrote down a few notes to quickly get started.

First Steps

Plug in arming mode (closest to computer) Download firmware from: https://wiki.bashbunny.com/#!downloads.md Check checksum Follow instructions of placing into root of bashbunny drive/folder and eject/plug back in

@nethunteros
nethunteros / wordlist-notes.txt
Last active August 26, 2017 15:29
Notes for wordlist building
# Count number of lines in file
wc -l hash.txt
# Cut 2nd column (cracked passwords) out of pot/hash file (hash:password)
cut -d':' -f2 input.txt > output.txt
# Dedupe
awk '!seen[$0]++' wordlist.txt
# Remove blank lines
@nethunteros
nethunteros / lxc-kali.sh
Last active October 18, 2019 16:45
Build Kali container in LXC
#!/bin/bash
##########################################################################################
# (right now the lxc bridge interface isn't working with this guide)
# (still had to install lxc over this)
# This is for my testing env for building a kali template for LXC
# You may need to install additional packages.
#
##########################################################################################
# Prereqs
@nethunteros
nethunteros / apt-cache-ng.sh
Created March 12, 2017 15:51
apt-cacher-ng setup server
#!/bin/sh
# Install apt-cacher-ng
apt-get install -y apt-cacher-ng
# This will be a caching server on local network. Change IP to private or leave listening
echo "BindAddress: 0.0.0.0" >> /etc/apt-cacher-ng/acng.conf
echo "Port:3142" >> /etc/apt-cacher-ng/acng.conf
echo "PidFile: /var/run/apt-cacher-ng/pid" >> /etc/apt-cacher-ng/acng.conf
@nethunteros
nethunteros / makingbacon.MD
Last active September 5, 2019 11:11
NethunterOS and multirom for OnePlus1

Guide for Installing Multirom with Nethunter on a OnePlus 1

You may want to be able to pick between a NethunterOS (based on LineageOS) and a different ROM to seperate work from please.

Multirom allows you to pick which OS (or ROM) to load on boot (think of GRUB).

Prerequisites

  • Fastboot installed on computer (versions available for OSX/Windows/Linux)
  • OnePlus 1 (unlocked)
@nethunteros
nethunteros / setupenv
Created January 1, 2017 15:17
Easily select toolchain between 64bit and 32 bit kernel builds for Android
#/bin/bash
#
# Download toolschains:
# git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7 toolchain
# git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 -b marshmallow-release toolchain64
#
# Instructions to set toolchain for build:
# source setupenv 64
case "$1" in