Code Monkey home page Code Monkey logo

wifi-password's Introduction

WiFi-Password

People ask you for the Wi-Fi password. Answer quickly. Windows only.

Screenshot

This is inspired by same-purpose tool for macOS by @rauchg.

How to use

1. Install it

First of all, install PsGet if you don't have it yet - it's awesome module manager for PowerShell:

(new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/psget/psget/master/GetPsGet.ps1") | iex

Now, you can easily install module itself:

Install-Module WiFi-Password

2. Use it:

To get the password for the WiFi you're currently logged onto:

Show-WiFiPassword

or just

wifi-password

To get it for a specific SSID:

$ wifi-password <ssid>

To list all the stored WiFi networks:

Select-WiFi

License

MIT

wifi-password's People

Contributors

csanz avatar rreverser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wifi-password's Issues

Debian version

You didn't support Debian Linux! So I made a Debian Variant for wifi-password here:
https://github.com/Sliicy/wifipassword
The code (if you can please add to this repo to make it more complete):

#!/bin/bash

WIFI="$(iwgetid -r)"
#Create a variable called "WIFI" equal to the name of the current Network.

echo ${WIFI}
#Print out the Wi-Fi Name.

awk '/psk=/{print $NF}' /etc/NetworkManager/system-connections/${WIFI} | cut -c 5-
#Print out the saved password of this wifi and trim the results (so you don't see "psk=").

z

z

Couldn't run the command to install WIFI-Password

Thank you for the great OSS in this area.

I tried to run with the guidance in the README file. But I couldn't make it work. As soon as I ran the command as follows

> (new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1") | iex

I guess that it couldn't run on Windows 10 or newer. Could you shed light on how can we run and install it?

image

Cannot index into a null array.

When running Show-WiFiPassword under either admin or normal user I get this:

PS C:\Windows\system32> Show-WiFiPassword
Cannot index into a null array.
At C:\Users\Eric\Documents\WindowsPowerShell\Modules\WiFi-Password\WiFi-Password.psm1:5 char:69

  • $Lines | Select-String " $Name\s+: (.*)" |% { $_.Matches.Groups[ <<<< 1].Value }
    
    • CategoryInfo : InvalidOperation: (1:Int32) [], RuntimeException
    • FullyQualifiedErrorId : NullArray

Profile "key=clear" is not found on the system.

Not working

PS C:\Users\xxx> WiFi-Password

SSID : XXX
Password :
Auth type :

No password is showed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.