display all possible iface modes
This commit is contained in:
parent
91db42fab9
commit
c2f1090390
2
wpe
2
wpe
@ -23,7 +23,7 @@ fi
|
||||
|
||||
# List network interfaces and their capabilities
|
||||
echo "[+] Available network interfaces and capabilities:"
|
||||
iw dev | awk '/Interface/ {iface=$2} /type/ {print " - Interface: " iface " (Mode: "$2")"}'
|
||||
iw dev | awk '/Interface/ {iface=$2} /supported interface modes/ {modes=""; getline; while ($1 ~ /^[ ]/) {modes = modes " "$1; getline}; print " - Interface: " iface " (Supported Modes:" modes ")"}'
|
||||
|
||||
# Prompt user for the network card
|
||||
while true; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user