7

短信测压工具-SMSBoom

 2 years ago
source link: http://osp.io/archives/7828
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

短信测压工具-SMSBoom – 开源派

SMSBoom是一个开源的Python 压力测试的命令行工具,可用于测压短信轰炸,全自动添加有效接口,支持异步协程等特性。遵守Apache2.0开源协议。

  • 通过自定义 api.json 的方式定义接口.
  • 支持关键字替换. 时间戳 [timestamp] 手机号 [phone]
  • 多线程/异步 请求.
  • 通过 Flask 提供网页测试/添加接口.
  • 友好的命令行参数支持.
  • 采用方便的 pipenv 包管理.
  • 通过代理调用短信接口, 支持http, socks4, socks5代理.
  • 使用随机的User-Agent.
  • 可指定轰炸次数, 轰炸间隔时间.
yw_205939.jpg@596w_1l.jpg

运行帮助:

Usage: run_flask_app.py [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  init         初始化数据库
  json2sqlite  将json数据转为sqlite数据库
  sqlite2json  将sqlite数据转为json
  start        启动 flask app
Usage: run_flask_app.py start [OPTIONS]

  启动 flask app

Options:
  -h, --host TEXT     监听地址
  -p, --port INTEGER  监听端口
  --help              Show this message and exit.

默认监听 0.0.0.0:9090 地址,浏览器访问http://127.0.0.1:9090/admin/就可出现前端调试界面。

源码:https://github.com/OpenEthan/SMSBoom


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK