![有人知道为什么 UPNP GetSecurityKeys 选项给我空的 wpa 密码吗?](https://linux22.com/image/1628971/%E6%9C%89%E4%BA%BA%E7%9F%A5%E9%81%93%E4%B8%BA%E4%BB%80%E4%B9%88%20UPNP%20GetSecurityKeys%20%E9%80%89%E9%A1%B9%E7%BB%99%E6%88%91%E7%A9%BA%E7%9A%84%20wpa%20%E5%AF%86%E7%A0%81%E5%90%97%EF%BC%9F.png)
提到 GetSecurityKeys 的部分
<action>
<name>GetSecurityKeys</name>
<argumentList>
<argument>
<name>NewWEPKey0</name>
<direction>out</direction>
<relatedStateVariable>WEPKey</relatedStateVariable>
</argument>
<argument>
<name>NewWEPKey1</name>
<direction>out</direction>
<relatedStateVariable>WEPKey</relatedStateVariable>
</argument>
<argument>
<name>NewWEPKey2</name>
<direction>out</direction>
<relatedStateVariable>WEPKey</relatedStateVariable>
</argument>
<argument>
<name>NewWEPKey3</name>
<direction>out</direction>
<relatedStateVariable>WEPKey</relatedStateVariable>
</argument>
<argument>
<name>NewPreSharedKey</name>
<direction>out</direction>
<relatedStateVariable>PreSharedKey</relatedStateVariable>
</argument>
<argument>
<name>NewKeyPassphrase</name>
<direction>out</direction>
<relatedStateVariable>KeyPassphrase</relatedStateVariable>
</argument>
</argumentList>
我尝试谷歌搜索,只找到一个名为UPnP-gw-WLAN配置-v1-服务.pdf我在其中发现的唯一空词是这个,它与我的问题无关!
NewPreSharedKeyIndex
我的 wlan xml 文件中甚至没有提到这一点
答案1
这是一种预期的安全机制
因为像 WIFI 密码这样的关键信息不应该通过 UPNP 等不安全的服务来获取