This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
import urllib.parse | |
# Construct the query | |
query = "wordpress" | |
encoded_query = urllib.parse.quote(query) | |
# URL with encoded query | |
url = f"https://search.censys.io/_search?resource=hosts&sort=RELEVANCE&per_page=100&virtual_hosts=EXCLUDE&q={encoded_query}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body | |
class="bg-white dark:bg-zinc-900 text-zinc-800 dark:text-zinc-200 min-h-screen flex flex-col items-center justify-center" | |
> | |
<div class="max-w-lg mx-auto p-6 space-y-6 bg-white dark:bg-zinc-800 rounded-lg shadow-lg"> | |
<div class="flex justify-center space-x-4"> | |
<button | |
id="pencil" | |
class="tool-btn bg-zinc-200 dark:bg-zinc-700 hover:bg-zinc-300 dark:hover:bg-zinc-600 p-3 rounded-full shadow-md transition duration-150 ease-in-out" | |
> | |
Pencil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="flex flex-col items-center justify-center min-h-screen bg-zinc-100 dark:bg-zinc-900"> | |
<div class="flex space-x-2 p-2"> | |
<div id="colorPalette" class="flex space-x-2"> | |
<div class="w-6 h-6 bg-red-500 cursor-pointer"></div> | |
<div class="w-6 h-6 bg-green-500 cursor-pointer"></div> | |
<div class="w-6 h-6 bg-blue-500 cursor-pointer"></div> | |
<div class="w-6 h-6 bg-yellow-500 cursor-pointer"></div> | |
<div class="w-6 h-6 bg-purple-500 cursor-pointer"></div> | |
<div class="w-6 h-6 bg-pink-500 cursor-pointer"></div> | |
<div class="w-6 h-6 bg-black cursor-pointer"></div> |