maurosoria / dirsearch

Web path scanner
11.58k stars 2.29k forks source link

For 'almost' static pages returned found. #1279

Closed kosyan62 closed 1 year ago

kosyan62 commented 1 year ago

What is the current behavior?

When I'm trying to scan not static page, which is returns almost similar page content, all results will be "200 found"

Dirsearch make flag DynamicContainerParser._is_static = True because of first test for page's diff showed that pages are similar. Somewhere after start of scan some id inside page changes, but because of flag is_static Dirsearch doesn't use diff with _differ_compare we got wrong results of page's difference

What is the expected behavior?

Compare pages with differ_compare if page's content doesn't equal to base_content in DynamicCompareScanner

image