Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/go-laeo/wpasupplicant

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/go-laeo/wpasupplicant

  • v0.0.0-20210828123511-f75a768a5fa1
  • Source
  • Go
  • Socket score

Version published
Created
Source

wpasupplicant

build.yaml Go Reference golangci.yaml

Golang interface for talking to wpa_supplicant.

Install

go get github.com/go-laeo/wpasupplicant

Example

// Prints the BSSID (MAC address) and SSID of each access point in range:
w, err := wpasupplicant.Connect(context.Background(), "wlan0")
if err != nil {
	panic(err)
}
for _, bss := range w.ScanResults() {
	fmt.Fprintf("%s\t%s\n", bss.BSSID(), bss.SSID())
}

License

Three-clause BSD. See LICENSE.txt.

Thanks

FAQs

Package last updated on 28 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc