GithubHelp home page GithubHelp logo

carrot369 / buy_pig_plan_python-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xxcosmos/buy_pig_plan_python

0.0 0.0 0.0 1 MB

buy_pig_plan 的 Python 版,电话攻击(电话轰炸、可代替短信轰炸)、留言攻击工具。

License: MIT License

Python 100.00%

buy_pig_plan_python-1's Introduction

buy_pig_plan_python

本项目是 buy_pig_plan | 买猪计划 的 Python 实现版。

首先非常感谢原作者提供的思路:通过爬取使用「百度商桥」这一营销组件的企业, 我们可以得到数以万计真实企业的网址。 并通过程序模拟浏览,可以将攻击信息给到这些企业。最终达到「电话攻击」的目的。

声明

本项目仅供学习交流使用,勿作商业或非法用途。

使用教程

  1. 下载

     $ git clone https://github.com/xxcosmos/buy_pig_plan_python.git
  2. 安装 Selenium

    $ pip3 install selenium

    安装 Selenium 之后,需要安装对应浏览器的 Driver ,参见 Selenium 文档 1.3 节

    Seleium 具体的介绍及使用方法可参见 Selenium 文档

  3. 配置

    配置文件为config.py,参数说明如下:

    """
    攻击对象信息
    """ 
    target = { 
        "phone": "13012345678",             # 手机号
        "name": "小小明",                    # 姓名
        "email": "[email protected]",                # 邮箱
        "address": "宇宙银河太阳系地球村",     # 地址
        "comment": "你好 不会~"             # 留言信息
    }
    
    """
    参数设置
    """
    settings = {
        "times": 100,                 # 攻击次数
        "timeout": 5,                 # 超时
        "driver":webdriver.Firefox(), # 使用的 driver
    }
  4. 运行程序

    $ python3 buy_pig_plan/main.py
  5. Enjoy!

    运行截图:

    运行截图

目录说明

buy_pig_plan_python
│  
├── assets      //资源文件: 公司名称及对应网址. 感谢原作者爬取.
│   ├── baidu_lxb.json
│   ├── baidu_lxb_20000.json
│   ├── baidu_lxb_30000.json
│   ├── baidu_lxb_40000.json
│   ├── baidu_lxb_50000.json
│   ├── baidu_lxb_60000.json
│   ├── baidu_lxb_70000.json
│   ├── baidu_lxb_80000.json
│   ├── baidu_lxb_90000.json
│   ├── baidu_shangqiao.json
│   ├── baidu_shangqiao_40000.json
│   ├── baidu_shangqiao_50000.json
│   ├── baidu_shangqiao_60000.json
│   ├── baidu_shangqiao_70000.json
│   ├── baidu_shangqiao_80000.json
│   └── baidu_shangqiao_90000.json
├── config.py     // 配置文件
├── task.py       // 处理页面代码
└── main.py       // 主程序

TODO

  1. 使用 PyQt5 实现用户界面。
  2. 定时任务。
  3. 使用 「HTTP 请求」替代「模拟浏览」。

感谢

原作者: @aqiongbei

许可

MIT

buy_pig_plan_python-1's People

Contributors

xxcosmos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.