judge

package
v0.0.0-...-bb670d2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomBytes

func RandomBytes(numBytes int) []byte

RandomBytes generates a random byte sequence of the requested length

func SMB2ExtractFieldsFromNegotiateReply

func SMB2ExtractFieldsFromNegotiateReply(blob []byte, info map[string]string)

SMB2ExtractFieldsFromNegotiateReply extracts useful fields from the SMB2 negotiate response

func SMB2ExtractSIDFromSessionSetupReply

func SMB2ExtractSIDFromSessionSetupReply(blob []byte, info map[string]string)

SMB2ExtractSIDFromSessionSetupReply tries to extract the SessionID and Signature from a SMB2 reply

func SMB2NegotiateProtocolRequest

func SMB2NegotiateProtocolRequest(dst string) []byte

SMB2NegotiateProtocolRequest generates a new Negotiate request with the specified target name

func SMB2ParseNegotiateContext

func SMB2ParseNegotiateContext(t int, data []byte, info map[string]string)

SMB2ParseNegotiateContext decodes fields from the SMB2 Negotiate Context values

func SMBExtractFieldsFromSecurityBlob

func SMBExtractFieldsFromSecurityBlob(blob []byte, info map[string]string)

SMBExtractFieldsFromSecurityBlob extracts fields from the NTLMSSP response

func SMBExtractValueFromOffset

func SMBExtractValueFromOffset(blob []byte, idx int) ([]byte, int, error)

SMBExtractValueFromOffset peels a field out of a SMB buffer

func SMBReadFrame

func SMBReadFrame(conn net.Conn, t int) ([]byte, error)

SMBReadFrame reads the netBios header then the full response

func SMBSendData

func SMBSendData(conn net.Conn, data []byte, timeout int) error

SMBSendData writes a SMB request to a socket

func TcpActiveMQ

func TcpActiveMQ(result map[string]interface{}) bool

func TcpDceRpc

func TcpDceRpc(result map[string]interface{}, Args map[string]interface{}) bool

func TcpFTP

func TcpFTP(result map[string]interface{}) bool

func TcpFrp

func TcpFrp(result map[string]interface{}, Args map[string]interface{}) bool

func TcpGIOP

func TcpGIOP(result map[string]interface{}, Args map[string]interface{}) bool

func TcpHTTP

func TcpHTTP(result map[string]interface{}, Args map[string]interface{}) bool

func TcpIMAP

func TcpIMAP(result map[string]interface{}) bool

func TcpLDAP

func TcpLDAP(result map[string]interface{}, Args map[string]interface{}) bool

func TcpMssql

func TcpMssql(result map[string]interface{}, Args map[string]interface{}) bool

func TcpMysql

func TcpMysql(result map[string]interface{}) bool

func TcpOracle

func TcpOracle(result map[string]interface{}, Args map[string]interface{}) bool

func TcpPOP3

func TcpPOP3(result map[string]interface{}) bool

func TcpRDP

func TcpRDP(result map[string]interface{}, Args map[string]interface{}) bool

func TcpRMI

func TcpRMI(result map[string]interface{}, Args map[string]interface{}) bool

func TcpRTSP

func TcpRTSP(result map[string]interface{}, Args map[string]interface{}) bool

func TcpRedis

func TcpRedis(result map[string]interface{}) bool

func TcpSMB

func TcpSMB(result map[string]interface{}, Args map[string]interface{}) bool

func TcpSMTP

func TcpSMTP(result map[string]interface{}) bool

func TcpSNMP

func TcpSNMP(result map[string]interface{}) bool

func TcpSSH

func TcpSSH(result map[string]interface{}) bool

func TcpSocks

func TcpSocks(result map[string]interface{}, Args map[string]interface{}) bool

func TcpTelnet

func TcpTelnet(result map[string]interface{}) bool

func TcpVNC

func TcpVNC(result map[string]interface{}) bool

func TlsHTTPS

func TlsHTTPS(result map[string]interface{}, Args map[string]interface{}) bool

func TlsRDP

func TlsRDP(result map[string]interface{}, Args map[string]interface{}) bool

func TlsRedisSsl

func TlsRedisSsl(result map[string]interface{}) bool

func TrimName

func TrimName(name string) string

TrimName removes null bytes and trims leading and trailing spaces from a string

func UdpNbns

func UdpNbns(result map[string]interface{}, Args map[string]interface{}) bool

Types

type IdentifyResult

type IdentifyResult struct {
	Type     string
	RespCode string
	Result   string
	Url      string
	Title    string
}

type RespLab

type RespLab struct {
	Url            string
	RespBody       string
	RespHeader     string
	RespStatusCode string
	RespTitle      string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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