Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Shell 

Connect to wifi Network via bash script in Windows

Hi guys, I would like to write a script that allows me to connect to a network through the shell, if you have any recommendation on how to do it I will really appreciate it.
I was thinking something like:
Scanning the available networks and printing them, then prompting the user to input which network to choose, and asking for the passphrase and then displaying a message if the connection has been established or not.
Thanks in advance
Bash scripting is generally for Unix-based systems. Batch scripting probably won't really be good in this instance. Powershell is likely your best bet scripting-wise. I'd suggest going to github (not some shady site etc.) and searching for what you want. Here's something I found by doing a quick search: hxxps://stackoverflow.com/questions/32760356/how-to-connect-to-a-wifi-in-powershell-knowing-the-ssid-and-password (replace x's in hxxps with t's).


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Shell] by Emre_Jan 12, 2021 11:16 PM 0 140 Jan 12, 2021 11:16 PM
Last Post: Emre_
[Shell] by 0u1lawJul 18, 2020 11:18 AM 1 203 Jul 18, 2020 11:18 AM
Last Post: Pernat1y
[Shell] by friiz1337Feb 6, 2020 02:37 PM 8 370 Feb 6, 2020 02:37 PM
Last Post: friiz1337