termux/termux-root-packages

Bettercap ip error

H4ck3r404 opened this issue · 6 comments

I'm having this error:


| |__ | || | ___ _ __ ___ __ _ _ __
| '
\ / _ \ | / _ \ '/ / ` | '
| |) | __/ || || / | | (| (| | |) |
|
./ _|_|__
|| ____,| .__/
|
| v1.6.2
http://bettercap.org/

[I] Starting [ spoofing:✔ discovery:✔ sniffer:✘ tcp-proxy:✘ udp-proxy:✘ http-proxy:✘ https-proxy:✘ sslstrip:✘ http-server:✘ dns-server:✘ ] ...

[E] '' is not a valid IP or MAC address.
How should I fix it?

What did you run to get this error?

sudo bettercap
(Sudo from https://gitlab.com/st42/termux-sudo)

For instalation:
gem install bettercap

update
I've tried this script from bettercap website before installing from gem:

sudo su
mount -o rw,remount /
mkdir -p /home/builder/.termux-build/_cache/18-arm-21-v2/bin/
ln -s which pkg-config /home/builder/.termux-build/_cache/18-arm-21-v2/bin/arm-linux-androideabi-pkg-config

For instalation:
gem install bettercap

Uninstall bettercap through gem and install it from the root repo instead with

gem uninstall bettercap
pkg install root-repo
apt install bettercap

And then try again. The bettercap from gem isn't patched to work in termux

Thanks.