Building TODO in README
This commit is contained in:
parent
89b9371e82
commit
63ea95b605
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
protomol.code-workspace
|
||||||
|
.vscode/launch.json
|
28
README.md
28
README.md
@ -1,2 +1,30 @@
|
|||||||
# protomolecule
|
# protomolecule
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
TODO:
|
||||||
|
|
||||||
|
- Scan for
|
||||||
|
-- Device Manufacter
|
||||||
|
-- Services UUIDs
|
||||||
|
- Go channels to handle scanning (Keep continous background scanning as an option)
|
||||||
|
- Output to simple menu for device target / attack selection
|
||||||
|
- Implement bitcask DB to hold device info
|
||||||
|
-- MAC (Key)
|
||||||
|
-- Device Name
|
||||||
|
-- Device Manufactuer
|
||||||
|
-- Services UUIDs
|
||||||
|
|
||||||
|
- Implement- Exploit DB
|
||||||
|
-- If known GATT eploits present user with options
|
||||||
|
|
||||||
|
- Logging
|
||||||
|
|
||||||
|
|
||||||
|
- Search for DFU
|
||||||
|
-- If nordic c
|
||||||
|
|
||||||
|
- GATT fuzzing
|
||||||
|
-
|
@ -23,22 +23,36 @@ func Scanners() {
|
|||||||
// Start scanning.
|
// Start scanning.
|
||||||
println("scanning...")
|
println("scanning...")
|
||||||
|
|
||||||
err := projVars.ScanAdapter.Scan(func(scanAdapter *bluetooth.Adapter, device bluetooth.ScanResult) {
|
//results := new(bluetooth.ScanResult)
|
||||||
|
|
||||||
|
projVars.ScanAdapter.Scan(func(scanAdapter *bluetooth.Adapter, device bluetooth.ScanResult) {
|
||||||
|
|
||||||
if device.LocalName() != projVars.ScanList[device.Address.String()] {
|
if device.LocalName() != projVars.ScanList[device.Address.String()] {
|
||||||
color.Cyan("found device:")
|
color.Cyan("found device:")
|
||||||
println(device.Address.String(), device.RSSI, device.LocalName())
|
println(device.Address.String(), device.RSSI, device.LocalName())
|
||||||
|
|
||||||
//TODO: create localname for devices that dont broadcast one
|
//TODO: create localname fort devices that dont broadcast one
|
||||||
projVars.ScanList[device.Address.String()] = device.LocalName()
|
projVars.ScanList[device.Address.String()] = device.LocalName()
|
||||||
|
|
||||||
//fucking sanity check
|
//fucking sanity check
|
||||||
i := projVars.ScanList[device.Address.String()]
|
i := projVars.ScanList[device.Address.String()]
|
||||||
|
|
||||||
|
//projVars.InitResults = append( projVars.ScanList[device.Address.String()], 1)
|
||||||
|
|
||||||
color.Red(i)
|
color.Red(i)
|
||||||
|
|
||||||
|
//time.Sleep(3 * time.Minute)
|
||||||
|
//results = device
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: wait, then close adapter?
|
//TODO: wait, then close adapter?
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
dust.Must("start scan", err)
|
//projVars.C <- results
|
||||||
|
|
||||||
|
//projVars.ScanAdapter.StopScan()
|
||||||
|
|
||||||
|
//dust.Must("start scan", err)
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,12 @@ import (
|
|||||||
//The initial list of device in the area
|
//The initial list of device in the area
|
||||||
var ScanList map[string]string
|
var ScanList map[string]string
|
||||||
|
|
||||||
|
var InitResults []string
|
||||||
|
|
||||||
|
//hold the values for the initial ble scan results..
|
||||||
|
// ... i.e. the mac and broadcast name string
|
||||||
|
var C = make(chan bluetooth.ScanResult)
|
||||||
|
|
||||||
//the BLE adapter --duh
|
//the BLE adapter --duh
|
||||||
//var Adapter = bluetooth.DefaultAdapter
|
//var Adapter = bluetooth.DefaultAdapter
|
||||||
var ScanAdapter = bluetooth.DefaultAdapter
|
var ScanAdapter = bluetooth.DefaultAdapter
|
||||||
|
Loading…
Reference in New Issue
Block a user