version

package
v0.0.0-...-e6a6799 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelpCommand

type HelpCommand struct{}

HelpCommand is an empty struct that holds this commands methods

func (*HelpCommand) GetNames

func (*HelpCommand) GetNames() []string

GetNames returns the command aliases for this command

func (*HelpCommand) Invoke

func (command *HelpCommand) Invoke(ci *shodan.CommandInvocation) error

Invoke runs the command. This command will block a user. Currently inoperable.

type IgnoreCommand

type IgnoreCommand struct{}

IgnoreCommand is an empty struct that holds this commands methods

func (*IgnoreCommand) GetNames

func (*IgnoreCommand) GetNames() []string

GetNames returns the command aliases for this command

func (*IgnoreCommand) Invoke

func (command *IgnoreCommand) Invoke(ci *shodan.CommandInvocation) error

Invoke runs the command. This command will block a user. Currently inoperable.

type MemoryCommand

type MemoryCommand struct{}

MemoryCommand is an empty struct that holds this commands methods

func (*MemoryCommand) GetNames

func (command *MemoryCommand) GetNames() []string

GetNames returns the command aliases for this command

func (*MemoryCommand) Invoke

func (command *MemoryCommand) Invoke(ci *shodan.CommandInvocation) error

type Module

type Module struct {
	// contains filtered or unexported fields
}

Module holds data for this module and implements the shodan.Module interface

func (*Module) Attach

func (m *Module) Attach(session shodan.Shodan) error

Attach attaches this module to a Shodan session

func (*Module) GetIdentifier

func (*Module) GetIdentifier() string

GetIdentifier returns the identifier for this module

type VersionCommand

type VersionCommand struct {
	// contains filtered or unexported fields
}

VersionCommand holds information for this command, including bot startup time and a MemStats struct pointer

func (*VersionCommand) GetNames

func (vc *VersionCommand) GetNames() []string

GetNames returns the command aliases for this command

func (*VersionCommand) Invoke

func (vc *VersionCommand) Invoke(ci *shodan.CommandInvocation) error

Invoke runs the command. This commands returns a rich embed with version and runtime information.

Jump to

Keyboard shortcuts

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