mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
new: hid module now exposes the available layouts via api.rest
This commit is contained in:
parent
3b4432f072
commit
af1bfb3894
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ func NewHIDRecon(s *session.Session) *HIDRecon {
|
|||
|
||||
mod.State.Store("sniffing", &mod.sniffAddr)
|
||||
mod.State.Store("injecting", &mod.inInjectMode)
|
||||
mod.State.Store("layouts", SupportedLayouts())
|
||||
|
||||
mod.AddHandler(session.NewModuleHandler("hid.recon on", "",
|
||||
"Start scanning for HID devices on the 2.4Ghz spectrum.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue