Versions in this module Expand all Collapse all v0 v0.1.7 May 10, 2023 v0.0.0 May 10, 2023 Changes in this version + const MAX_BACNET_FRAME_LEN + const NPDU_FLAG_EXPECTING_RESPONSE + const NPDU_VERSION_ASHRAE_135_1995 + const SERVER_CHOICE_READ_PROPERTY + const VLC_FUNCTION_UNICAST_NPDU + const VLC_TYPE_IP + func ReadVLC(c net.Conn) (vlc *VLC, npdu *NPDU, apdu *APDU, leftovers []byte, err error, isBACNet bool) + func RegisterModule() + func SendVLC(c net.Conn, payload []byte) error + type APDU struct + InvokeID byte + SegmentSizes SegmentParameters + ServerChoice byte + TypeAndFlags byte + func (apdu *APDU) Marshal() ([]byte, error) + func (apdu *APDU) Unmarshal(b []byte) (out []byte, err error) + type Flags struct + Verbose bool + func (flags *Flags) Help() string + func (flags *Flags) Validate(args []string) error + type Frame struct + APDU *APDU + NPDU *NPDU + Payload interface{} + VLC *VLC + type Log struct + ApplicationSoftwareRevision string + Description string + FirmwareRevision string + InstanceNumber uint32 + IsBACNet bool + Location string + ModelName string + ObjectName string + VendorID uint16 + VendorName string + func (log *Log) QueryApplicationSoftwareRevision(c net.Conn) (err error) + func (log *Log) QueryDescription(c net.Conn) (err error) + func (log *Log) QueryDeviceID(c net.Conn) (err error) + func (log *Log) QueryFirmwareRevision(c net.Conn) (err error) + func (log *Log) QueryLocation(c net.Conn) (err error) + func (log *Log) QueryModelName(c net.Conn) (err error) + func (log *Log) QueryObjectName(c net.Conn) (err error) + func (log *Log) QueryVendorName(c net.Conn) (err error) + func (log *Log) QueryVendorNumber(c net.Conn) (err error) + type Module struct + func (module *Module) Description() string + func (module *Module) NewFlags() interface{} + func (module *Module) NewScanner() zgrab2.Scanner + type NPDU struct + Control byte + Version byte + func (npdu *NPDU) Marshal() ([]byte, error) + func (npdu *NPDU) Unmarshal(b []byte) ([]byte, error) + type ObjectID uint32 + const OID_ANY + type PropertyID byte + const PID_APPLICATION_SOFTWARE_REVISION + const PID_DESCRIPTION + const PID_FIRMWARE_REVISION + const PID_LOCATION + const PID_MODEL_NAME + const PID_OBJECT_NAME + const PID_OID + const PID_VENDOR_NAME + const PID_VENDOR_NUMBER + type ReadProperty struct + Object ObjectID + Property PropertyID + func (rp *ReadProperty) Marshal() ([]byte, error) + func (rp *ReadProperty) Unmarshal(b []byte) (leftovers []byte, err error) + type ReadPropertyRequest struct + APDU APDU + NPDU NPDU + Selection ReadProperty + func NewReadPropertyRequest(oid ObjectID, pid PropertyID) *ReadPropertyRequest + func (rp *ReadPropertyRequest) Marshal() (out []byte, err error) + type Scanner struct + func (scanner *Scanner) GetName() string + func (scanner *Scanner) GetTrigger() string + func (scanner *Scanner) Init(flags zgrab2.ScanFlags) error + func (scanner *Scanner) InitPerSender(senderID int) error + func (scanner *Scanner) Protocol() string + func (scanner *Scanner) Scan(target zgrab2.ScanTarget) (zgrab2.ScanStatus, interface{}, error) + type SegmentParameters struct + type VLC struct + Function byte + Length uint16 + Type byte + func (vlc *VLC) Marshal() ([]byte, error) + func (vlc *VLC) Unmarshal(b []byte) ([]byte, error)