bomber-api
v2.0.1
Published
Convenient API for creating your own SMS bomber
Downloads
41
Readme
Важное сообщение
Начиная с версии 2.0.0 мы прекращаем поддержку Node.JS API. Пользователи используют лишь сайт для организации атак а не API, как задумывалось при релизе, но Вы сможете организовывать атаки в своих приложениях, используя HTTP запросы. Скачать более раннюю версию можно тут
Как использовать?
Для использования SMS бомбера требуется установить NodeJS
- Скачайте последнюю версию
- Распакуйте архив
- Установите зависимости -
npm install
- Введите
npm start
илиnode index
Изначально запускается на
3000
порту, используйте флаг--port
чтобы запустить на желаемом порту. Например:node index.js --port=3001
| Метод | Описание |
| ---------- | ---------------------------------------------------------------------------------------------------- |
| attack | Иницилизация атаки. Принимает два параметра, number
- номер телефона; loop
- количество повторов |
| stop | Остановка атаки. number
- номер телефона |
| list | Не принимает параметров, возвращает список активных атак в формате JSON
/* Отправка HTTP запроса с помощью request
(https://www.npmjs.com/package/request) */
const request = require("request");
request.get(
{
url: 'http://localhost:3000/attack',
body: { "number": 79864765066, "loops": 1 }
},
function (err, res, json) {
/* your code */
}
);
TODO
- Лог отправки сообщений
- Список активных атак в WEB версии
- ~~Остановка атак в WEB версии~~