mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
new: new c2 module, first draft
This commit is contained in:
parent
35dbb8a368
commit
583a54c194
23 changed files with 579 additions and 163 deletions
|
@ -3,7 +3,6 @@
|
|||
package ble
|
||||
|
||||
import (
|
||||
"os"
|
||||
"sort"
|
||||
"time"
|
||||
|
||||
|
@ -146,7 +145,7 @@ func (mod *BLERecon) Show() error {
|
|||
}
|
||||
|
||||
if len(rows) > 0 {
|
||||
tui.Table(os.Stdout, mod.colNames(hasName), rows)
|
||||
tui.Table(mod.Session.Events.Stdout, mod.colNames(hasName), rows)
|
||||
mod.Session.Refresh()
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ package ble
|
|||
import (
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
"os"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
|
@ -406,7 +405,7 @@ func (mod *BLERecon) showServices(p gatt.Peripheral, services []*gatt.Service) {
|
|||
if wantsToWrite && !foundToWrite {
|
||||
mod.Error("writable characteristics %s not found.", mod.writeUUID)
|
||||
} else {
|
||||
tui.Table(os.Stdout, columns, rows)
|
||||
tui.Table(mod.Session.Events.Stdout, columns, rows)
|
||||
mod.Session.Refresh()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue