Created
February 13, 2017 22:22
-
-
Save aq1/dd60e204ed2c96730556709c8aa12352 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 get_ip(): | |
return '{}.{}.{}.{}'.format(*[random.randint(1, 255) for _ in range(4)]) | |
for i in range(100): | |
print(requests.post('http://127.0.0.1/', data={'ip': get_ip()})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment