mirror of
https://github.com/kunkunsh/kunkun-ext-wifi-password.git
synced 2025-04-03 18:56:43 +00:00
122 lines
2.5 KiB
JSON
122 lines
2.5 KiB
JSON
{
|
|
"$schema": "https://schema.kunkun.sh",
|
|
"name": "kunkun-ext-wifi-password",
|
|
"license": "MIT",
|
|
"version": "0.1.8",
|
|
"type": "module",
|
|
"kunkun": {
|
|
"name": "Wifi Password",
|
|
"shortDescription": "Show Wifi Password",
|
|
"longDescription": "Show Wifi Password",
|
|
"identifier": "wifi-password",
|
|
"permissions": [
|
|
"clipboard:write-text",
|
|
{
|
|
"permission": "shell:execute",
|
|
"allow": [
|
|
{
|
|
"cmd": {
|
|
"program": "networksetup",
|
|
"args": [
|
|
"-listpreferredwirelessnetworks",
|
|
"en0"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "security",
|
|
"args": [
|
|
"find-generic-password",
|
|
"-D",
|
|
"AirPort network password",
|
|
"-a",
|
|
".+",
|
|
"-w"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "netsh",
|
|
"args": [
|
|
"wlan",
|
|
"show",
|
|
"profiles"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "netsh",
|
|
"args": [
|
|
"wlan",
|
|
"show",
|
|
"interfaces"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "netsh",
|
|
"args": [
|
|
"wlan",
|
|
"show",
|
|
"profile",
|
|
"name=.+",
|
|
"key=clear"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"cmd": {
|
|
"program": "nmcli",
|
|
"args": [
|
|
"device",
|
|
"wifi",
|
|
"show-password"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"demoImages": [],
|
|
"icon": {
|
|
"type": "iconify",
|
|
"value": "material-symbols:extension"
|
|
},
|
|
"customUiCmds": [],
|
|
"templateUiCmds": [
|
|
{
|
|
"name": "Show Wifi Password",
|
|
"main": "dist/index.js",
|
|
"cmds": []
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"dev": "bun build.ts dev",
|
|
"build": "bun build.ts"
|
|
},
|
|
"dependencies": {
|
|
"@kksh/api": "^0.0.52",
|
|
"qrcode": "^1.5.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/qrcode": "^1.5.5"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"mod.ts",
|
|
"package.json"
|
|
],
|
|
"packageManager": "pnpm@9.15.4",
|
|
"module": "index.ts"
|
|
}
|