在Coldfusion 9中,当调用cfexchangeconnection时使用的密码包含%符号时,我们会遇到错误。
错误是:
Could not log in to the Exchange server.
Verify server name, username, and password.
用户名和密码不值得怀疑,因为我们可以使用CFLDAP很好地登录到系统。此外,如果我们将密码更改为没有百分号的密码,cfexchangeconnection就可以正常工作。
cfexchangeconnection如何支持%符号?
抱歉,如果这是个奇怪的问题。
事实上,我对定时攻击很好奇,所以我做了一些研究并理解了这个概念。我明白,代码如下:
if token == password:
print('Welcome')
else:
print('Wrong password')
相当于:
def equal(s1, s2):
if len(s1) != len(s2):
return False
for i in range(len(s1)):
if s1[i] != s2[i]:
return Fa