Skip to content

A macOS Bash script that retrieves and displays WiFi network information. It also generates a QR code for easy WiFi access sharing, making it simple to connect guests to your network.

Notifications You must be signed in to change notification settings

Ctorum/showpass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ShowPass

ShowPass is a Bash script that retrieves and displays WiFi network information, including the SSID, password, and security type. It also generates a QR code for easy WiFi access sharing.

Features

  • Retrieves current WiFi SSID
  • Fetches the WiFi password from the system keychain
  • Determines the WiFi security type
  • Generates a QR code for quick WiFi access sharing
  • Displays network information in the terminal

Requirements

  • macOS (the script uses macOS-specific commands)
  • qrencode (installed automatically if not present)

Installation

  1. Clone this repository:
git clone https://github.com/ctorum/showpass.git
  1. Navigate to the cloned directory:
cd showpass
  1. Make the script executable:
chmod +x showpass.sh
  1. (Optional) Install globally for easier access:
sudo cp showpass.sh /usr/local/bin/showpass

Now you can run showpass from any directory in the terminal.

Usage

Run the script from the terminal:

showpass

If you didn't install it globally, run it from the directory where it's located:

./showpass.sh

The script will:

  1. Check if qrencode is installed and install it if necessary.
  2. Retrieve and display the current WiFi SSID, password, and security type.
  3. Generate and display a QR code in the terminal for easy WiFi sharing.

Note

This script requires administrative privileges to access WiFi information. You may be prompted to enter your password when running the script.

About

A macOS Bash script that retrieves and displays WiFi network information. It also generates a QR code for easy WiFi access sharing, making it simple to connect guests to your network.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages