mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
fix: added p2p_disabled=1 for wifi.bruteforce on linux (ref #1075)
This commit is contained in:
parent
1b91eb348b
commit
77ae56cc62
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ func wifiBruteforce(mod *WiFiModule, job bruteforceJob) (bool, error) {
|
|||
config := fmt.Sprintf(`network={
|
||||
ssid="%s"
|
||||
psk="%s"
|
||||
p2p_disabled=1
|
||||
}`, strconv.Quote(job.essid), strconv.Quote(job.password))
|
||||
|
||||
file, err := os.CreateTemp("", "bettercap-wpa-config")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue