migrate from genofire to wifictld

master
Martin/Geno 4 years ago
parent fca7f5353c
commit f07298c40c
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
  1. 12
      README.md
  2. 2
      capture/socket_msg.go
  3. 2
      capture/wifi_client.go
  4. 6
      cmd/controller.go
  5. 2
      cmd/dump.go
  6. 4
      controller/handler.go
  7. 4
      controller/learn.go
  8. 4
      controller/main.go
  9. 2
      main.go
  10. 4
      web/webserver.go

@ -1,7 +1,7 @@
# wifictld-analyzer
[![Build Status](https://dev.sum7.eu/genofire/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)
[![GoDoc](https://godoc.org/dev.sum7.eu/genofire/wifictld-analyzer?status.svg)](https://godoc.org/dev.sum7.eu/genofire/wifictld-analyzer)
[![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/wifictld/wifictld-analyzer)](https://goreportcard.com/report/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
@ -10,14 +10,14 @@
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
```bash
go get -u dev.sum7.eu/genofire/wifictld-analyzer
go get -u dev.sum7.eu/wifictld/wifictld-analyzer
```
## Configure

@ -7,7 +7,7 @@ import (
"github.com/bdlm/log"
"dev.sum7.eu/genofire/wifictld-analyzer/data"
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
)
var DEBUG = false

@ -3,7 +3,7 @@ package capture
import (
"time"
"dev.sum7.eu/genofire/wifictld-analyzer/data"
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
)
// WifiClient datatype of wifictld

@ -11,9 +11,9 @@ import (
"github.com/bdlm/log"
"github.com/spf13/cobra"
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
"dev.sum7.eu/genofire/wifictld-analyzer/controller"
"dev.sum7.eu/genofire/wifictld-analyzer/web"
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
"dev.sum7.eu/wifictld/wifictld-analyzer/controller"
"dev.sum7.eu/wifictld/wifictld-analyzer/web"
)
type ControllerConfig struct {

@ -10,7 +10,7 @@ import (
"github.com/bdlm/log"
"github.com/spf13/cobra"
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
)
var (

@ -7,8 +7,8 @@ import (
// "github.com/bdlm/log"
"dev.sum7.eu/genofire/golang-lib/database"
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
"dev.sum7.eu/genofire/wifictld-analyzer/data"
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
)
func (c *Controller) Handler(addr *net.UDPAddr, msg *capture.SocketMSG) (*capture.SocketMSG, error) {

@ -7,8 +7,8 @@ import (
// "github.com/bdlm/log"
"dev.sum7.eu/genofire/golang-lib/database"
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
"dev.sum7.eu/genofire/wifictld-analyzer/data"
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
)
func (c *Controller) LearnClient(apIP net.IP, clientWifictl *capture.WifiClient) bool {

@ -7,8 +7,8 @@ import (
"dev.sum7.eu/genofire/golang-lib/database"
"github.com/bdlm/log"
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
"dev.sum7.eu/genofire/wifictld-analyzer/data"
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
)
type Controller struct {

@ -1,6 +1,6 @@
package main
import "dev.sum7.eu/genofire/wifictld-analyzer/cmd"
import "dev.sum7.eu/wifictld/wifictld-analyzer/cmd"
func main() {
cmd.Execute()

@ -11,8 +11,8 @@ import (
lib "dev.sum7.eu/genofire/golang-lib/http"
"dev.sum7.eu/genofire/golang-lib/websocket"
"dev.sum7.eu/genofire/wifictld-analyzer/capture"
"dev.sum7.eu/genofire/wifictld-analyzer/data"
"dev.sum7.eu/wifictld/wifictld-analyzer/capture"
"dev.sum7.eu/wifictld/wifictld-analyzer/data"
)
type Server struct {

Loading…
Cancel
Save