Other

技术解读

以下内容由 GitRead 中文社区 编辑团队基于项目 README 与官方资料整理, 结合中文开发者的常见使用场景补充技术选型建议。具体以项目官方文档为准。

深度分析:TheSpeedX/TBomb 项目

项目背景与痛点

SMS 和电话轰炸工具(SMS And Call Bomber For Linux And Termux)在许多用户群体中有着独特的需求,特别是在开发者和系统管理员中,它们常用于测试系统在高并发情况下的稳定性和性能。此外,也有人用于合法的骚扰干预服务,旨在减少诈骗电话和短信的骚扰。然而,这些用途必须在合法的框架下,且在合法的范围内的操作。

对于 Linux 和 Termux 用户来说,这样的工具在功能性上需要具备高度的整合性和易用性,以满足快速部署和运行的需求。这一需求正是 TheSpeedX/TBomb 项目所满足的。

核心技术揭秘

TBomb 项目的核心在于其能够有效地解析用户输入的参数,并在 Linux 和 Termux 环境下,通过调用系统的网络栈进行短信和电话洪泛攻击。其关键技术栈主要是 Python 编写的脚本,结合 Termux 提供的高质量用户界面和工具集,使得 TBomb 能够高效运行于这两类环境。

在架构设计上,TBomb 项目采用了经典的命令行界面加网络请求的模式。用户通过命令行输入参数,经过校验后,发送到目标号码。其具体数据流动如下:

graph TD A[用户输入参数] --> B{"参数合法性校验"} B -->|"合法"| C[确定攻击方式] B -->|"非法"| D[提示错误] C --> E[执行通信请求] C --> F{"是电话轰炸?"} F -->|"是"| G[发送电话轰炸] F -->|"否"| H[发送短信轰炸] G --> I[周期性发送] H --> I[周期性发送] I --> J[记录日志]

通过这种方式,系统实现了灵活的短信和电话轰炸功能,同时保证了对错误输入的有效拦截,防止误操作。

功能亮点与差异

TBomb 项目通过提供了多种轰炸方式,不仅支持短信,也有电话轰炸。其核心亮点在于简洁易用的操作界面以及强大的功能组合,例如通过配置文件管理攻击参数,支持多种短信和电话服务提供商,确保广泛的兼容性和使用便利性。

与同类工具相比,TBomb 在兼容性和灵活性方面尤为突出。支持 Linux 和 Termux 双平台运行,更易于开发者在不同系统环境中的无缝切换和使用。

应用场景与落地建议

在实际使用场景中,TBomb 项目因有可能涉及敏感数据和操作,因此务必确保在合法合理的情境下进行使用。开发者和系统管理员可以将其作为高流量测试和安全检测工具,用于探查系统的安全性和稳定性的弱点。对于用户来说,使用这类工具时也应谨慎,并确保了解所有相关法律和法规,避免引发不必要的法律风险。

综合评价

TBomb 项目毫无疑问拥有强大的技术优势,特别是在灵活性和跨平台支持方面。但是,任何技术都有一把双刃剑,合理且合法的应用是其关键。该工具适合用于测试和安全研究场景,但在滥用的情况下会造成不良后果,因此项目用户需审慎评估使用场景和目的。

总体而言,TBomb 在满足特定需求方面表现出色,但在使用时也需高度注意合规性和道德标准。

README


TBomb
TBomb v2.1b

A free and open-source SMS/Call bombing application

Announcement

Important Notice:
Due to a combination of low-quality contributions, spam pull requests/issues, and my shift towards exploring new projects, I’ve made the decision to archive this repository. This project has been one of my greatest side projects, and I am deeply grateful for all the support it received. However, maintaining it has become increasingly difficult (special thanks to @0n1cOn3 for handling spammy PRs), and I no longer have the capacity to continue contributing to it.

The repository will remain usable via GitHub and PyPI, but I will not be adding new features or making updates. Thank you to everyone who has used and contributed to TBomb, and I wish you all the best.

The repository will be archived, and no further contributions will be accepted.

You can still install and use the tool via Git or PyPI, but please be aware that I will not be maintaining it moving forward.


NOTES:

Due to the overuse of script, a bunch of APIs have been taken offline. It is okay if you do not receive all the messages.

Termux version from Play Store is not supported since 2019, please use the latest version from F-Droid Store!

  • The application requires active internet connection to contact the APIs
  • You would not be charged for any SMS/calls dispatched as a consequence of this script
  • For best performance, use single thread with considerable delay time
  • Always ensure that you are using the latest version of TBomb and have Python 3
  • This application must not be used to cause harm/discomfort/trouble to others
  • By using this, you agree that you cannot hold the contributors responsible for any misuse

