开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 4912|回复: 17
收起左侧

[已解决] POST验证码求助。求大牛帮我!取的验证码不对

 关闭 [复制链接]
结帖率:65% (22/34)
发表于 2014-4-2 18:35:41 | 显示全部楼层 |阅读模式   江西省南昌市
10精币
他的验证码是一个JS动态参数。好像取的是毫秒我不知道哪错了。
function changeValidateCode(Obj){
var dt = new Date();
Obj.src="../sys/ValidateCode.aspx?t="+dt.getMilliseconds();
}
//-->
</script>
我写的代码是
[e]
.版本 2

.程序集 窗口程序集1

.子程序 _按钮1_被单击

网页访问s (“http://117.40.28.88:1111/jwweb/_data/home_login.aspx”, “POST”, “__VIEWSTATE=dDwyMDQxODM2NDA2O3Q8O2w8aTwxPjtpPDM%2BO2k8NT47PjtsPHQ8cDxsPFRleHQ7PjtsPOaxn%2Bilv%2BitpuWvn%2BWtpumZojs%2BPjs7Pjt0PHA8bDxUZXh0Oz47bDxcPHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiXD4KXDwhLS0KZnVuY3Rpb24gQ2hrVmFsdWUoKXsKIHZhciB2VT0kKCdVSUQnKS5pbm5lckhUTUxcOwogdlU9dlUuc3Vic3RyaW5nKDAsMSkrdlUuc3Vic3RyaW5nKDIsMylcOwogdmFyIHZjRmxhZyA9ICJZRVMiXDsgaWYgKCQoJ1VzZXJJRCcpLnZhbHVlPT0nJyl7CiBhbGVydCgn6aG75b2V5YWlJyt2VSsn77yBJylcOyQoJ1VzZXJJRCcpLmZvY3VzKClcO3JldHVybiBmYWxzZVw7Cn0KIGVsc2UgaWYgKCQoJ1Bhc3NXb3JkJykudmFsdWU9PScnKXsKIGFsZXJ0KCfpobvlvZXlh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9IitkdC5nZXRNaWxsaXNlY29uZHMoKVw7Cn0KLy8tLVw%2BClw8L3NjcmlwdFw%2BOz4%2BOzs%2BO3Q8O2w8aTwxPjs%2BO2w8dDw7bDxpPDA%2BOz47bDx0PHA8bDxUZXh0Oz47bDxcPG9wdGlvbiB2YWx1ZT0nU1RVJyB1c3JJRD0n5a2m44CA5Y%2B3J1w%2B5a2m55SfXDwvb3B0aW9uXD4KXDxvcHRpb24gdmFsdWU9J1RFQScgdXNySUQ9J%2BW3peOAgOWPtydcPuaVmeW4iOaVmei%2BheS6uuWRmFw8L29wdGlvblw%2BClw8b3B0aW9uIHZhbHVlPSdTWVMnIHVzcklEPSfluJDjgIDlj7cnXD7nrqHnkIbkurrlkZhcPC9vcHRpb25cPgpcPG9wdGlvbiB2YWx1ZT0nQURNJyB1c3JJRD0n5biQ44CA5Y%2B3J1w%2B6Zeo5oi357u05oqk5ZGYXDwvb3B0aW9uXD4KOz4%2BOzs%2BOz4%2BOz4%2BOz4%2BOz6%2FMrIeznTZxiEAUqei2%2FX%2B7YRapg%3D%3D&__VIEWSTATEGENERATOR=A23C4EFA&pcInfo=Mozilla%2F4.0+%28compatible%3B+MSIE+7.0%3B+Windows+NT+6.1%3B+Trident%2F5.0%3B+SLCC2%3B+.NET+CLR+2.0.50727%3B+.NET+CLR+3.5.30729%3B+.NET+CLR+3.0.30729%3B+.NET4.0C%3B+.NET4.0E%29x860+SN%3ANULL&typeName=%D1%A7%C9%FA&Sel_Type=STU&UserID=” + 编辑框1.内容 + “&PassWord=” + 编辑框2.内容 + “&cCode=” + 编辑框3.内容, “ASP.NET_SessionId=1bzlg3qpshkhph45meofqsfs”)
输出调试文本 (网页访问s (“http://117.40.28.88:1111/jwweb/_data/home_login.aspx”, “POST”, “__VIEWSTATE=dDwyMDQxODM2NDA2O3Q8O2w8aTwxPjtpPDM%2BO2k8NT47PjtsPHQ8cDxsPFRleHQ7PjtsPOaxn%2Bilv%2BitpuWvn%2BWtpumZojs%2BPjs7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E+7.0%3B+Windows+NT+6.1%3B+Trident%2F5.0%3B+SLCC2%3B+.NET+CLR+2.0.50727%3B+.NET+CLR+3.5.30729%3B+.NET+CLR+3.0.30729%3B+.NET4.0C%3B+.NET4.0E%29x860+SN%3ANULL&typeName=%D1%A7%C9%FA&Sel_Type=STU&UserID=” + 编辑框1.内容 + “&PassWord=” + 编辑框2.内容 + “&cCode=” + 编辑框3.内容, “ASP.NET_SessionId=1bzlg3qpshkhph45meofqsfs”))

.子程序 __启动窗口_创建完毕
.局部变量 脚本, 脚本类


图片框1.图片 = 网页访问 (“http://117.40.28.88:1111/jwweb/sys/ValidateCode.aspx?t=” + 脚本.计算表达式 (“new Date().getMilliseconds ()”), , , “ASP.NET_SessionId=1bzlg3qpshkhph45meofqsfs”, , , , , , )

[/e]

最佳答案


回答提醒:如果本帖被关闭无法回复,您有更好的答案帮助楼主解决,请发表至 源码区 可获得加分喔。
友情提醒:本版被采纳的主题可在 申请荣誉值 页面申请荣誉值,获得 1点 荣誉值,荣誉值可兑换荣誉会员、终身vip用户组。
快捷通道:申请荣誉值无答案申请取消悬赏投诉有答案未采纳为最佳

结帖率:75% (3/4)
发表于 2014-4-2 18:35:42 | 显示全部楼层   河南省驻马店市
cookie问题   

评分

参与人数 1荣誉 +1 收起 理由
笨潴 + 1 热心帮助他人,荣誉+1,希望继续努力(*^__^*) 嘻嘻!

查看全部评分

回复

使用道具 举报

结帖率:65% (22/34)
 楼主| 发表于 2014-4-2 18:38:17 | 显示全部楼层   江西省南昌市
上面那个调试输出的内容是
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
        <HEAD>
                <title>
                        江西警察学院
                </title>
                <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
                <meta content="C#" name="CODE_LANGUAGE">
                <meta content="JavaScript" name="vs_defaultClientScript">
                <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
                <LINK href="../_Style/Home.css" type="text/css" rel="stylesheet">
                <script type="text/javascript" src="../js/global.js"></script>
                <script type="text/javascript">
<!--
function ChkValue(){
var vU=$('UID').innerHTML;
vU=vU.substring(0,1)+vU.substring(2,3);
var vcFlag = "YES"; if ($('UserID').value==''){
alert('须录入'+vU+'!');$('UserID').focus();return false;
}
else if ($('PassWord').value==''){
alert('须录入密码!');$('PassWord').focus();return false;
}
else if ($('cCode').value=='' && vcFlag == "YES"){
alert('须录入验证码!');$('cCode').focus();return false;
}
else { $('divLogNote').innerHTML='<font color="red">正在通过身份验证...请稍候!</font>';
return true;}
}
function SelType(obj){
var s=obj.options[obj.selectedIndex].getAttribute('usrID');
var w=obj.options[obj.selectedIndex].getAttribute('PwdID');
$('UID').innerHTML=s;
selTyeName();
if(obj.value=="STU") {
   document.all.btnGetStuPwd.style.display='';
   document.all.btnReset.style.display='none';
  }
else {
    document.all.btnReset.style.display='';
    document.all.btnGetStuPwd.style.display='none';
  }}
function openWinLog(theURL,w,h){
var Tform,retStr;
eval("Tform='width="+w+",height="+h+",scrollbars=no,resizable=no'");
pop=window.open(theURL,'winKPT',Tform); //pop.moveTo(0,75);
eval("Tform='dialogWidth:"+w+"px;dialogHeight:"+h+"px;status:no;scrollbars=no;help:no'");
pop.moveTo((screen.width-w)/2,(screen.height-h)/2);if(typeof(retStr)!='undefined') alert(retStr);
}
function showLay(divId){
var objDiv = eval(divId);
if (objDiv.style.display=="none")
{objDiv.style.display="";}
else{objDiv.style.display="none";}
}
function selTyeName(){
  $('typeName').value=$N('Sel_Type')[0].options[$N('Sel_Type')[0].selectedIndex].text;
}
window.onload=function(){
        var sPC=MSIE?window.navigator.userAgent+window.navigator.cpuClass+window.navigator.appMinorVersion+' SN:NULL':window.navigator.userAgent+window.navigator.oscpu+window.navigator.appVersion+' SN:NULL';
try{$('pcInfo').value=sPC;}catch(err){}
try{$('UserID').focus();}catch(err){}
try{$('typeName').value=$N('Sel_Type')[0].options[$N('Sel_Type')[0].selectedIndex].text;}catch(err){}
}
function openWinDialog(url,scr,w,h)
{
var Tform;
eval("Tform='dialogWidth:"+w+"px;dialogHeight:"+h+"px;status:"+scr+";scrollbars=no;help:no'");
window.showModalDialog(url,1,Tform);
}
function openWin(theURL){
var Tform,w,h;
try{
        w=window.screen.width-10;
}catch(e){}
try{
h=window.screen.height-30;
}catch(e){}
try{eval("Tform='width="+w+",height="+h+",scrollbars=no,status=no,resizable=yes'");
pop=parent.window.open(theURL,'',Tform);
pop.moveTo(0,0);
parent.opener=null;
parent.close();}catch(e){}
}
function changeValidateCode(Obj){
var dt = new Date();
Obj.src="../sys/ValidateCode.aspx?t="+dt.getMilliseconds();
}
//-->
</script>
        </HEAD>
       
        <body oncontextmenu="return false" ondragstart="return false" style="background-color:#469B79" onsource="return false" leftMargin="0" topMargin="0">
                <div id="divThePanel">
       
                <form name="Logon" method="post" action="home_login.aspx" id="Logon" onsubmit="return ChkValue();">
        <input type="hidden" name="__VIEWSTATE" value="dDwyMDQxODM2NDA2O3Q8O2w8aTwxPjtpPDM+O2k8NT47PjtsPHQ8cDxsPFRleHQ7PjtsPOaxn+ilv+itpuWvn+WtpumZojs+Pjs7Pjt0PHA8bDxUZXh0Oz47bDxcPHNjcmlwdCB0eXBlPSJ0ZXh0L2phdmFzY3JpcHQiXD4KXDwhLS0KZnVuY3Rpb24gQ2hrVmFsdWUoKXsKIHZhciB2VT0kKCdVSUQnKS5pbm5lckhUTUxcOwogdlU9dlUuc3Vic3RyaW5nKDAsMSkrdlUuc3Vic3RyaW5nKDIsMylcOwogdmFyIHZjRmxhZyA9ICJZRVMiXDsgaWYgKCQoJ1VzZXJJRCcpLnZhbHVlPT0nJyl7CiBhbGVydCgn6aG75b2V5YWlJyt2VSsn77yBJylcOyQoJ1VzZXJJRCcpLmZvY3VzKClcO3JldHVybiBmYWxzZVw7Cn0KIGVsc2UgaWYgKCQoJ1Bhc3NXb3JkJykudmFsdWU9PScnKXsKIGFsZXJ0KCfpobvlvZXlhaXlr4bnoIHvvIEnKVw7JCgnUGFzc1dvcm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cmlwdFw+Oz4+Ozs+O3Q8O2w8aTwxPjs+O2w8dDw7bDxpPDA+O2k8Mj47PjtsPHQ8cDxsPFRleHQ7PjtsPFw8b3B0aW9uIHZhbHVlPSdTVFUnIHVzcklEPSflrabjgIDlj7cnXD7lrabnlJ9cPC9vcHRpb25cPgpcPG9wdGlvbiB2YWx1ZT0nVEVBJyB1c3JJRD0n5bel44CA5Y+3J1w+5pWZ5biI5pWZ6L6F5Lq65ZGYXDwvb3B0aW9uXD4KXDxvcHRpb24gdmFsdWU9J1NZUycgdXNySUQ9J+W4kOOAgOWPtydcPueuoeeQhuS6uuWRmFw8L29wdGlvblw+Clw8b3B0aW9uIHZhbHVlPSdBRE0nIHVzcklEPSfluJDjgIDlj7cnXD7pl6jmiLfnu7TmiqTlkZhcPC9vcHRpb25cPgo7Pj47Oz47dDxwPHA8bDxUZXh0Oz47bDzpqozor4HnoIHplJnor6/vvIFcPGJyXD7nmbvlvZXlpLHotKXvvIE7Pj47Pjs7Pjs+Pjs+Pjs+Pjs+QAXRsI6bwrf03SiwoHdgNdZY7iM=" />

        <input type="hidden" name="__VIEWSTATEGENERATOR" value="A23C4EFA" />

                        <input id="pcInfo" type="hidden" name="pcInfo">
                        <input id="typeName" type="hidden" name="typeName">
                        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr><td width="100%" height="175" align="center" >
                                        <table height="160" cellSpacing="0" cellPadding="0" border="0" >
                                        <tr>
                                                <td align="center" width="50" height="26" colspan=2 style="padding-left:2px;">
                                                        <img width="180px" style="margin-left:5px" src="../images/home/h_userlogin.gif" />
                                                </td>
                                        </tr>
                                        <tr>
                                                <td align="center" width="50" height="26" style="color:white;">身 份</td>
                                                <td vAlign="top" height="26">
                                                        <select style="WIDTH: 136px" onchange="SelType(this)" name="Sel_Type">
                                                                <option value='STU' usrID='学 号'>学生</option>
<option value='TEA' usrID='工 号'>教师教辅人员</option>
<option value='SYS' usrID='帐 号'>管理人员</option>
<option value='ADM' usrID='帐 号'>门户维护员</option>

                                                        </select>
                                                </td>
                                        </tr>
                                        <tr>
                                                <td id="UID" align="center" width="50" height="26" style="color:white;">学 号</td>
                                                <td vAlign="top" height="26"><input name="UserID" id="UserID" type="text" class="tx1" style="WIDTH: 134px; HEIGHT: 20px" maxlength="20" autocomplete="off" value="113208" />
                                                </td>
                                        </tr>
                                        <tr>
                                                <td noWrap id="PWD" align="center" width="50" height="26" style="color:white;">密 码</td>
                                                <td vAlign="top" width="120" height="26">
                                                <input class="tx1" id="PassWord" style="WIDTH:134px;HEIGHT:20px" type="password" maxLength="25" name="PassWord" value="">
                                                </td>                                               
                                        </tr>
                                        <tr >
                                                <td align="center" width="50" height="26" style="color:white;">验证码</td>
                                                <td height="26">
                                                <input class="tx1" id=cCode name=cCode style="WIDTH:50px;HEIGHT:20px;margin-bottom:4px;" maxlength=4>
                                                <img id="imgCode" src="../sys/ValidateCode.aspx" onclick="changeValidateCode(this)" alt="单击可更换图片!" style="WIDTH:80px;HEIGHT:20px;CURSOR:hand;margin:0px;">                                               
                                                </td>
                                        </tr>
                                        <tr>                                                                               
                                                <td vAlign="bottom" align="center" height="26" colspan=2>&nbsp;&nbsp;
                                                <input class="btnlogin" type="submit" value="">
                                                <input class="btnforget" style="CURSOR:pointer;" type="button" value="" name="btnGetStuPwd" id="btnGetStuPwd" onclick=openWinLog("ReSet_PassWord.aspx",600,300)><input class="btnreset" name="btnReset" id="btnReset" style="CURSOR:pointer;display:none" type="reset" value="">
                                                </td>
                                        </tr>
                                                               
                                </TABLE>
                                </td></tr>
                                <tr><td height="35">
                                        <div align="center"><span id="divLogNote" style="color:White;">验证码错误!<br>登录失败!</span></div>
                                </td></tr>
                        </table>
                </form>               
       
</div>
                                                                               
</body>
</HTML>
回复

使用道具 举报

签到天数: 22 天

发表于 2014-4-2 18:40:12 | 显示全部楼层   浙江省温州市
__VIEWSTATE=后面的一大堆都是要获取的 还有验证码需要cookies的吧  
回复

使用道具 举报

结帖率:65% (22/34)
 楼主| 发表于 2014-4-2 18:41:28 | 显示全部楼层   江西省南昌市
由于帐号密码有属于隐私不好拿出来。
回复

使用道具 举报

结帖率:65% (22/34)
 楼主| 发表于 2014-4-2 18:43:40 | 显示全部楼层   江西省南昌市
Hoibben 发表于 2014-4-2 18:40
__VIEWSTATE=后面的一大堆都是要获取的 还有验证码需要cookies的吧

我截取了。提交COOKIES我也尝试了,都没用
回复

使用道具 举报

签到天数: 22 天

发表于 2014-4-2 18:45:19 | 显示全部楼层   浙江省温州市
纯情小处男0 发表于 2014-4-2 18:43
我截取了。提交COOKIES我也尝试了,都没用

“ASP.NET_SessionId=1bzlg3qpshkhph45meofqsfs”  这个就是你取的cookies???
回复

使用道具 举报

结帖率:65% (22/34)
 楼主| 发表于 2014-4-2 18:53:04 | 显示全部楼层   江西省南昌市
Hoibben 发表于 2014-4-2 18:45
“ASP.NET_SessionId=1bzlg3qpshkhph45meofqsfs”  这个就是你取的cookies???

Cookie: ASP.NET_SessionId=h5pihe2aysdmka45aiq3ha55
这个。不对么?
回复

使用道具 举报

签到天数: 22 天

发表于 2014-4-2 19:01:36 | 显示全部楼层   浙江省温州市
纯情小处男0 发表于 2014-4-2 18:53
Cookie: ASP.NET_SessionId=h5pihe2aysdmka45aiq3ha55
这个。不对么?

这个也是要取的 不是固定的吧  
回复

使用道具 举报

结帖率:92% (24/26)
发表于 2014-4-2 19:04:57 | 显示全部楼层   广东省惠州市
__VIEWSTATEGENERATOR= 和 __VIEWSTATE   在登录页面源码里取   

补充内容 (2014-4-2 19:08):
图片框1.图片 = 网页_访问 (“http://117.40.28.88:1111/jwweb/sys/ValidateCode.aspx”)  这个是图片地址  
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表