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