gytgretgr
Free
Check with seller
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 top 100 US cities
cities = [
"New York", "Los Angeles", "Chicago", "Houston", "Phoenix", "Philadelphia",
"San Antonio", "San Diego", "Dallas", "San Jose", "Austin", "Jacksonville",
"Fort Worth", "Columbus", "Charlotte", "San Francisco", "Indianapolis",
"Seattle", "Denver", "Washington", "Boston", "El Paso", "Nashville",
"Detroit", "Oklahoma City", "Portland", "Las Vegas", "Memphis", "Louisville",
"Baltimore", "Milwaukee", "Albuquerque", "Tucson", "Fresno", "Sacramento",
"Kansas City", "Mesa", "Atlanta", "Omaha", "Colorado Springs", "Raleigh",
"Miami", "Virginia Beach", "Oakland", "Minneapolis", "Tulsa", "Arlington",
"Tampa", "New Orleans", "Wichita", "Cleveland", "Bakersfield", "Aurora",
"Anaheim", "Honolulu", "Santa Ana", "Riverside", "Corpus Christi", "Lexington",
"Henderson", "Stockton", "Saint Paul", "Cincinnati", "St. Louis", "Pittsburgh",
"Greensboro", "Lincoln", "Anchorage", "Plano", "Orlando", "Irvine", "Newark",
"Durham", "Chula Vista", "Toledo", "Fort Wayne", "St. Petersburg", "Laredo",
"Jersey City", "Chandler", "Madison", "Lubbock", "Scottsdale", "Reno",
"Buffalo", "Gilbert", "Glendale", "North Las Vegas", "Winston-Salem",
"Chesapeake", "Norfolk", "Fremont", "Garland", "Irving", "Hialeah",
"Richmond", "Boise", "Spokane"
]
# Shuffle the cities to ensure random selection
random.shuffle(cities)
# Generate dorks
dorks = [f"data.{city.lower().replace(' ', '')}.gov" for city in cities[:100]]
# 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
5
Useful information
User
Tel.: 0689364588
Contact publisher
You must log in or register a new account in order to contact the publisher
gytgretgr
Free
dvssdgv
100.00 Dollar US$
Truckers. Want a rea...
Check with seller
Triumph Scrambler 40...
Check with seller