Browse Source

miss push

master
parent
commit
0b2178717c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      app/Commands/Redes_wifi.php

+ 3
- 3
app/Commands/Redes_wifi.php View File

@@ -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];
}


Loading…
Cancel
Save