Skip to content
forked from fofapro/fofa-py

fofa pro的sdk,python语言版本

License

Notifications You must be signed in to change notification settings

allukaZod/fofa-py

This branch is 1 commit behind fofapro/fofa-py:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8676cba · Dec 27, 2023

History

39 Commits
Jun 29, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Nov 14, 2016
Jun 29, 2023
Dec 27, 2023
Jun 29, 2023
Dec 27, 2023
Jun 29, 2023
Jun 29, 2023
Jun 29, 2023
Jun 29, 2023
Jun 28, 2023
Jun 29, 2023

Repository files navigation

FOFA Python SDK Documentation

An easy-to-use wrapper for FOFA API written in python. Currently support Python 3.7+

FOFA is a search engine for Internet-connected devices. FOFA API helps developers integrate FOFA data easily in their own projects.

Documentaion

Usage

# -*- coding: utf-8 -*-
import fofa

if __name__ == "__main__":
    key = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    client = fofa.Client(key)               
    query_str = 'header="thinkphp" || header="think_template"'                           
    data = client.search(query_str, size=100, page=1, fields="ip,city") 
    for ip, city in data["results"]:
        print("%s,%s" % (ip, city))          

License

This software is licensed under MIT License

Copyright (C) 2023 Fofa, Inc.

About

fofa pro的sdk,python语言版本

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.7%
  • Batchfile 2.3%
  • Makefile 1.9%
  • Shell 0.1%