From 891fda7e04f1063c3cb98ab26cfc5154f9ff6996 Mon Sep 17 00:00:00 2001 From: Griezman2003 Date: Wed, 24 May 2023 14:03:40 -0600 Subject: [PATCH] =?UTF-8?q?estructura=20no=20funcional=20de=20contrase?= =?UTF-8?q?=C3=B1as=20:(?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Commands/Redes_wifi.php | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 app/Commands/Redes_wifi.php diff --git a/app/Commands/Redes_wifi.php b/app/Commands/Redes_wifi.php new file mode 100644 index 0000000..4dd87ac --- /dev/null +++ b/app/Commands/Redes_wifi.php @@ -0,0 +1,54 @@ +scan(); + + foreach ($networks as $network) { + echo $network->name . '
'; + echo $network->strength . '
'; + // Otros datos disponibles: $network->mac, $network->encryptionType, $network->channel, etc. + echo '
'; + } + } + + /** + * Define the command's schedule. + * + * @param \Illuminate\Console\Scheduling\Schedule $schedule + * @return void + */ + public function schedule(Schedule $schedule): void + { + // $schedule->command(static::class)->everyMinute(); + } +}