mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
new: ble, can, hid and wifi modules will now set a custom prompt (closes #1117)
This commit is contained in:
parent
d9a91d393e
commit
6282fe3451
7 changed files with 80 additions and 36 deletions
|
@ -237,6 +237,8 @@ func (mod *HIDRecon) forceStop() error {
|
|||
})
|
||||
}
|
||||
func (mod *HIDRecon) Stop() error {
|
||||
mod.SetPrompt(session.DefaultPrompt)
|
||||
|
||||
return mod.SetRunning(false, func() {
|
||||
mod.waitGroup.Wait()
|
||||
if mod.dongle != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue