From 5d3fb430dd35d7a21491813d2f9fadf19a73de7c Mon Sep 17 00:00:00 2001 From: DAProgs Date: Thu, 12 Mar 2026 23:05:49 -0400 Subject: [PATCH] 2303.3 version --- network-config.sh | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/network-config.sh b/network-config.sh index 14ce738..e0bb1ee 100755 --- a/network-config.sh +++ b/network-config.sh @@ -89,17 +89,19 @@ arrow_menu() { show_status() { clear echo "" - echo "╔══════════════════════════════════════════════════════════════════════════╗" - echo "║ Network Interface Status ║" - echo "╠══════════════════════════════════════════════════════════════════════════╣" - echo "║ ║" + echo " ╔══════════════════════════════════════════════════════════════════════════╗" + echo " ║ DAProgs HoneyPot Server 2303.3 ║" + echo " ╠══════════════════════════════════════════════════════════════════════════╣" + echo " ║ Network Interface Status ║" + echo " ╠══════════════════════════════════════════════════════════════════════════╣" + echo " ║ ║" local ifaces mapfile -t ifaces < <(get_interfaces) if [ ${#ifaces[@]} -eq 0 ]; then - echo "║ No interfaces found ║" - echo "║ ║" + echo " ║ No interfaces found ║" + echo " ║ ║" else for iface in "${ifaces[@]}"; do local ip netmask gw method @@ -118,15 +120,15 @@ show_status() { method="Unknown" fi - printf "║ Interface : %-20s Mode: %-10s ║\n" "$iface" "$method" - printf "║ IP Address: %-45s ║\n" "$ip" - printf "║ Netmask : %-45s ║\n" "$netmask" - printf "║ Gateway : %-45s ║\n" "$gw" - echo "║ ║" + printf " ║ Interface : %-20s Mode: %-10s ║\n" "$iface" "$method" + printf " ║ IP Address: %-45s ║\n" "$ip" + printf " ║ Netmask : %-45s ║\n" "$netmask" + printf " ║ Gateway : %-45s ║\n" "$gw" + echo " ║ ║" done fi - echo "╚══════════════════════════════════════════════════════════════════════════╝" + echo " ╚══════════════════════════════════════════════════════════════════════════╝" echo "" echo " Use ↑ ↓ to navigate, Enter to select, Ctrl+C to exit" echo ""