From dc91758118100d840f261e056cab74c8c3af75c7 Mon Sep 17 00:00:00 2001 From: delorean Date: Thu, 5 Sep 2024 21:54:34 -0500 Subject: [PATCH] yeah yeah --- .gitignore | 1 + README.md | 7 +++++++ go.mod | 6 +++--- go.sum | 3 ++- 4 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e660fd9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bin/ diff --git a/README.md b/README.md index 28d47fe..6404057 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,13 @@ > scans for ssh/ftp honeypots and loads arbitrary payloads onto them, such as zip bombs +## installation + +grab a binary your architecture from **Releases** + +*or* + +```git clone https://git.supernets.org/delorean/potknocker.git && cd potknocker/cmd/potknocker && go build -o potknocker main.go && ./potknocker``` ## usage diff --git a/go.mod b/go.mod index b4c2cbe..e844635 100644 --- a/go.mod +++ b/go.mod @@ -3,16 +3,16 @@ module potknocker go 1.22.6 require ( - github.com/pkg/sftp v1.13.6 + github.com/jlaffaye/ftp v0.2.0 + github.com/melbahja/goph v1.4.0 golang.org/x/crypto v0.26.0 ) require ( github.com/hashicorp/errwrap v1.0.0 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/jlaffaye/ftp v0.2.0 // indirect github.com/kr/fs v0.1.0 // indirect - github.com/melbahja/goph v1.4.0 // indirect github.com/pkg/errors v0.9.1 // indirect + github.com/pkg/sftp v1.13.6 // indirect golang.org/x/sys v0.23.0 // indirect ) diff --git a/go.sum b/go.sum index d752177..3fc7cec 100644 --- a/go.sum +++ b/go.sum @@ -22,8 +22,9 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=