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 hashes)

Uploaded Source

Supported by

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