zoukankan      html  css  js  c++  java
  • 登录网站的autohotkey脚本

    ;如果需要这个软件的代码逻辑,删除敏感信息只需要把上面3行代码删除即可.
    
    
    
    
    
    
    
    
    
    
    
    
    !1::  ;login经过测试必须用ie浏览器,在默认软件里面浏览器设置成ie即可,其他浏览器不让send密码
    ;虽然通过程序把银行账号密码写入了,但是只知道账号密码还是只能查询账单,没有u盾不能取钱.所以就算这个代码丢了还是安全的.
    run iexplore.exe https://mybank.icbc.com.cn/icbc/newperbank/perbank3/frame/frame_index.jsp
    Sleep, 5000  ; 1 second
    ;MouseClick, left, 1256,423   因为进入这个网址直接会自动给焦点
    send %user1%
    Sleep, 500  ; 1 second
    send {tab}
    Sleep, 500  ; 1 second
    send %mima1%
    send {tab}
    return
    
    
    !2::  ;login经过测试必须用ie浏览器,在默认软件里面浏览器设置成ie即可,其他浏览器不让send密码
    ;虽然通过程序把银行账号密码写入了,但是只知道账号密码还是只能查询账单,没有u盾不能取钱.所以就算这个代码丢了还是安全的.
    run  chrome.exe https://ebsnew.boc.cn/boc15/login.html
    Sleep, 3500  ; 1 second
    MouseClick, left, 826,453   因为进入这个网址直接会自动给焦点
    Sleep, 500  ; 1 second
    Send %user2%
    Sleep, 500  ; 1 second      ;貌似这个银行有输入密码速度检测系统,只能一个一个字母慢慢输入才行.
    send {tab}
    Sleep, 500  ; 1 second
    Send e
    Sleep, 50  ; 1 second
    Send 3
    Sleep, 50  ; 1 second
    Send 3
    Sleep, 50  ; 1 second
    Send 6
    Sleep, 50  ; 1 second
    Send 7
    Sleep, 50  ; 1 second
    Send 9
    Sleep, 50  ; 1 second
    Send 8
    Sleep, 50  ; 1 second
    Send 7
    Sleep, 100  ; 1 second
    
    MouseClick, left, 763,595   因为进入这个网址直接会自动给焦点
    Sleep, 50  ; 1 second
    MouseClick, left, 763,595   因为进入这个网址直接会自动给焦点
    return
    View Code
  • 相关阅读:
    CodeForces 734F Anton and School
    CodeForces 733F Drivers Dissatisfaction
    CodeForces 733C Epidemic in Monstropolis
    ZOJ 3498 Javabeans
    ZOJ 3497 Mistwald
    ZOJ 3495 Lego Bricks
    CodeForces 732F Tourist Reform
    CodeForces 732E Sockets
    CodeForces 731E Funny Game
    CodeForces 731D 80-th Level Archeology
  • 原文地址:https://www.cnblogs.com/zhangbo2008/p/11087594.html
Copyright © 2011-2022 走看看