mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
finished the duckyscript parser
This commit is contained in:
parent
055ba917a1
commit
037d5cea22
11 changed files with 249 additions and 42 deletions
13
modules/hid/builders.go
Normal file
13
modules/hid/builders.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package hid
|
||||
|
||||
import (
|
||||
"github.com/bettercap/bettercap/network"
|
||||
)
|
||||
|
||||
type FrameBuilder interface {
|
||||
BuildFrames([]*Command) error
|
||||
}
|
||||
|
||||
var FrameBuilders = map[network.HIDType]FrameBuilder{
|
||||
network.HIDTypeLogitech: LogitechBuilder{},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue