在网上了许多,都是不能用的了,本地登陆还好,放到网站就显示:
警告:系统检查到您可能通过不安全的网站登录,请您登录后立即修改密码!
但是老板着急让完成。就接着百度。终于搞定。
代码共有两部分:
一、登陆页面:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="/1999/xhtml"><HEAD><TITLE>中药方大全</TITLE>
<META content="text/html; charset=gbk" http-equiv=Content-Type>
<SCRIPT type=text/javascript src="config.js"></SCRIPT>
</HEAD>
<BODY >
<FORM id=gomail class=c_form onSubmit="return checktype(this);"
method=post name=gomail action=JavaScript:><INPUT type=hidden name=url>
<INPUT type=hidden name=username> <INPUT type=hidden name=type> <INPUT
type=hidden name=password> <INPUT type=hidden name=domain> <INPUT
value=mail.yahoo/inset.html type=hidden name=.done> <INPUT
type=hidden name=user> <INPUT type=hidden name=pass> <INPUT value=true
type=hidden name=enterVip> <INPUT type=hidden name=UserName> <INPUT
type=hidden name=Password> <INPUT type=hidden name=u> <INPUT type=hidden
name=psw> <INPUT type=hidden name=login> <INPUT type=hidden
asp 源代码 name=LoginName> <INPUT type=hidden name=usr> <INPUT type=hidden name=func>
<INPUT type=hidden name=login_name> <INPUT type=hidden
name=login_password> <INPUT type=hidden name=BackURL> <INPUT
value=le/mail?ui=html&zy=l type=hidden
name=continue> <INPUT type=hidden name=Email> <INPUT type=hidden
name=email> <INPUT type=hidden name=domainname> <INPUT value=false
type=hidden name=firstlogin> <INPUT type=hidden name=starttime> <INPUT
type=hidden name=p2> <INPUT type=hidden name=passwd> <INPUT type=hidden
name=id> <INPUT type=hidden name=m> <INPUT type=hidden name=mpass> <INPUT
type=hidden name=loginid> <INPUT type=hidden name=appid> <INPUT
type=hidden name=ru> <INPUT type=hidden name=eru> <INPUT type=hidden
name=fl> <INPUT type=hidden name=ct> <INPUT type=hidden name=vr> <INPUT
type=hidden name=sg> <INPUT type=hidden name=vwriter> <INPUT type=hidden
name=vpassword> <INPUT type=hidden name=passport_51_user> <INPUT
type=hidden name=passport_51_password> <INPUT type=hidden name=gourl>
<INPUT type=hidden name=Passwd> <INPUT value=cn type=hidden name=.intl>
<INPUT type=hidden name=origURL> <INPUT type=hidden name=formName> <INPUT
type=hidden name=method> <INPUT value=true type=hidden name=isplogin>
<UL>
<LI><LABEL for=mail_user_ican123>帐 号</LABEL> <INPUT id=mail_user_ican123
class=int size=25 type=text name=uName> </LI>
<LI><LABEL for=mail_ail_server_ican123>邮 箱</LABEL> <SELECT
id=mail_server_ican123 class=select onchange=shortcut() name=domains>
<OPTION selected value=selected>--请选择--</OPTION> <OPTION
value=163>163 网易</OPTION> <OPTION value=126>126</OPTION>
<OPTION value=sohu>sohu 搜狐</OPTION> <OPTION value=sina>sina
新浪</OPTION> <OPTION value=tom>tom</OPTION> <OPTION
value=yahoo>yahoo</OPTION> <OPTION
value=yahoocn>yahoo</OPTION> <OPTION value=21cn>21cn</OPTION>
<OPTION value=eyou>eyou 亿邮</OPTION> <OPTION
value=vipsina>vip.sina</OPTION> <OPTION
value=vip163>vip.163</OPTION> <OPTION value=263>263</OPTION>
<OPTION value=yeah>yeah</OPTION> <OPTION
value=selected>以下请在弹出页登陆↓</OPTION> <OPTION
value=gmail>Gmail</OPTION> <OPTION value=qq>QQ</OPTION>
<OPTION value=188>188</OPTION> <OPTION value=139>139</OPTION>
<OPTION value=sogou>sogou</OPTION> <OPTION
value=hotmail>hotmail</OPTION> <OPTION
value=kaixin001>开心网</OPTION> <OPTION
value=selected>--社交网及其他--</OPTION> <OPTION value=baidu>百度账号</OPTION>
<OPTION value=renren>人人网</OPTION> <OPTION value=tianya>天涯社区</OPTION>
<OPTION value=51>51 博客</OPTION> <OPTION value=cren>ChinaRen
校友录</OPTION></SELECT> </LI>
<LI><LABEL for=mail_passwd_ican123>密 码</LABEL> <INPUT
id=mail_passwd_ican123 class=int size=15 type=password name=uPw> <INPUT id=mail_submit_ican123 class=btn value="登 录" type=submit name=btn_my>
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论