Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
abello
/
OSINT
like
0
No application file
App
Files
Files
Fetching metadata from the HF Docker repository...
main
OSINT
/
src
/
connectors
/
shodan.py
abello
Upload 28 files
839a850
verified
about 1 year ago
Raw
Download with hf CLI
Copy download link
History
Blame
Safe
180 Bytes
import
os
from
shodan
import
Shodan
API_KEY = os.getenv(
"SHODAN_API_KEY"
)
client = Shodan(API_KEY)
async
def
search_shodan
(
entity:
str
):
return
client.search(entity)