samedi 19 septembre 2020

Python domain brute force

Hello I'm trying to make a brute force of domain. I'm a python beginner.

Here's what I did:

import urllib.request
result = urllib.request.urlopen("https://test.com/83d0a123-0a2e-4876-b965-3160068c9b8b").getcode()
if result != 200:
    print('Wrong URL')
else:
    print('Good URL') 

I want to test this domain https://test.com/ + random sequence

With several possibilities but each time a sequence of 8 digit and lowercase letter (83d0a123-) with a dash then a sequence of 4 digit and lowercase letter (0a2e-) with a dash then a sequence of 4 digit and lowercase letter (4876-) with a dash then a sequence of 4 digit and lowercase letter ( b965-) with a dash then a sequence of 12 digit and lowercase letter ( 3160068c9b8b). To form a random sequence that looks like this: 83d0a123-0a2e-4876-b965-3160068c9b8b

I now have no clue what to do from here. If someone has some insight to this topic, I would love any help. Thank you!




Aucun commentaire:

Enregistrer un commentaire