Skip to main content

Python3 library for FOFA (https://fofa.so)

Project description

The fofa SDK written in python3 makes it easy for developers to call fofa’s API interface.

Installation

pip install pyfofa

Only Python 3.6 is supported.

Example

import pyfofa
email = 'with.h4rdy@gmail.com'
key = 'xxxxxxx'
search = pyfofa.FofaAPI(email, key)
for host, ip in search.get_data('cert="baidu.com"', 1, "host,ip")['results']:
    print(host, ip)

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

pyfofa-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file pyfofa-1.0.0.tar.gz.

File metadata

  • Download URL: pyfofa-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyfofa-1.0.0.tar.gz
Algorithm Hash digest
SHA256 12a9e2ff3585778a18d168f23e04da49555f924d03071b7e4a5027e563dcbed0
MD5 13a8f00f6a9851985c5cf091227e6da5
BLAKE2b-256 6f71d5d7045d6f89cdf50ca71371e773e43536f0c0f4ddb36456400b073cef5f

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