fix: updating default interactsh server to use

This commit is contained in:
sandeep 2021-12-13 18:42:01 +05:30
parent 78c7dc5e4f
commit aae06e61bd
6 changed files with 7 additions and 7 deletions

View File

@ -142,7 +142,7 @@ CONFIGURATIONS:
-ca, -client-ca string client certificate authority file (PEM-encoded) used for authenticating against scanned hosts -ca, -client-ca string client certificate authority file (PEM-encoded) used for authenticating against scanned hosts
INTERACTSH: INTERACTSH:
-iserver, -interactsh-server string interactsh server url for self-hosted instance (default "https://interactsh.com") -iserver, -interactsh-server string interactsh server url for self-hosted instance (default "https://interact.sh")
-itoken, -interactsh-token string authentication token for self-hosted interactsh server -itoken, -interactsh-token string authentication token for self-hosted interactsh server
-interactions-cache-size int number of requests to keep in the interactions cache (default 5000) -interactions-cache-size int number of requests to keep in the interactions cache (default 5000)
-interactions-eviction int number of seconds to wait before evicting requests from cache (default 60) -interactions-eviction int number of seconds to wait before evicting requests from cache (default 60)

View File

@ -133,7 +133,7 @@ Nuclei是一款注重于可配置性、可扩展性和易用性的基于模板
-ev, env-vars 在模板中使用环境变量 -ev, env-vars 在模板中使用环境变量
交互: 交互:
-inserver, -ineractsh-server string 使用interactsh反连检测平台默认为"https://interactsh.com" -inserver, -ineractsh-server string 使用interactsh反连检测平台默认为"https://interact.sh"
-itoken, -interactsh-token string 指定反连检测平台的身份凭证 -itoken, -interactsh-token string 指定反连检测平台的身份凭证
-interactions-cache-size int 指定保存在交互缓存中的请求数默认5000 -interactions-cache-size int 指定保存在交互缓存中的请求数默认5000
-interactions-eviction int 聪缓存中删除请求前等待的时间默认为60秒 -interactions-eviction int 聪缓存中删除请求前等待的时间默认为60秒

View File

@ -105,7 +105,7 @@ on extensive configurability, massive extensibility and ease of use.`)
) )
createGroup(flagSet, "interactsh", "interactsh", createGroup(flagSet, "interactsh", "interactsh",
flagSet.StringVarP(&options.InteractshURL, "interactsh-server", "iserver", "https://interactsh.com", "interactsh server url for self-hosted instance"), flagSet.StringVarP(&options.InteractshURL, "interactsh-server", "iserver", "https://interact.sh", "interactsh server url for self-hosted instance"),
flagSet.StringVarP(&options.InteractshToken, "interactsh-token", "itoken", "", "authentication token for self-hosted interactsh server"), flagSet.StringVarP(&options.InteractshToken, "interactsh-token", "itoken", "", "authentication token for self-hosted interactsh server"),
flagSet.IntVar(&options.InteractionsCacheSize, "interactions-cache-size", 5000, "number of requests to keep in the interactions cache"), flagSet.IntVar(&options.InteractionsCacheSize, "interactions-cache-size", 5000, "number of requests to keep in the interactions cache"),
flagSet.IntVar(&options.InteractionsEviction, "interactions-eviction", 60, "number of seconds to wait before evicting requests from cache"), flagSet.IntVar(&options.InteractionsEviction, "interactions-eviction", 60, "number of seconds to wait before evicting requests from cache"),

View File

@ -26,7 +26,7 @@ type Config struct {
const nucleiConfigFilename = ".templates-config.json" const nucleiConfigFilename = ".templates-config.json"
// Version is the current version of nuclei // Version is the current version of nuclei
const Version = `2.5.5-dev` const Version = `2.5.5`
func getConfigDetails() (string, error) { func getConfigDetails() (string, error) {
homeDir, err := os.UserHomeDir() homeDir, err := os.UserHomeDir()

View File

@ -109,7 +109,7 @@ func New(options *Options) (*Client, error) {
// NewDefaultOptions returns the default options for interactsh client // NewDefaultOptions returns the default options for interactsh client
func NewDefaultOptions(output output.Writer, reporting *reporting.Client, progress progress.Progress) *Options { func NewDefaultOptions(output output.Writer, reporting *reporting.Client, progress progress.Progress) *Options {
return &Options{ return &Options{
ServerURL: "https://interactsh.com", ServerURL: "https://interact.sh",
CacheSize: 5000, CacheSize: 5000,
Eviction: 60 * time.Second, Eviction: 60 * time.Second,
ColldownPeriod: 5 * time.Second, ColldownPeriod: 5 * time.Second,
@ -265,7 +265,7 @@ func (c *Client) RequestEvent(interactshURLs []string, data *RequestData) {
// HasMatchers returns true if an operator has interactsh part // HasMatchers returns true if an operator has interactsh part
// matchers or extractors. // matchers or extractors.
// //
// Used by requests to show result or not depending on presence of interactsh.com // Used by requests to show result or not depending on presence of interact.sh
// data part matchers. // data part matchers.
func HasMatchers(op *operators.Operators) bool { func HasMatchers(op *operators.Operators) bool {
if op == nil { if op == nil {

View File

@ -58,7 +58,7 @@ var DefaultOptions = &types.Options{
Templates: []string{}, Templates: []string{},
ExcludedTemplates: []string{}, ExcludedTemplates: []string{},
CustomHeaders: []string{}, CustomHeaders: []string{},
InteractshURL: "https://interactsh.com", InteractshURL: "https://interact.sh",
InteractionsCacheSize: 5000, InteractionsCacheSize: 5000,
InteractionsEviction: 60, InteractionsEviction: 60,
InteractionsCoolDownPeriod: 5, InteractionsCoolDownPeriod: 5,