File: ap.cap

package info (click to toggle)
bettercap-caplets 0%2Bgit20240106-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,028 kB
  • sloc: javascript: 2,112; sh: 29; makefile: 8; python: 1
file content (24 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# interface to use to create the AP
set wifi.ap.interface wlx00c0ca96e4b2
# interface for upstream connectivity, comment to disable
set wifi.ap.upstream wlp1s0
# comment to create a free access point
set wifi.ap.passphrase 12345678

# enable the ap
wifi.ap on

# wait 2 seconds then set the session interface to the AP one
sleep 2
iface wlx00c0ca96e4b2

set net.sniff.local true
set net.sniff.verbose false
set net.sniff.filter not arp and not udp port 53

# start recon for clients
net.recon on
# sniff
net.sniff on
# run the https-ui caplet because it's cool
https-ui