Skip to content

Commit

Permalink
Update site content
Browse files Browse the repository at this point in the history
From:
zaproxy/zaproxy-website@fd294a9

Signed-off-by: zapbot <12745184+zapbot@users.noreply.github.com>
  • Loading branch information
zapbot committed Jan 9, 2024
1 parent fa7417d commit 8793a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faq/details/setting-up-zap-to-test-dvwa/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ <h2>Setting up ZAP to Test Damn Vulnerable Web App (DVWA)</h2>
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">while</span> (<span style="color:#a6e22e">it</span>.<span style="color:#a6e22e">hasNext</span>()) {
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">var</span> <span style="color:#a6e22e">element</span> <span style="color:#f92672">=</span> <span style="color:#a6e22e">it</span>.<span style="color:#a6e22e">next</span>();
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">if</span> (<span style="color:#a6e22e">element</span>.<span style="color:#a6e22e">getAttributeValue</span>(<span style="color:#e6db74">&#39;name&#39;</span>) <span style="color:#f92672">==</span> <span style="color:#a6e22e">fieldName</span>) {
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> <span style="color:#a6e22e">element</span>.<span style="color:#960050;background-color:#1e0010">g</span><span style="color:#a6e22e">etAttributeValue</span>(<span style="color:#e6db74">&#39;value&#39;</span>);
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> <span style="color:#a6e22e">element</span>.<span style="color:#a6e22e">getAttributeValue</span>(<span style="color:#e6db74">&#39;value&#39;</span>);
</span></span><span style="display:flex;"><span> }
</span></span><span style="display:flex;"><span> }
</span></span><span style="display:flex;"><span> <span style="color:#66d9ef">return</span> <span style="color:#e6db74">&#39;&#39;</span>;
Expand Down

0 comments on commit 8793a35

Please sign in to comment.