ソースを参照

miss push

master
コミット
0b2178717c
1個のファイルの変更3行の追加3行の削除
  1. +3
    -3
      app/Commands/Redes_wifi.php

+ 3
- 3
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];
}


読み込み中…
キャンセル
保存