找回密码
 加入
搜索
查看: 2462|回复: 4

[网络通信] 这个网站的自动登录,该如何搞定呢[已解决]

[复制链接]
发表于 2016-12-23 16:19:23 | 显示全部楼层 |阅读模式
本帖最后由 q410225 于 2016-12-24 19:58 编辑
<!DOCTYPE html>
<html lang="en">
<head>
        <meta charset="UTF-8">
        <title>登录</title>
</head>
<body>
        <style>
                .login {
                        width: 300px;
                        height: 120px;
                        margin: auto;
                        padding-top: 150px;
                        /* margin-top: -150px; */
                }
 
                input {
                        width: 300px;
                        margin-bottom: 10px;
                        line-height: 24px;
                }
        </style>
        <div class="login">
                <form method="post" accept-charset="utf-8">
                        邮箱:<input type="text" name="email">
                        密码:<input type="password" name="passwd">
                        <button>确定</button>
                </form>
        </div>
</body>
</html>
邮箱密码都可以输入,这个确定密码该如何点呢?



#include <IE.au3>

$oIE = _IECreate ("")
$oForm = _IEFormGetCollection($oIE, 0)
$User = _IEGetObjByName($oIE,"email")
$User.value = ""
$PW = _IEGetObjByName($oIE,"passwd")
$PW.value = ""
_IEFormSubmit($oForm)
发表于 2016-12-24 13:56:52 | 显示全部楼层
这个网站的域名是 没有ad   但是ad却满天飞
ie可以实现登录  但是用ie访问这个网站实在是体验太差   chrome的自动操作貌似比较难
 楼主| 发表于 2016-12-24 14:26:46 | 显示全部楼层
回复 2# cxlater


搞定IE也可以,然后把cookies提取出来,给chrome使用

但IE我都不会弄
发表于 2016-12-26 14:22:35 | 显示全部楼层
你的代码是可以正常提交的。
发表于 2016-12-29 18:40:14 | 显示全部楼层
学习,看大大怎么弄。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-19 09:24 , Processed in 0.082597 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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