
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@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.
FAQs
Library for connecting a Raspberry Pi to Wi-Fi (internally uses wpa_cli)
The npm package @hi-brylle/rpi-wifi-connection receives a total of 5 weekly downloads. As such, @hi-brylle/rpi-wifi-connection popularity was classified as not popular.
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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
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.