Skip to content

Commit

Permalink
Changing c.browser.Incognito() to c.browser.MustConnect() to enable a…
Browse files Browse the repository at this point in the history
…uthenticated crawling (projectdiscovery#227)

Changing c.browser.Incognito() to c.browser.MustConnect() to enable authenticated crawling projectdiscovery#227
  • Loading branch information
parthmalhotra authored Dec 9, 2022
1 parent 015523b commit 7e929a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/engine/hybrid/hybrid.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ func (c *Crawler) Crawl(rootURL string) error {
}

// for each seed URL we use an incognito isolated session
incognitoBrowser, err := c.browser.Incognito()
// Changed c.browser.Incognito() to c.browser.MustConnect() to enable authenticated crawling #227, #209
incognitoBrowser, err := c.browser.MustConnect()
if err != nil {
return err
}
Expand Down

0 comments on commit 7e929a9

Please sign in to comment.