mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
new: gps module
This commit is contained in:
parent
1857a62645
commit
caa801c764
3 changed files with 159 additions and 0 deletions
|
@ -21,6 +21,8 @@ import (
|
|||
"github.com/bettercap/bettercap/firewall"
|
||||
"github.com/bettercap/bettercap/network"
|
||||
"github.com/bettercap/bettercap/packets"
|
||||
|
||||
"github.com/adrianmo/go-nmea"
|
||||
)
|
||||
|
||||
const HistoryFile = "~/bettercap.history"
|
||||
|
@ -45,6 +47,7 @@ type Session struct {
|
|||
Input *readline.Instance `json:"-"`
|
||||
StartedAt time.Time `json:"started_at"`
|
||||
Active bool `json:"active"`
|
||||
GPS nmea.GNGGA `json:"gps"`
|
||||
Prompt Prompt `json:"-"`
|
||||
|
||||
CoreHandlers []CommandHandler `json:"-"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue