瀏覽代碼

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


Loading…
取消
儲存