tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/2771-scope-exclude-path-issueArachni: Discussion 2014-11-20T15:59:00Ztag:support.arachni-scanner.com,2012-07-01:Comment/353417692014-11-20T15:21:46Z2014-11-20T15:21:48Z--scope-exclude-path issue<div><p>Hey,</p>
<p>it's the part II of the story here: <a href=
"https://github.com/Arachni/arachni/issues/520">https://github.com/Arachni/arachni/issues/520</a></p>
<p>So I defined that as you put there, but the scanner somehow
didn't pick it up. Am I using it correctly? I was hoping that the
scanner would take this pattern while inspecting the path, but it
seems that's not the case.</p>
<p>The report is still full of paths like that:<br>
Images/ui-bg_flat_0_aaaaaa_40x100.png<br>
Images/ui-bg_glass_75_e6e6e6_1x400.png<br>
Images/ui-icons_222222_256x240.png<br>
bundles/jquerynew</p></div>bewelltag:support.arachni-scanner.com,2012-07-01:Comment/353417692014-11-20T15:31:16Z2014-11-20T15:31:16Z--scope-exclude-path issue<div><p>Can you show me exactly how you're running it please?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/353417692014-11-20T15:37:11Z2014-11-20T15:37:13Z--scope-exclude-path issue<div><p>well, I'm adding --scope-exclude-pattern=Images
--scope-exclude-pattern=bundles<br>
next to other arguments to my scan.</p>
<p>The whole line looks like that variables defined plus the
arguments above:<br>
arachni $TEST_URL --report-save-path=$REPORTS_PARAM_RAW
--scope-extend-paths=$TESTS_FOLDER/$URL_BASE"_URLs.txt"
--http-user-agent=$User_Agent</p></div>bewelltag:support.arachni-scanner.com,2012-07-01:Comment/353417692014-11-20T15:45:05Z2014-11-20T15:45:05Z--scope-exclude-path issue<div><p>Strange, does it work when using the other way I mentioned? As a
regular expression that combines both?</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/353417692014-11-20T15:56:52Z2014-11-20T15:56:56Z--scope-exclude-path issue<div><p>I thought that's for cases when you have <em>both</em> values in
the path. It's working though, thanks!</p></div>bewelltag:support.arachni-scanner.com,2012-07-01:Comment/353417692014-11-20T15:59:00Z2014-11-20T15:59:00Z--scope-exclude-path issue<div><p>No problem, you should lookup regular expressions if you're
going to be using those scope options extensively, it'll save you
some time.</p>
<p>Happy scanning. :)</p></div>Tasos Laskos