Skip to content

Instantly share code, notes, and snippets.

@nicholasadamou
Last active April 15, 2018 12:05
Show Gist options
  • Save nicholasadamou/cf10162d83856c2f344a825eb44ee10f to your computer and use it in GitHub Desktop.
Save nicholasadamou/cf10162d83856c2f344a825eb44ee10f to your computer and use it in GitHub Desktop.
Updates hak5 software for bashbunny, wifi-pineapple, etc.

Update hak5 software for Kali-Pi

Here's a short shell script to quickly update hak5 software for bashbunny, wifi-pineapple, etc.

  • Run the script, like this: curl https://gist.github.com/nicholasadamou/cf10162d83856c2f344a825eb44ee10f/raw/f92b890c353a286d34b6fa1fdacf422accd9a6cd/update.sh | bash

or

  • Add as an alias, like this: alias h5u="curl https://gist.github.com/nicholasadamou/cf10162d83856c2f344a825eb44ee10f/raw/f92b890c353a286d34b6fa1fdacf422accd9a6cd/update.sh | bash"

And run the script, like this: h5u.

#!/bin/bash
x="/root/exploits/bb.sh"
if [ -e "$x" ]; then
rm -rf "$x"
fi
wget -O "$x" bashbunny.com/bb.sh
chmod +x "$x"
x="/root/exploits/wp6"
if [ -d "$x" ]; then
rm -rf "$x"
fi
git clone https://github.com/hak5darren/wp6.git "$x"
chmod +x "$x"/wp6.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment