fix cycletls imports
This commit is contained in:
2
go.mod
2
go.mod
@@ -3,7 +3,7 @@ module ladder
|
|||||||
go 1.21.1
|
go 1.21.1
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Danny-Dasilva/CycleTLS/cycletls v0.0.0-20231128002513-4df48e6bd744
|
github.com/Danny-Dasilva/CycleTLS/cycletls v1.0.23
|
||||||
github.com/Danny-Dasilva/fhttp v0.0.0-20231127034941-9494939f30fa
|
github.com/Danny-Dasilva/fhttp v0.0.0-20231127034941-9494939f30fa
|
||||||
github.com/akamensky/argparse v1.4.0
|
github.com/akamensky/argparse v1.4.0
|
||||||
github.com/gofiber/fiber/v2 v2.50.0
|
github.com/gofiber/fiber/v2 v2.50.0
|
||||||
|
|||||||
2
go.sum
2
go.sum
@@ -10,6 +10,8 @@ git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGy
|
|||||||
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
|
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
|
||||||
github.com/Danny-Dasilva/CycleTLS/cycletls v0.0.0-20231128002513-4df48e6bd744 h1:k3rvW2jPAY5HWey6IuK7rMJhOqN7xOArYl8MjXaqjxA=
|
github.com/Danny-Dasilva/CycleTLS/cycletls v0.0.0-20231128002513-4df48e6bd744 h1:k3rvW2jPAY5HWey6IuK7rMJhOqN7xOArYl8MjXaqjxA=
|
||||||
github.com/Danny-Dasilva/CycleTLS/cycletls v0.0.0-20231128002513-4df48e6bd744/go.mod h1:rbto+nJHyL8g0cEO03d+BGlkFnrTQVQmnZboV9wFZKE=
|
github.com/Danny-Dasilva/CycleTLS/cycletls v0.0.0-20231128002513-4df48e6bd744/go.mod h1:rbto+nJHyL8g0cEO03d+BGlkFnrTQVQmnZboV9wFZKE=
|
||||||
|
github.com/Danny-Dasilva/CycleTLS/cycletls v1.0.23 h1:Vi9GW6VwXsJz3TMPD366eH51x6+1LSlAyIBu3mmOASA=
|
||||||
|
github.com/Danny-Dasilva/CycleTLS/cycletls v1.0.23/go.mod h1:8k2vgurMNmte+ce8U5VFPaqoTQfYnykQfFqVX4bNxnU=
|
||||||
github.com/Danny-Dasilva/fhttp v0.0.0-20220418170016-5ea1c560e6a8/go.mod h1:t534vrahRNn9ax1tRiYSUvwJSa9jWaYYgETlfodBPm4=
|
github.com/Danny-Dasilva/fhttp v0.0.0-20220418170016-5ea1c560e6a8/go.mod h1:t534vrahRNn9ax1tRiYSUvwJSa9jWaYYgETlfodBPm4=
|
||||||
github.com/Danny-Dasilva/fhttp v0.0.0-20220524230104-f801520157d6/go.mod h1:2IT2IFG+d+zzFuj3+ksGtVytcCBsF402zMNWHsWhD2U=
|
github.com/Danny-Dasilva/fhttp v0.0.0-20220524230104-f801520157d6/go.mod h1:2IT2IFG+d+zzFuj3+ksGtVytcCBsF402zMNWHsWhD2U=
|
||||||
github.com/Danny-Dasilva/fhttp v0.0.0-20231127034941-9494939f30fa h1:NTiEQqte2l3BrrE0WznNwxO2urBhkw2vztdhJq1XVg0=
|
github.com/Danny-Dasilva/fhttp v0.0.0-20231127034941-9494939f30fa h1:NTiEQqte2l3BrrE0WznNwxO2urBhkw2vztdhJq1XVg0=
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
//"net/http"
|
||||||
//http "github.com/Danny-Dasilva/fhttp"
|
http "github.com/Danny-Dasilva/fhttp"
|
||||||
|
|
||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
|
|||||||
@@ -90,8 +90,7 @@ func masqueradeAsTrustedBot(botUA string, botIP string, ja3 string) proxychain.R
|
|||||||
|
|
||||||
if ja3 != "" {
|
if ja3 != "" {
|
||||||
chain.AddOnceRequestModifications(
|
chain.AddOnceRequestModifications(
|
||||||
//SpoofJA3fingerprint(ja3, botUA),
|
SpoofJA3fingerprint(ja3, botUA),
|
||||||
SpoofJA3fingerprint(ja3, ""),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package requestmodifers
|
package requestmodifers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
//"net/http"
|
||||||
//http "github.com/Danny-Dasilva/fhttp"
|
http "github.com/Danny-Dasilva/fhttp"
|
||||||
|
|
||||||
"ladder/proxychain"
|
"ladder/proxychain"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
//"net/http"
|
||||||
//http "github.com/Danny-Dasilva/fhttp"
|
http "github.com/Danny-Dasilva/fhttp"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"ladder/proxychain"
|
"ladder/proxychain"
|
||||||
|
|||||||
@@ -1,15 +1,5 @@
|
|||||||
package requestmodifers
|
package requestmodifers
|
||||||
|
|
||||||
import "ladder/proxychain"
|
|
||||||
|
|
||||||
// TODO: fix
|
|
||||||
func SpoofJA3fingerprint(ja3 string, userAgent string) proxychain.RequestModification {
|
|
||||||
return func(chain *proxychain.ProxyChain) error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
import (
|
import (
|
||||||
"github.com/Danny-Dasilva/CycleTLS/cycletls"
|
"github.com/Danny-Dasilva/CycleTLS/cycletls"
|
||||||
http "github.com/Danny-Dasilva/fhttp"
|
http "github.com/Danny-Dasilva/fhttp"
|
||||||
@@ -54,4 +44,3 @@ func SpoofJA3fingerprintWithProxy(ja3 string, userAgent string, proxy proxy.Cont
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|||||||
@@ -2,7 +2,8 @@ package responsemodifers
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
//"net/http"
|
||||||
|
http "github.com/Danny-Dasilva/fhttp"
|
||||||
|
|
||||||
"ladder/proxychain"
|
"ladder/proxychain"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user