-
在线查询wifi密码的万能钥匙API查询接口源码
资源介绍
万能钥匙在线密码查询
万能钥匙api查询接口在线查询wifi密码源码
$bssid = $_POST["bssid"] ;
$ssid = $_POST["ssid"] ;
if (isset( $bssid ) && isset( $ssid )){
//update salt
$ret = request( $bssid , $ssid , md5(rand(1, 10000)));
$ret = json_decode( $ret );
$ret = request( $bssid , $ssid , $ret ->retSn);
$ret = json_decode( $ret );
if ( $ret ->retCd == 0){
if ( $ret ->qryapwd->retCd == 0){
$list = $ret ->qryapwd->psws;
foreach ( $list as $wifi ){
echo 'SSID: ' . $wifi ->ssid. "
" ; echo 'PWD: ' .decryptStrin( $wifi ->pwd). "
" ; echo 'BSSID: ' . $wifi ->bssid. "
" ; if ( $wifi ->xUser){ echo 'xUser: ' . $wifi ->xUser. "
" ; echo 'xPwd: ' . $wifi ->xPwd. "
" ; } } } else { echo $ret ->qryapwd->retMsg; } }
" ; echo 'PWD: ' .decryptStrin( $wifi ->pwd). "
" ; echo 'BSSID: ' . $wifi ->bssid. "
" ; if ( $wifi ->xUser){ echo 'xUser: ' . $wifi ->xUser. "
" ; echo 'xPwd: ' . $wifi ->xPwd. "
" ; } } } else { echo $ret ->qryapwd->retMsg; } }