divclass="comment""你的评论在这里"onmouseover="...
imgsrc=xonerror=alert(1)...
scriptalert(1)/script...
<p>12306已经更新所以这个版本失效。但失效的是程序部分参数而已!</p><p>方法是通用的,既然给的是源码大家是可以根据自己的喜好进行更改修复!但注意一定要保留版权!这是对原作者最起码的尊重!首先向作者致以敬意。</p>
<p>验证码失效的修正:</p><p>1.将app.config中ValidateCodeUrl的值由【https://dynamic.12306.cn/otsweb/passCodeAction.do】改为:【https://dynamic.12306.cn/otsweb/passCodeNewAction.do】</p><p>2.将MainForm.cs的方法LoadValidateCodePic()中的【Url = Properties.Settings.Default.ValidateCodeUrl + "?rand=sjrand",】调整为【Url = Properties.Settings.Default.ValidateCodeUrl + "?module=login&rand=sjrand",】</p>
<p>订票确认画面验证码的修正:</p><p>SubmitOrderRequestForm.cs方法LoadValidateCodePic()中的【Url = Properties.Settings.Default.ValidateCodeUrl + "?rand=randp",】调整为【<br />Url = Properties.Settings.Default.ValidateCodeUrl + "?module=passenger&rand=randp",】<br /></p>
<p><span style="font-family:Tahoma;color:#327412;line-height: 20px; background-color: rgb(244, 251, 240);">kerry_cheng:</span></p><p><span style="font-family:Tahoma;color:#327412;line-height: 20px; background-color: rgb(244, 251, 240);"><br /></span></p><p><span style="font-family:Tahoma;color:#327412;line-height: 20px; background-color: rgb(244, 251, 240);">?订票确认验证码需要改成什么?</span></p>