mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
added HID support for Microsoft devices
This commit is contained in:
parent
8bd19008f2
commit
7c9e2afdcc
6 changed files with 97 additions and 8 deletions
|
@ -73,7 +73,7 @@ func (mod *HIDRecon) prepInjection() (error, *network.HIDDevice, []*Command) {
|
|||
mod.Info("%s loaded ...", mod.scriptPath)
|
||||
|
||||
// build the protocol specific frames to send
|
||||
if err := builder.BuildFrames(cmds); err != nil {
|
||||
if err := builder.BuildFrames(dev, cmds); err != nil {
|
||||
return err, nil, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue