Advertisement
Guest User

Sub

a guest
Dec 11th, 2019
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import requests
  2. import re
  3. import colorama
  4. print(colorama.Fore.GREEN , "Writed by saadalhrby")
  5. inp =input("Enter url \ without http ir https \ :")
  6. rg = "https://www.virustotal.com/ui/domains/{}/subdomains".format(inp)
  7. try:
  8. req =requests.get(rg)
  9. except:
  10. print("Bad url or bad site")
  11. else:
  12. r =re.findall("[\w\-\.]*%s" %inp ,req.text)
  13. for i in r:
  14. print(colorama.Fore.GREEN ,"this is subdomain ++++---+++ \t" ,i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement