Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@falconeta/capacitor-wifi-connect
Advanced tools
plugin used for connect the device trhought Wifi also with prefix
plugin used for connect the device trhought Wifi also with prefix
npm install @falconeta/capacitor-wifi-connect
npx cap sync
For functionality, you need to note the following:
Connect/Disconnect only works for iOS11+
prefixConnect/securePrefixConnect only works for iOS13+
Can't run in the simulator so you need to attach an actual device when building with xCode
Will ensure 'HotspotConfiguration' and 'Wifi Information' capabilities are added to your xCode project
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
checkPermission()
requestPermission()
disconnect()
getSSID()
connect(...)
prefixConnect(...)
secureConnect(...)
securePrefixConnect(...)
checkPermission() => Promise<{ value: PermissionState; }>
Returns: Promise<{ value: PermissionState; }>
requestPermission() => Promise<{ value: PermissionState; }>
Returns: Promise<{ value: PermissionState; }>
disconnect() => Promise<{ value: boolean; }>
Returns: Promise<{ value: boolean; }>
getSSID() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
connect(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: ConnectState; }>
Param | Type |
---|---|
options | { ssid: string; saveNetwork?: boolean; } |
Returns: Promise<{ value: ConnectState; }>
prefixConnect(options: { ssid: string; saveNetwork?: boolean; }) => Promise<{ value: ConnectState; }>
Param | Type |
---|---|
options | { ssid: string; saveNetwork?: boolean; } |
Returns: Promise<{ value: ConnectState; }>
secureConnect(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: ConnectState; }>
Param | Type |
---|---|
options | { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; } |
Returns: Promise<{ value: ConnectState; }>
securePrefixConnect(options: { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; }) => Promise<{ value: ConnectState; }>
Param | Type |
---|---|
options | { ssid: string; password: string; saveNetwork?: boolean; isWep?: boolean; } |
Returns: Promise<{ value: ConnectState; }>
'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'
Members | Value |
---|---|
Ok | 0 |
Denied | -1 |
Ko | -2 |
UnknowSsid | -3 |
WifiDisabled | -4 |
FAQs
plugin used for connect the device trhought Wifi also with prefix
The npm package @falconeta/capacitor-wifi-connect receives a total of 405 weekly downloads. As such, @falconeta/capacitor-wifi-connect popularity was classified as not popular.
We found that @falconeta/capacitor-wifi-connect demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.