Skip to content

Instantly share code, notes, and snippets.

@aq1
Created February 13, 2017 22:22
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