mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 17:10:26 +00:00
6 lines
127 B
PHP
6 lines
127 B
PHP
<?php
|
|
|
|
require '../../includes/csrf.php';
|
|
|
|
exec("ls /sys/class/net | grep -v lo", $interfaces);
|
|
echo json_encode($interfaces);
|