Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #449

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Dev #449

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 60 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ The package `toilet` cannot be installed yet on macOS. But TBomb does still work
- Catch **[t0xic0der](https://github.com/t0xic0der)** at https://atlasdoc.netlify.app
- Check **[Avinash](https://github.com/AvinashReddy3108)** at https://github.com/AvinashReddy3108
- Mail **[scpketer](https://github.com/scpketer)** at [email protected]
- Mail **[Stefan](https://github.com/0n1cOn3)** at [email protected]
- Mail **[0n1cOn3](https://github.com/0n1cOn3)** at [email protected]
- Ping **Rieltar** at https://t.me/RieltarReborn


Expand All @@ -158,70 +158,66 @@ The package `toilet` cannot be installed yet on macOS. But TBomb does still work
- **[34D30Y]([email protected])**
- **SC AMAN**

### TODO:

- [x] Make Code More Readable and Extensible
- [x] Add Mail Spam Module
- [x] Add Mail Spam APIs
- [x] Add Update Feature using git
- [x] Add Update Feature without git (download zip and extract)
- [x] Split code into multiple files (after Deprecation)


### Contact US

For Queries: [Telegram Group](https://t.me/TBombChat)
[Check Out My YouTube Channel](https://www.youtube.com/c/SpeedXTech)

## FAQ

- Poor internet connection:

```Check your internet connection and try pinging any remote address to confirm.```

- Do you support "X" Country?

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

- Can you add support for "X" Country?

```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.```

- Why is the limit so low?

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

- Help, i got the error that the requirements aren't installed, even when the installer has successfully reached the main menu

The Easy Method:
**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](https://github.com/TheSpeedX/TBomb) and [PyPi](https://pypi.org/project/tbomb)
##
**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

```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```

- Help, i can't execute TBomb.sh!

Run TBomb Directly with
```python3 bomber.py```

- VPN? Proxy's?

```No, TBomb can fail due the high response time or API restrictions.```

- Protection ?

```Use OTP Blockers and activate DND.```

- Call Bombing does not work!

``` It does only work for indian numbers. Other Country's are not supported yet.```


Last Update: 15.05.2021
For Queries: [Telegram Group](https://t.me/TBombChat)
Contributions, issues, and feature requests are welcome!
Give a ★ if you like this project!

<p align="right"> Last FAQ Update: 08.08.2021 </p>
2 changes: 1 addition & 1 deletion TBomb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ detect_distro() {
fi

if [ -z "$distro" ]; then
distro=$(ls /etc | awk 'match($0, "(.+?)[-_](?:release|version)", groups) {if(groups[1] != "os") {print groups[1]}}')
distro=$(ls /etc | awk 'match($0, "(.+?)[-_](?:release|version)", groups) {if(groups[1] != "os") {print groups[1]}}' | head -n 1)
fi

if [ -z "$distro" ]; then
Expand Down
11 changes: 8 additions & 3 deletions bomber.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,14 @@ def check_intr():
try:
requests.get("https://motherfuckingwebsite.com")
except Exception:
bann_text()
mesgdcrt.FailureMessage("Poor internet connection detected")
sys.exit(2)
try:
requests.get("https://google.com")
except Exception:
bann_text()
mesgdcrt.FailureMessage("Poor internet connection detected")
sys.exit(2)




def format_phone(num):
Expand Down