added HID support for Microsoft devices

This commit is contained in:
evilsocket 2019-02-20 18:45:13 +01:00
commit 7c9e2afdcc
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
6 changed files with 97 additions and 8 deletions

View file

@ -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
}