mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
new: hid.sniff will now hexdump sniffed payloads (closes #490)
This commit is contained in:
parent
73710ba7d3
commit
ee8fe972e0
4 changed files with 23 additions and 7 deletions
|
@ -18,7 +18,7 @@ func (mod *HIDRecon) isInjecting() bool {
|
|||
}
|
||||
|
||||
func (mod *HIDRecon) setInjectionMode(address string) error {
|
||||
if err := mod.setSniffMode(address); err != nil {
|
||||
if err := mod.setSniffMode(address, true); err != nil {
|
||||
return err
|
||||
} else if address == "clear" {
|
||||
mod.inInjectMode = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue