Excluded Paths

You can exclude specific parts of a web application from the scan by specifying paths to exclude based on regular expressions. For example:

Description

Regular Expression

Will Match (Will Exclude)

Will NOT Match (Will NOT Exclude)

Exclude specific folder

^\/sub1\/sub2(\/.*)?$

/sub1/sub2

/sub1/sub2/abc

/sub2

/sub1/sub2

Exclude URLs more than 2-level deep

^(\/.+){3,}

/sub1/sub2/sub3

/sub1/sub2/sub.html?qry=abc

/sub1

/sub1/sub2

/sub1/sub2.php?qry=def

πŸ” Redirections and Excluded Paths

If your target URL protocol is redirected (typically from HTTP to HTTPS), any excluded path directives will not apply. If your target employs protocol redirection, make sure that the target is specified with the final protocol to ensure that any excluded paths you specify are indeed excluded.

 

Β« Back to the Acunetix Support Page