Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/user/bin/env python
- import requests
- def search(domain):
- try:
- with open("list.txt","r") as file:
- for line in file:
- if line != "\n":
- url = domain + "/" + line[:-1]
- response = requests.get(url)
- if response.status_code==200:
- print("[+]" + url)
- except:
- print("\n\nBad Request\n\n1. Check internet connction\n2. Check list.txt is here\n3. Check url")
- print("\nCoded by Partho Sutra Dhor - AWS-27\n\n")
- domain = raw_input("url: ")
- search(domain)
- print("\nScan Complete")
- while 1==1:
- raw_input("")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement