Finishing build for bettercap

This commit is contained in:
FlUxIuS 2024-05-20 11:50:00 +02:00
parent 7b2da25b04
commit 0e9df423c5
2 changed files with 8 additions and 2 deletions

View File

@ -42,7 +42,7 @@ RUN chmod +x entrypoint.sh
RUN ./entrypoint.sh bettercap_soft_install
# Tools for Bluetooth
#RUN ./entrypoint.sh mirage_soft_install # TODO: In progress
RUN ./entrypoint.sh mirage_soft_install # TODO: In progress
# Cleaning and quitting
WORKDIR /root/

View File

@ -11,9 +11,15 @@ function mirage_soft_install() {
function bettercap_soft_install() {
goodecho "[+] Installing bettercap dependencies"
installfromnet "apt-fast update"
installfromnet "apt-fast install -y golang git build-essential libpcap-dev libusb-1.0-0-dev libnetfilter-queue-dev"
goodecho "[+] Installing bettercap software"
installfromnet "go get -u github.com/bettercap/bettercap"
[ -d /rftools ] || mkdir /rftools
cd /rftools
installfromnet "git clone https://github.com/bettercap/bettercap.git"
cd bettercap
./build.sh
make
}
# RFID package