migrate from genofire to wifictld
This commit is contained in:
parent
fca7f5353c
commit
f07298c40c
12
README.md
12
README.md
|
@ -1,7 +1,7 @@
|
||||||
# wifictld-analyzer
|
# wifictld-analyzer
|
||||||
[![Build Status](https://dev.sum7.eu/genofire/wifictld-analyzer/badges/master/build.svg)](https://dev.sum7.eu/genofire/wifictld-analyzer/pipelines)
|
[![Build Status](https://dev.sum7.eu/wifictld/wifictld-analyzer/badges/master/build.svg)](https://dev.sum7.eu/genofire/wifictld-analyzer/pipelines)
|
||||||
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/genofire/wifictld-analyzer)](https://goreportcard.com/report/dev.sum7.eu/genofire/wifictld-analyzer)
|
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/wifictld/wifictld-analyzer)](https://goreportcard.com/report/dev.sum7.eu/genofire/wifictld-analyzer)
|
||||||
[![GoDoc](https://godoc.org/dev.sum7.eu/genofire/wifictld-analyzer?status.svg)](https://godoc.org/dev.sum7.eu/genofire/wifictld-analyzer)
|
[![GoDoc](https://godoc.org/dev.sum7.eu/wifictld/wifictld-analyzer?status.svg)](https://godoc.org/dev.sum7.eu/genofire/wifictld-analyzer)
|
||||||
|
|
||||||
|
|
||||||
## Get wifictld-analyzer
|
## Get wifictld-analyzer
|
||||||
|
@ -10,14 +10,14 @@
|
||||||
|
|
||||||
Latest Build binary from ci here:
|
Latest Build binary from ci here:
|
||||||
|
|
||||||
[Download All](https://dev.sum7.eu/genofire/wifictld-analyzer/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
|
[Download All](https://dev.sum7.eu/wifictld/wifictld-analyzer/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
|
||||||
|
|
||||||
[Download Binary](https://dev.sum7.eu/genofire/wifictld-analyzer/-/jobs/artifacts/master/raw/wifictld-analyzer?inline=false&job=build-my-project)
|
[Download Binary](https://dev.sum7.eu/wifictld/wifictld-analyzer/-/jobs/artifacts/master/raw/wifictld-analyzer?inline=false&job=build-my-project)
|
||||||
|
|
||||||
#### Build
|
#### Build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get -u dev.sum7.eu/genofire/wifictld-analyzer
|
go get -u dev.sum7.eu/wifictld/wifictld-analyzer
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configure
|
## Configure
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
|
|
||||||
"github.com/bdlm/log"
|
"github.com/bdlm/log"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/data"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
var DEBUG = false
|
var DEBUG = false
|
||||||
|
|
|
@ -3,7 +3,7 @@ package capture
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/data"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
// WifiClient datatype of wifictld
|
// WifiClient datatype of wifictld
|
||||||
|
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"github.com/bdlm/log"
|
"github.com/bdlm/log"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/controller"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/controller"
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/web"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/web"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ControllerConfig struct {
|
type ControllerConfig struct {
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/bdlm/log"
|
"github.com/bdlm/log"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
// "github.com/bdlm/log"
|
// "github.com/bdlm/log"
|
||||||
"dev.sum7.eu/genofire/golang-lib/database"
|
"dev.sum7.eu/genofire/golang-lib/database"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/data"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Controller) Handler(addr *net.UDPAddr, msg *capture.SocketMSG) (*capture.SocketMSG, error) {
|
func (c *Controller) Handler(addr *net.UDPAddr, msg *capture.SocketMSG) (*capture.SocketMSG, error) {
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
// "github.com/bdlm/log"
|
// "github.com/bdlm/log"
|
||||||
"dev.sum7.eu/genofire/golang-lib/database"
|
"dev.sum7.eu/genofire/golang-lib/database"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/data"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Controller) LearnClient(apIP net.IP, clientWifictl *capture.WifiClient) bool {
|
func (c *Controller) LearnClient(apIP net.IP, clientWifictl *capture.WifiClient) bool {
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"dev.sum7.eu/genofire/golang-lib/database"
|
"dev.sum7.eu/genofire/golang-lib/database"
|
||||||
"github.com/bdlm/log"
|
"github.com/bdlm/log"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/data"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Controller struct {
|
type Controller struct {
|
||||||
|
|
2
main.go
2
main.go
|
@ -1,6 +1,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "dev.sum7.eu/genofire/wifictld-analyzer/cmd"
|
import "dev.sum7.eu/wifictld/wifictld-analyzer/cmd"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
cmd.Execute()
|
cmd.Execute()
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
lib "dev.sum7.eu/genofire/golang-lib/http"
|
lib "dev.sum7.eu/genofire/golang-lib/http"
|
||||||
"dev.sum7.eu/genofire/golang-lib/websocket"
|
"dev.sum7.eu/genofire/golang-lib/websocket"
|
||||||
|
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
|
||||||
"dev.sum7.eu/genofire/wifictld-analyzer/data"
|
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Server struct {
|
type Server struct {
|
||||||
|
|
Loading…
Reference in New Issue