jayofelony / pwnagotchi-bullseye

(⌐■_■) - Deep Reinforcement Learning instrumenting bettercap for WiFi pwning.
https://pwnagotchi.ai/
Other
240 stars 27 forks source link

update iface_channels to not try to add non integers to channel array #80

Closed Sniffleupagus closed 7 months ago

Sniffleupagus commented 8 months ago

Catch errors if something other than an integer is added to the channels.

Description

Motivation and Context

This fixes the problem on bookworm. The iw output has other stuff that gets past the grep.

How Has This Been Tested?

Types of changes

Checklist: