URL:http://xsd.free.idcfengye.com/wefox/ (论坛里面一个免费的转公网方法,隧道通的)Token:foxtableEncodingAESKey:****************************(不告诉你)
消息加密为兼容模式
提交的时候提示:参数错误,请重新填写?
HttpRequet事件代码设为
Select Case e.path
Case "wefox"
If e.Request.HttpMethod = "GET" Then
Dim token = "foxtable" '必须和设置的Token相同
Dim signature As String = e.GetValues("signature")
Dim timestamp As String = e.GetValues("timestamp")
Dim nonce As String = e.GetValues("nonce")
Dim echostr As String = e.GetValues("echostr")
Dim aryTmp() As String = {token,timestamp,nonce}
Array.Sort(aryTmp)
Dim strTmp As String = String.Join("", aryTmp)
strTmp = Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(strTmp, "SHA1")
If signature = strTmp.ToLower() Then
e.WriteString(echostr)
End If
End If
End Select