2017-10-27 20:40:30 +02:00
|
|
|
<?php
|
2019-08-06 21:34:58 +02:00
|
|
|
|
2019-08-07 23:21:14 +02:00
|
|
|
require('../../includes/csrf.php');
|
2019-08-06 21:34:58 +02:00
|
|
|
|
2017-10-27 20:40:30 +02:00
|
|
|
exec("ls /sys/class/net | grep -v lo", $interfaces);
|
|
|
|
echo json_encode($interfaces);
|
|
|
|
?>
|