浏览代码

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


正在加载...
取消
保存