You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a much bigger push that it probably should be but it is working code I wanted to share.
I wanted to be able to disable the overlays as part of a scan. This seems to work. It needs review but with an increasing number of sites using overlays, this is an important option for site scanning tools.
Thanks for sharing! A couple questions to clarify/help me understand:
I roughly understand sites can have page load overlays (e.g. divs) that prevent proper scanning of the actual page content
Is there a site I can scan with this code, to understand what the overlays blocked challenge?
There's added compatibility code so the crawler doesn't get blocked. There were 403 errors you encountered when you tried scanning certain sites, hence added those code? After adding those new lines of code, the scan runs smoothly?
@younglim Think of this as a proof of concept. There are definitely going to be better ways to accomplish this.
Yes. This is just about disabling the 3rd party Javascript that the site is running. It is possible that it could do more.
I was looking for a list of sites with overlays. Mighty be easiest to just go to their websites. I'll try to get you a better list, but until then: https://userway.org/
Yes, I ran into some problems with the crawler getting blocked. I wasn't sure if that was tied to the overlay or the CDN.
Feel free to close this PR. I wanted to share the code and the idea primarily.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a much bigger push that it probably should be but it is working code I wanted to share.
I wanted to be able to disable the overlays as part of a scan. This seems to work. It needs review but with an increasing number of sites using overlays, this is an important option for site scanning tools.