From 0b2178717cfcfba1d2456868bfd865067b9ed803 Mon Sep 17 00:00:00 2001 From: Armando Ceballos Date: Wed, 24 May 2023 21:02:00 -0600 Subject: [PATCH] miss push --- app/Commands/Redes_wifi.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Commands/Redes_wifi.php b/app/Commands/Redes_wifi.php index 35a90f7..b1f1685 100644 --- a/app/Commands/Redes_wifi.php +++ b/app/Commands/Redes_wifi.php @@ -47,9 +47,9 @@ class Redes_wifi extends Command public function getProfilesRegex() { - /*$result = Process::run('netsh wlan show profile'); - $salidaprofiles = $result->output();*/ - $salidaprofiles = file_get_contents('profiles.txt'); + $result = Process::run('netsh wlan show profile'); + $salidaprofiles = $result->output(); + //$salidaprofiles = file_get_contents('profiles.txt'); preg_match_all("/: \s*(.*)/", $salidaprofiles, $profiles); return $profiles[1]; }