|
他说的问题是:密码在前台已进行了加密处理,用LR录制到的是加密后的一串字符而不是输入的原始密码...这个时侯如果要对密码进行参数化.不知道如何解决.
前台未加密的密码录制结果如:web_submit_data("batch.login.php",
"Name=loginsubmit", "Value=true", ENDITEM,
"Name=username", "Value=51testing", ENDITEM,
"Name=password", "Value=12345678", ENDITEM, //实际密码12345678
"Name=loginsubmit", "Value=登录", ENDITEM,
前台已加密的密码录制结果如:Web_submit_data("qllogin.cgi",
"Name=u", "Value=23448500", ENDITEM,
"Name=fp", "Value=loginerroralert", ENDITEM,
"Name=u1", "Value=/cgi-bin/v1.0/qq_login.cgi?type=1", ENDITEM,
"Name=tm", "Value=31313836343538343831\r\n", ENDITEM,
"Name=p", "Value=313138363435383438317A4CD893593284438DE3DE61E427537FD7FBAC0F12935A6CB2C8BFE18C186B75BE3103B838D51E1141B750EBD9EE61D7BAE3CF849121AB2758C4DFF2E753ED7EA3278160888B65365376C892255155EBAFA28E97794EFE010D1C2E3470881B37D35BB0A106DDF68A36D84C556BEBE2566139AA9A0F68709B5EF6FE43AE3A786ED003467EA23AE7D8C3C25B84FAFF1EBFEF236A8D", ENDITEM, //实际输入12345678
"Name=verifycode", "Value=myj4", ENDITEM,
上面两种结果就是对比,第二种不知如何参数化P |
|