Skip to content

Instantly share code, notes, and snippets.

View dustinbutterworth's full-sized avatar
:octocat:

Dustin Butterworth dustinbutterworth

:octocat:
View GitHub Profile
@dustinbutterworth
dustinbutterworth / shodan_api_query.py
Created July 6, 2020 14:23 — forked from LuD1161/shodan_api_query.py
Query Shodan API : Plain and Simple
# -*- coding: utf-8 -*-
import requests
import time
import os
import json
import sys
headers = {
'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',