From c2f1090390c978edcaa1f64b6f781e87f265cc15 Mon Sep 17 00:00:00 2001 From: Max Fiedler Date: Sun, 16 Feb 2025 12:02:43 +0100 Subject: [PATCH] display all possible iface modes --- wpe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpe b/wpe index 7c59cba..1b0b303 100755 --- a/wpe +++ b/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