pushing work on wrath -- this function is not working yet
This commit is contained in:
parent
6a95824ae2
commit
55260e7132
@ -1,9 +1,32 @@
|
||||
package wrath
|
||||
|
||||
import bluetooth "git.tcp.direct/kayos/prototooth"
|
||||
import (
|
||||
projVars "protomolecule/src/vars"
|
||||
|
||||
bluetooth "git.tcp.direct/kayos/prototooth"
|
||||
"github.com/rs/zerolog/log"
|
||||
)
|
||||
|
||||
//used for offensive operations
|
||||
|
||||
func wrath(bluetooth.Address) {
|
||||
func targetPicture() bluetooth.MAC {
|
||||
|
||||
ingest := projVars.WAFlag
|
||||
|
||||
target, err := bluetooth.ParseMAC(*ingest)
|
||||
if err != nil {
|
||||
log.Err(err).Msg("Error")
|
||||
}
|
||||
|
||||
a := bluetooth.Address{
|
||||
MACAddress: target,
|
||||
}
|
||||
|
||||
return target
|
||||
|
||||
}
|
||||
|
||||
func wrath(bluetooth.Address) {
|
||||
|
||||
bluetooth.DefaultAdapter.Connect(targetPicture(), bluetooth.ConnectionParams{})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user