#65 use full URL in package line
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"math/rand"
|
||||
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// AddCacheBusterQuery modifies query params to add a random parameter key
|
||||
|
||||
@@ -3,7 +3,7 @@ package requestmodifiers
|
||||
import (
|
||||
"strings"
|
||||
//"fmt"
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
var forwardBlacklist map[string]bool
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"ladder/proxychain/requestmodifiers/bot"
|
||||
"github.com/everywall/ladder/proxychain/requestmodifiers/bot"
|
||||
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// MasqueradeAsGoogleBot modifies user agent and x-forwarded for
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
func ModifyDomainWithRegex(matchRegex string, replacement string) proxychain.RequestModification {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
//http "github.com/Danny-Dasilva/fhttp"
|
||||
http "github.com/bogdanfinn/fhttp"
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SetOutgoingCookie modifes a specific cookie name
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
func ModifyPathWithRegex(matchRegex string, replacement string) proxychain.RequestModification {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
//"fmt"
|
||||
"net/url"
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// ModifyQueryParams replaces query parameter values in URL's query params in a ProxyChain's URL.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SetRequestHeader modifies a specific outgoing header
|
||||
|
||||
@@ -5,8 +5,9 @@ import (
|
||||
"net/url"
|
||||
"regexp"
|
||||
|
||||
"ladder/proxychain"
|
||||
tx "ladder/proxychain/responsemodifiers"
|
||||
tx "github.com/everywall/ladder/proxychain/responsemodifiers"
|
||||
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
const archivistUrl string = "https://archive.is/latest"
|
||||
|
||||
@@ -3,7 +3,7 @@ package requestmodifiers
|
||||
import (
|
||||
"net/url"
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
const googleCacheUrl string = "https://webcache.googleusercontent.com/search?q=cache:"
|
||||
|
||||
@@ -4,8 +4,9 @@ import (
|
||||
"net/url"
|
||||
"regexp"
|
||||
|
||||
"ladder/proxychain"
|
||||
tx "ladder/proxychain/responsemodifiers"
|
||||
tx "github.com/everywall/ladder/proxychain/responsemodifiers"
|
||||
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
const waybackUrl string = "https://web.archive.org/web/"
|
||||
|
||||
@@ -14,7 +14,7 @@ import (
|
||||
//"net/http"
|
||||
*/
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// resolveWithGoogleDoH resolves DNS using Google's DNS-over-HTTPS
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofOrigin modifies the origin header
|
||||
|
||||
@@ -3,8 +3,9 @@ package requestmodifiers
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"ladder/proxychain"
|
||||
tx "ladder/proxychain/responsemodifiers"
|
||||
tx "github.com/everywall/ladder/proxychain/responsemodifiers"
|
||||
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrer modifies the referrer header.
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromBaiduSearch modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromBingSearch modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromGoogleSearch modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromLinkedInPost modifies the referrer header
|
||||
|
||||
@@ -3,7 +3,7 @@ package requestmodifiers
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromNaverSearch modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromPinterestPost modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromQQPost modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromRedditPost modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromTumblrPost modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromTwitterPost modifies the referrer header
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromVkontaktePost modifies the referrer header
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"math/rand"
|
||||
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofReferrerFromWeiboPost modifies the referrer header
|
||||
|
||||
@@ -4,8 +4,9 @@ import (
|
||||
_ "embed"
|
||||
"strings"
|
||||
|
||||
"ladder/proxychain"
|
||||
tx "ladder/proxychain/responsemodifiers"
|
||||
tx "github.com/everywall/ladder/proxychain/responsemodifiers"
|
||||
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// https://github.com/faisalman/ua-parser-js/tree/master
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package requestmodifiers
|
||||
|
||||
import (
|
||||
"ladder/proxychain"
|
||||
"github.com/everywall/ladder/proxychain"
|
||||
)
|
||||
|
||||
// SpoofXForwardedFor modifies the X-Forwarded-For header
|
||||
|
||||
Reference in New Issue
Block a user