Compatibility

Check your Python version by typing in

$ python --version

If you get the following

Python 3.8.3

or any version greater than or equal to 3.4, this script has been tested and confirmed to be supported. For obsolete versions of Python (eg 2.7), use discretion while executing the script as it has not been tested there.

Features

  • Over 15 integrated messaging and calling APIs included with JSON
  • Unlimited (with abuse protection) and super-fast bombing with multithreading
  • Possibility of international API support (APIs are offline)
  • Flexible with addition of newer APIs with the help of JSON documents
  • Actively supported by the developers with frequent updates and bug-fixes
  • Intuitive auto-update feature and notification fetch feature included
  • Recently made free and open-source for community contributions
  • Modular codebase and snippets can be easily embedded in other program

Usage:

Before continuing make sure following requirements are satisfied:

  • Python version greater than or equal to 3.4 is installed
  • pip is installed for Python 3

Install tbomb package by running:

pip3 install tbomb

Run TBomb by just typing:

tbomb

Install from GIT

NOTE

Git installation methods are not universal and are likely to differ between distributions so installing Git as per the given instructions below may not work. Please check out how to install Git for your Linux distribution here. Commands below provide instructions for Debian-based systems.

Running TBomb.sh as sudo miscofigures files ownership. It is recommended not to run it as sudo

Run these commands to clone and run TBomb.

For Termux

To use the bomber type the following commands in Termux:

pkg install git -y 
pkg install python -y 
git clone https://github.com/TheSpeedX/TBomb.git
cd TBomb
./TBomb.sh
For iSH

To use the application, type in the following commands in iSH.

apk add git
apk add python3
apk add py3-pip
apk add ruby
gem install toilet
git clone https://github.com/TheSpeedX/TBomb.git
cd TBomb
pip3 install -r requirements.txt
chmod +x TBomb.sh
./TBomb.sh
For Debian-based GNU/Linux distributions

To use the application, type in the following commands in GNU/Linux terminal.

sudo apt install git
git clone https://github.com/TheSpeedX/TBomb.git
cd TBomb
bash TBomb.sh
For MacOS

To use the application, type in the following commands in MacOS terminal:

Install via Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install dependencies:
brew install git
brew install python3
sudo easy_install pip
sudo pip install --upgrade pip
git clone https://github.com/TheSpeedX/TBomb.git
cd TBomb
bash TBomb.sh
Missing Tools on MacOS

The package toilet cannot be installed yet on macOS. But TBomb does still work.

Demonstrative Video:

  • Watch Indian Bombing Method here
  • Watch International Bombing Method here.

Contributors

Donators:

TODO:

  • Make Code More Readable and Extensible
  • Add More Mail Spam APIs
  • Add More SMS Spam APIs
  • Add More Call Spam APIs
  • Resolve threading issue in some devices

FAQ

Q: Is there any TBomb Website/App ?

A: There is no official website/app yet.The only official releases of TBomb are published in Github and PyPi

Q: Poor Internet Connection Detected:

A: Here are a few stuff you can try:

  • Check your connection.
  • Make sure openssl is installed.
  • Try to ping any remote site/address to be sure.
  • Try to reinstall if nothing works.

Q: Do you support “X” Country?

A: Most Countries are supported for SMS and only India for calls. The SMS delivery rate might be different for different countries.

Q: Can you add support for “X” Country?

A: We do what we can, but we cannot promise. Please stay tuned for future support. If you are ready to help then maybe we can do faster.

Q: Why is the limit so low?

A: Due the amount of requests, the APIs can die. To prevent a bigger outtake of TBomb, it has been limited.

Q: Help, I got the error that the requirements aren’t installed, even when the installer has successfully reached the main menu

A: First, make sure python3 and pip3 are installed.

  • The Easy Method:
    pip3 install tbomb
    Then execute by simply running tbomb
  • The Git Method:
    Clone the repo and Switch to the TBomb Directory and execute this command:
    pip3 install -r requirements.txt

Q: Help, It says command 'tbomb' not found after installing PIP version!

A: Try running sudo pip3 install tbomb

Q: Help, I can’t execute TBomb.sh!

A: Run TBomb Directly with python3 bomber.py

Q: Should I use VPN?

A: No, If you are facing high fail rate as TBomb can fail due the high response time or API restrictions.

Q: How to get protection ?

A: Use OTP blockers and activate DND.

Q: Why does it fail?

A: Due to the overuse of script, a bunch of APIs have been taken offline. It is okay if you do not receive all the messages.

Support

For Queries: Telegram Group
Contributions, issues, and feature requests are welcome!
Give a ★ if you like this project!

Last FAQ Update: 08.08.2021

评论

暂无评论