
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@hi-brylle/rpi-wifi-connection
Advanced tools
Library for connecting a Raspberry Pi to Wi-Fi (internally uses wpa_cli)
A wrapper library that uses wpa_cli for connecting a Raspberry Pi to Wi-Fi.
$ npm i @hi-brylle/rpi-wifi-connection
import RpiWiFiConnection from '@hi-brylle/rpi-wifi-connection';
let wifi = new RpiWiFiConnection() // "wlan0" default network interface
WifiNetwork
Type returned when scanning for available networks.
interface WiFiNetwork {
bssid: string,
frequency: number,
signal_level: number,
ssid: string
}
ConfiguredNetwork
Type returned when querying for networks previously connected to.
interface ConfiguredNetwork {
id: number,
ssid: string
}
get_status()
Returns a singleton list containing the sole SSID if device is connected or empty list if not connected.
scan_networks()
Returns a list of WifiNetwork
or empty list if nothing is detected.
get_configured_networks()
Returns a list of ConfiguredNetwork
or empty list if the RPi has never
connected to a Wi-Fi network.
connect_to_network(ssid: string, password: string)
Attempts connection with ssid
and password
input. Doesn't return anything. Use get_status()
to check whether connection attempt succeeded.
forget_network(ssid_to_forget: string)
Remove previously configured network from the RPi to prevent it from auto-connecting to that network in the future.
auto_connect_to_network(ssid: string)
Auto-connect to a previously configured network. If ssid
input doesn't
belong to the list returned by get_configured_networks()
, nothing happens.
Use get_status()
to check whether connection attempt succeeded.
disconnect_from_wifi()
Disconnect from Wi-Fi.
reconnect_to_wifi()
Reconnect to Wi-Fi. Effects may not be immediate
so call get_status()
to check connection status or
call scan_networks()
to query all available networks
after some timeout.
FAQs
Library for connecting a Raspberry Pi to Wi-Fi (internally uses wpa_cli)
We found that @hi-brylle/rpi-wifi-connection demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.