fix cycletls imports
This commit is contained in:
@@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"net/http"
|
||||
//http "github.com/Danny-Dasilva/fhttp"
|
||||
//"net/http"
|
||||
http "github.com/Danny-Dasilva/fhttp"
|
||||
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
@@ -90,8 +90,7 @@ func masqueradeAsTrustedBot(botUA string, botIP string, ja3 string) proxychain.R
|
||||
|
||||
if ja3 != "" {
|
||||
chain.AddOnceRequestModifications(
|
||||
//SpoofJA3fingerprint(ja3, botUA),
|
||||
SpoofJA3fingerprint(ja3, ""),
|
||||
SpoofJA3fingerprint(ja3, botUA),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package requestmodifers
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
//http "github.com/Danny-Dasilva/fhttp"
|
||||
//"net/http"
|
||||
http "github.com/Danny-Dasilva/fhttp"
|
||||
|
||||
"ladder/proxychain"
|
||||
)
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net"
|
||||
"net/http"
|
||||
//http "github.com/Danny-Dasilva/fhttp"
|
||||
//"net/http"
|
||||
http "github.com/Danny-Dasilva/fhttp"
|
||||
"time"
|
||||
|
||||
"ladder/proxychain"
|
||||
|
||||
@@ -1,15 +1,5 @@
|
||||
package requestmodifers
|
||||
|
||||
import "ladder/proxychain"
|
||||
|
||||
// TODO: fix
|
||||
func SpoofJA3fingerprint(ja3 string, userAgent string) proxychain.RequestModification {
|
||||
return func(chain *proxychain.ProxyChain) error {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
import (
|
||||
"github.com/Danny-Dasilva/CycleTLS/cycletls"
|
||||
http "github.com/Danny-Dasilva/fhttp"
|
||||
@@ -54,4 +44,3 @@ func SpoofJA3fingerprintWithProxy(ja3 string, userAgent string, proxy proxy.Cont
|
||||
return nil
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -2,7 +2,8 @@ package responsemodifers
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
//"net/http"
|
||||
http "github.com/Danny-Dasilva/fhttp"
|
||||
|
||||
"ladder/proxychain"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user