V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
mingl0280

这年头居然还有发钓鱼邮件的……

  •  
  •   mingl0280 · May 21, 2022 · 2733 views
    This topic created in 1437 days ago, the information mentioned may be changed or developed.

    邮件:

    邮件

    随手写了点 JS 调戏一下(上班无聊)

    js

    4 replies    2022-05-22 22:53:57 +08:00
    HAWCat
        1
    HAWCat  
       May 21, 2022 via iPhone
    填满它的硬盘
    koala9527
        2
    koala9527  
       May 21, 2022   ❤️ 1
    闲得无聊,看了下代码,按照钓鱼网站的提交格式限制撸了一些垃圾数据。
    ```python

    import requests
    import random
    from random import choice
    file_path = r'C:\Users\***\Downloads\RW_Password-master\密码字典 4952222 条\密码字典 4952222 条.txt'


    def c(u, p):
    url = 'http://38.55.192.143/Login.php?action=Login&u=' + \
    str(u)+'&p='+str(p)+'&user=DL02'
    resp = requests.get(url)
    print(url, resp.text)


    def read_file():
    result = []
    with open(file_path, 'r', encoding='utf-8') as f:
    for line in f:
    if len(line) > 6 and len(line) < 16:
    result.append(line)
    return result


    p_list = read_file()


    def run():
    while True:
    u = random.randint(100000, 9999999999)
    p = choice(p_list)
    # print(u,p)
    c(u, p)


    run()


    ```
    andyhuzhill
        3
    andyhuzhill  
       May 21, 2022   ❤️ 1
    https://pastebin.ubuntu.com/p/8gT7H8FMpS/


    @koala9527 稍微修改了一下你的代码 不需要依赖字典了
    Felldeadbird
        4
    Felldeadbird  
       May 22, 2022
    好多啊,我的企业邮箱全是 什么服务器维护。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3491 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    ♥ Do have faith in what you're doing.