logger

package
v0.0.0-...-115f094 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOG_SERVER_API = "https://dl.slowmist.com/upload/honeypot"
)

Variables

View Source
var BountyAddress string

奖励地址

Functions

This section is empty.

Types

type ATTACKLOG

type ATTACKLOG struct {
	IP              string `json:"ip"`
	RequestBody     string `json:"body"`
	ReporterEthAddr string `json:"bounty"`
	Time            int64  `json:"time"`
}

攻击者日志

func (*ATTACKLOG) Write

func (s *ATTACKLOG) Write()

type STARTLOG

type STARTLOG struct {
	ClientVersion   string `json:"version"`
	ReporterEthAddr string `json:"bounty"`
	Time            int64  `json:"time"`
}

启动日志

func (*STARTLOG) Write

func (s *STARTLOG) Write()

Jump to

Keyboard shortcuts

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