无名 发表于 2022-5-8 19:22:39

使用cc.js脚本对网站进行安全测压

脚本为新型CC.js脚本
使用前需要给服务器安装nodejs环境
我这里给的是centos7.x安装环境指令,其他操作系统自己百度一下怎么安装
环境安装指令
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
yum install -y nodejs
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install

安装完环境之后上传脚本文件到服务器

格式:node cc.js 列表文件 方法 时间(秒) 目标(URL)
示例:node cc.js cc.txt GET 60 http://baidu.com

脚本下载 https://qmywl.lanzoui.com/iV2S2sv2p4f
页: [1]
查看完整版本: 使用cc.js脚本对网站进行安全测压