test network stuff

This commit is contained in:
Vxrtrauter
2026-02-04 03:04:24 +01:00
parent 62c6afe350
commit 990135450f
4 changed files with 25 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
from core.utils.general.logs import consoleLog
import psutil
def get_net_interfaces():
addrs = psutil.net_if_addrs()
for interface in addrs.keys():
consoleLog(f"Found Interface: {interface}")
return addrs.keys()