Check with seller

A Journey Through Time

  Moving - Storage

import random


import requests


from selenium import webdriver


from selenium.webdriver.common.by import By


from selenium.webdriver.chrome.service import Service as ChromeService


from webdriver_manager.chrome import ChromeDriverManager


 


# List of US states


states = [


    "Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", 


    "Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Idaho", 


    "Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", 


    "Maryland", "Massachusetts", "Michigan", "Minnesota", "Mississippi", 


    "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", "New Jersey", 


    "New Mexico", "New York", "North Carolina", "North Dakota", "Ohio", 


    "Oklahoma", "Oregon", "Pennsylvania", "Rhode Island", "South Carolina", 


    "South Dakota", "Tennessee", "Texas", "Utah", "Vermont", "Virginia", 


    "Washington", "West Virginia", "Wisconsin", "Wyoming"


]


 


# Shuffle the states to ensure random selection


random.shuffle(states)


 


# Generate dorks


dorks = [f"data.{state.lower()}.gov" for state in states[:50]]


 


# Set up Selenium WebDriver


driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))


 


# Function to check if a URL is working


def check_url(url):


    try:


        response = requests.get(f"https://{url}")


        if response.status_code == 200:


            return True


        else:


            return False


    except requests.RequestException:


        return False


 


# Visit each URL and check if it's working


working_dorks = []


for dork in dorks:


    if check_url(dork):


        working_dorks.append(dork)


        driver.get(f"https://{dork}")


        print(f"Working URL: https://{dork}")


 


# Save working dorks to a text file


with open("working_dorks.txt", "w") as file:


    for dork in working_dorks:


        file.write(f"https://{dork}\n")


 


print("Check completed. Working URLs have been saved to working_dorks.txt")


 


# Close the browser


driver.quit()


 


 Published date:

July 22, 2024

 Region:

Alaska

 Views

9



Share by email Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest

Useful information

  • Avoid scams by acting locally or paying with PayPal
  • Never pay with Western Union, Moneygram or other anonymous payment services
  • Don't buy or sell outside of your country. Don't accept cashier cheques from outside your country
  • This site is never involved in any transaction, and does not handle payments, shipping, guarantee transactions, provide escrow services, or offer "buyer protection" or "seller certification"

 User

 Tel.: 0689364588

Contact publisher

You must log in or register a new account in order to contact the publisher

Login Register for a free account