diff --git a/Readmd.md b/Readmd.md new file mode 100644 index 0000000..c5092f9 --- /dev/null +++ b/Readmd.md @@ -0,0 +1,7 @@ +# SpoofDPI + +## build +`go build ./...` + +## install +`go install github.com/jerry901/SpoofDPI/cmd/spoof-dpi` diff --git a/cmd/spoof-dpi/main.go b/cmd/spoof-dpi/main.go index 5dc991b..6dbe0b6 100644 --- a/cmd/spoof-dpi/main.go +++ b/cmd/spoof-dpi/main.go @@ -2,8 +2,10 @@ package main import ( "fmt" + "github.com/jerry901/SpoofDPI/hello" ) func main() { fmt.Println("Hello, world!") + hello.hello() } diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..a4497b5 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module SpoofDPI + +go 1.17 diff --git a/hello/hello.go b/hello/hello.go new file mode 100644 index 0000000..0c27a41 --- /dev/null +++ b/hello/hello.go @@ -0,0 +1,11 @@ +package hello + + +import ( + "fmt" +) + + +func hello() { + fmt.Print("hello") +} diff --git a/spoof-dpi b/spoof-dpi new file mode 100755 index 0000000..ac2e10a Binary files /dev/null and b/spoof-dpi differ