mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2026-02-15 07:28:52 +00:00
46 lines
1.2 KiB
Bash
46 lines
1.2 KiB
Bash
#!/bin/bash
|
|
# Title: Malware Bunny
|
|
# Description: binwalk install script
|
|
# Author: Zappus
|
|
# Version: 1.0
|
|
# Category: Incident-Response
|
|
# Attackmodes: Ethernet
|
|
# Firmware: 1.5
|
|
|
|
|
|
apt-get install -y python-lzma python-crypto libqt4-opengl python-opengl python-qt4 python-qt4-gl python-numpy python-scipy python-pip mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsprogs cramfsswap squashfs-tools sleuthkit default-jdk lzop srecord zlib1g-dev liblzma-dev liblzo2-dev liblzo2-dev python-lzo
|
|
pip install cstruct
|
|
|
|
cd /tools/
|
|
git clone https://github.com/ReFirmLabs/binwalk
|
|
cd binwalk
|
|
|
|
|
|
git clone https://github.com/devttys0/sasquatch
|
|
cd sasquatch/
|
|
ls
|
|
# edit build file to fix lack of sudo error on make install
|
|
# vi build.sh
|
|
./build.sh
|
|
|
|
cd ..
|
|
git clone https://github.com/sviehb/jefferson
|
|
cd jefferson
|
|
python setup.py install
|
|
|
|
cd ..
|
|
git clone https://github.com/jrspruitt/ubi_reader
|
|
cd ubi_reader
|
|
python setup.py install
|
|
|
|
cd ..
|
|
git clone https://github.com/devttys0/yaffshiv
|
|
cd yaffshiv
|
|
python setup.py install
|
|
|
|
cd ..
|
|
wget -O - http://my.smithmicro.com/downloads/files/stuffit520.611linux-i386.tar.gz | tar -zxv
|
|
cp bin/unstuff /usr/local/bin/
|
|
|
|
python setup.py install
|