From 67072445e11137bb0a222f94194f6b25f1597a96 Mon Sep 17 00:00:00 2001 From: Gregory Boddin Date: Thu, 11 Nov 2021 17:33:21 +0100 Subject: [PATCH] Removing old gitlab dep --- go.mod | 1 - go.sum | 2 -- l9plugin.go | 7 +------ 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 8f11419..152ff45 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,5 @@ go 1.15 require ( github.com/PuerkitoBio/goquery v1.6.1 github.com/andybalholm/cascadia v1.2.0 // indirect - gitlab.nobody.run/tbi/socksme v0.0.0-20201130024528-3ad02d4108c5 golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 // indirect ) diff --git a/go.sum b/go.sum index 747b5a5..8bfc557 100644 --- a/go.sum +++ b/go.sum @@ -3,8 +3,6 @@ github.com/PuerkitoBio/goquery v1.6.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBK github.com/andybalholm/cascadia v1.1.0/go.mod h1:GsXiBklL0woXo1j/WYWtSYYC4ouU9PqHO0sqidkEA4Y= github.com/andybalholm/cascadia v1.2.0 h1:vuRCkM5Ozh/BfmsaTm26kbjm0mIOM3yS5Ek/F5h18aE= github.com/andybalholm/cascadia v1.2.0/go.mod h1:YCyR8vOZT9aZ1CHEd8ap0gMVm2aFgxBp0T0eFw1RUQY= -gitlab.nobody.run/tbi/socksme v0.0.0-20201130024528-3ad02d4108c5 h1:OUBbWsRDwvD6Nu6rP8PN6xGxIxXpVPBPBE9iuvDQH90= -gitlab.nobody.run/tbi/socksme v0.0.0-20201130024528-3ad02d4108c5/go.mod h1:2R0aT7bhH9+xiSielZpKS/TL4nTki1jxOCCgXN8BzV8= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= diff --git a/l9plugin.go b/l9plugin.go index 4fb8a70..94c2b0b 100644 --- a/l9plugin.go +++ b/l9plugin.go @@ -6,7 +6,6 @@ import ( "crypto/tls" "fmt" "github.com/PuerkitoBio/goquery" - "gitlab.nobody.run/tbi/socksme" "net" "net/http" "strings" @@ -62,10 +61,6 @@ func (plugin ServicePluginBase) DialContext(ctx context.Context, network string, } return conn, err - // If you want to use a socks proxy ... Making network.go its own library soon. - //TODO : implement socks proxy support - return socksme.NewDialer("tcp", fmt.Sprintf("127.0.0.1:2250")). - DialContext(ctx, "tcp", addr) } func (plugin ServicePluginBase) GetHttpClient(ctx context.Context, ip string, port string) *http.Client { @@ -177,4 +172,4 @@ func (request *WebPluginRequest) AddTag(tag string) { if !request.HasTag(tag) { request.Tags = append(request.Tags, tag) } -} \ No newline at end of file +}