fofa-api

command module
v0.0.0-...-13a5186 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

README

fofa-api : fofa vip api

Overview GoDoc Build Status

提供了fofa会员的api,如列出自己所有poc,下载poc文件, 提交poc,搜索poc

Install

go get github.com/Earth-Online/fofa-api
例子
package main

import (
	  "fmt"
      "github.com/Earth-Online/fofa-api/client"
)


func main(){
	var email = "test@qq.com"
    var token = "123456"
    user := client.NewUser(email, token)
    err := user.Me()
    if err != nil{
      panic(err)  
    } 
    fmt.Print(user.Email)
    fmt.Print(user.UserName)
    resp, err := user.GetPoc()
    fmt.Print(resp)
}

License

Apache 2.0.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
client package provided a fofa api call
client package provided a fofa api call

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL