Files
raspap-webgui/includes/wifi_functions.php
Marko Winkler 52a4acced8 Add interface validation and improve shell argument escaping
- Introduced validateInterface() to ensure only existing network interfaces are used
- Used escapeshellarg() for user-supplied interfaces in shell commands (iw, iwgetid)
- Replaced direct usage of $_POST['interface'] with validated fallback to RASPI_WIFI_AP_INTERFACE
- Improved code readability by reducing redundant assignments
2025-04-23 21:31:38 +02:00

10 KiB
Executable File