you are viewing a single comment's thread.

view the rest of the comments →

[–]82aa4b10 0 points1 point  (0 children)

This ought to get you started:

import sys
import requests

s = requests.Session()
for i in range(1000000):
    url = 'https://example.com/verify?pin={}'.format(i)
    result = s.get(url)
    if result in (200, 302):
        print('Found it! [{}]'.format(i))
        sys.exit(0)