Docs: fix comments
This commit is contained in:
parent
3e72e21fab
commit
7042dfb8d9
@ -1,44 +1,40 @@
|
||||
package projVars
|
||||
package common
|
||||
|
||||
import (
|
||||
"flag"
|
||||
|
||||
bluetooth "git.tcp.direct/kayos/prototooth"
|
||||
"github.com/rs/zerolog"
|
||||
)
|
||||
|
||||
//The initial list of device in the area
|
||||
var ScanList map[string]string
|
||||
type Config struct {
|
||||
}
|
||||
|
||||
var InitResults []string
|
||||
|
||||
// Place holder for
|
||||
// File with list of all known Manufacturers
|
||||
// is probably unneeded*****
|
||||
// ManuFile is a place holder for a file with list of all known Manufacturers
|
||||
// this is actually stored by eros and likely deprecated.
|
||||
var ManuFile = "./ManufUUID.json"
|
||||
|
||||
//var to hold service UUIDs
|
||||
var SrvcUUID bluetooth.UUID
|
||||
|
||||
// AdapterInUse TODO: use this or refactor it
|
||||
var AdapterInUse = *&bluetooth.Adapter{}
|
||||
|
||||
var AttackMode bool = false
|
||||
var TrackingMode bool = false
|
||||
|
||||
//var SrvcUUIDList map[uint32]string
|
||||
// var SrvcUUIDList map[uint32]string
|
||||
|
||||
//hold the values for the initial ble scan results..
|
||||
// ScanResChan hold the values for the initial ble scan results..
|
||||
// ... i.e. the mac and broadcast name string
|
||||
var C = make(chan bluetooth.ScanResult)
|
||||
var ScanResChan = make(chan bluetooth.ScanResult)
|
||||
|
||||
//the BLE adapter --duh
|
||||
//var Adapter = bluetooth.DefaultAdapter
|
||||
// ScanAdapter the BLE adapter --duh
|
||||
// var Adapter = bluetooth.DefaultAdapter
|
||||
var ScanAdapter = bluetooth.DefaultAdapter
|
||||
|
||||
var AttackAdapter = bluetooth.DefaultAdapter
|
||||
|
||||
//Device to be targeted --not fully implemented
|
||||
//var Target = flag.String("t", "00:00:00:00:00:00", "Target device to attack")
|
||||
// DFlag Device to be targeted --not fully implemented
|
||||
// var Target = flag.String("t", "00:00:00:00:00:00", "Target device to attack")
|
||||
var DFlag = flag.Bool("d", false, "global debug logging and pretty printing")
|
||||
var AFlag = flag.Bool("a", false, "attack mode")
|
||||
var TFlag = flag.Bool("t", false, "device tracking mode")
|
||||
@ -47,17 +43,9 @@ var WAFlag = flag.String("w", "00:00:00:00:00:00", "MAC address of target")
|
||||
|
||||
var Debug bool = false
|
||||
|
||||
//flag.Parse()
|
||||
|
||||
//var attacker bluetooth.Addresser
|
||||
|
||||
var log *zerolog.Logger
|
||||
|
||||
//Service UUIDs for testing
|
||||
// SonosScanTest Service UUIDs for testing
|
||||
var SonosScanTest = bluetooth.New16BitUUID(0xfe07)
|
||||
var AppleScanTest = bluetooth.New16BitUUID(0x004c)
|
||||
|
||||
//var ServiceUUID16Out
|
||||
|
||||
//target to attack with wrath
|
||||
// WrathTarget target to attack with wrath
|
||||
var WrathTarget = bluetooth.Address{}
|
||||
|
Loading…
Reference in New Issue
Block a user