Skip to main content

A library for querying Shodan IP addresses with no API key.

Project description

FrShodan

A library for querying shodan with no API key.

Features

  • No API key required
  • No login requiered
  • Can search premium tags such as the vuln tag and tag tag for free

Installation

Make sure to use sudo!

Easy Way

sudo pip3 install frshodan

Hard Way

pip install setuptools wheel
git clone https://github.com/LavedenC1/frshodan
cd frshodan
# First edit setup.py
python setup.py sdist bdist_wheel
sudo pip3 install .

Usage

Python3 Utility

Make Sure to use quotation marks around the query to avoid problems

from frshodan import frshodan # Import the package

frshodan(query,sleep) # Usage

print(frshodan("port:22 OpenSSL", 0.5)) # Example

CLI utility

Make Sure to use quotation marks around the query to avoid problems

user@localhost:~$ frshodan "<query>"

<query> is optional, not using it will give the option to dump to a file and gives an interactive mode.

The function returns the results in a list, and if an error occurs, it will return the status code.

Sources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frshodan-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frshodan-0.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file frshodan-0.1.1.tar.gz.

File metadata

  • Download URL: frshodan-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for frshodan-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e0bee3dcb1c2d1b9572378179ac0a0bec52913e4aa39058b9abf96265bd23f9b
MD5 3c077893d44e0c9537c547abe7af6840
BLAKE2b-256 a369d3a0d53c7f0ce0d55e5623e8834e32cd56ada1a4e5e7d728b148cbe0cb7f

See more details on using hashes here.

File details

Details for the file frshodan-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: frshodan-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for frshodan-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1ecb2353e99b05d2134e565178a4ca43bc1060cfeb14bb00cdf990211781454
MD5 512b570d41240884094aab00d5819f13
BLAKE2b-256 899f1487cf4aea8044b58424dfc3b09697fb82654ffbb0801f3e00ffd4ca182d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page