|
9 | 9 | <BODY> |
10 | 10 | <H1>Scripts</H1> |
11 | 11 | <p> |
12 | | -ZAP supports scripts that can be embedded within ZAP and can access internal ZAP data structures and classes. |
13 | | -These scripts allow you to dynamically enhance ZAP from within ZAP. |
| 12 | +O ZAP suporta scripts que podem ser incorporados ao próprio ZAP e acessar as estruturas de dados internas e classes do ZAP. |
| 13 | +Esses scripts permitem que você aprimore dinamicamente o ZAP de dentro do próprio ZAP. |
14 | 14 | <p> |
15 | | -ZAP supports any scripting language that supports JSR 223 (http://www.jcp.org/en/jsr/detail?id=223) , including: |
| 15 | +O ZAP suporta qualquer linguagem de script que suporte o JSR 223 (http://www.jcp.org/en/jsr/detail?id=223), incluindo: |
16 | 16 | <ul> |
17 | | -<li>ECMAScript / JavaScript (using <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/">Nashorn engine</a>, included by default)</li> |
18 | | -<li>Zest <a href="https://developer.mozilla.org/en-US/docs/zest">https://developer.mozilla.org/en-US/docs/zest</a> (included by default)</li> |
| 17 | +<li>ECMAScript/JavaScript (utilizando o motor Nashorn, incluído por padrão)</li> |
| 18 | +<li>Zest (incluído por padrão). Você pode obter mais informações sobre o Zest em: [https://developer.mozilla.org/en-US/docs/zest](https://developer.mozilla.org/en-US/docs/zest).</li> |
19 | 19 | <li>Groovy <a href="https://groovy-lang.org/">https://groovy-lang.org/</a></li> |
20 | 20 | <li>Kotlin <a href="https://kotlinlang.org/">https://kotlinlang.org/</a></li> |
21 | 21 | <li>Python <a href="https://www.jython.org">https://www.jython.org</a></li> |
22 | 22 | <li>Ruby - <a href="https://jruby.org/">https://jruby.org/</a></li> |
23 | | -<li>and many more...</li> |
| 23 | +<li>e muitos outros...</li> |
24 | 24 | </ul> |
25 | 25 |
|
26 | | -<strong>WARNING - scripts run with the same permissions as ZAP, so do not run any scripts that you do not trust!</strong> |
| 26 | +<strong>AVISO - Os scripts são executados com as mesmas permissões que o ZAP, portanto, não execute scripts que você não confia!</strong> |
27 | 27 |
|
28 | | -<H2>Script Types</H2> |
29 | | -Different types of scripts are supported: |
| 28 | +<H2>Tipos de scripts</H2> |
| 29 | +Diferentes tipos de scripts são suportados: |
30 | 30 | <ul> |
31 | | -<li>Active Rules - these run as part of the Active Scanner and can be individually enabled</li> |
32 | | -<li>Authentication - scripts that are invoked when authentication is performed for a Context. |
33 | | -To be used, they need to be selected when configuring the Script-Based Authentication Method for a Context. </li> |
34 | | -<li>Extender - scripts which can add new functionality, including graphical elements and new API end points</li> |
35 | | -<li>HTTP Sender - scripts that run against every request/response sent/received by ZAP. This includes the proxied messages, messages sent during active scanner, fuzzer, ...</li> |
36 | | -<li>Input Vector - scripts for defining exactly what ZAP should attack. They can also change how any URL is represented in the Sites Tree</li> |
37 | | -<li>Passive Rules - these run as part of the Passive Scanner and can be individually enabled</li> |
38 | | -<li>Proxy - these run 'inline', can change every request and response and can be individually enabled. They can also trigger break points</li> |
39 | | -<li>Session Management - scripts that define how an application manages sessions</li> |
40 | | -<li>Stand Alone - scripts that are self contained and are only run when your start them manually</li> |
41 | | -<li>Targeted - scripts that are invoked with a target URL and are only run when your start them manually</li> |
| 31 | +<li>Active Rules - esses scripts são executados como parte do Active Scanner e podem ser habilitados individualmente.</li> |
| 32 | +<li>Autenticação - scripts que são invocados quando a autenticação é realizada para um Contexto. |
| 33 | +Para serem utilizados, eles precisam ser selecionados ao configurar o Método de Autenticação Baseado em Script para um Contexto. </li> |
| 34 | +<li>Extender - scripts que podem adicionar novas funcionalidades, incluindo elementos gráficos e novos pontos de extremidade da API.</li> |
| 35 | +<li>HTTP Sender - scripts que são executados em todas as requisições/respostas enviadas/recebidas pelo ZAP. Isso inclui as mensagens intermediadas, mensagens enviadas durante o scanner ativo, fuzzing, e assim por diante.</li> |
| 36 | +<li>Input Vector - scripts para definir exatamente o que o ZAP deve atacar. Eles também podem alterar como qualquer URL é representada na estrutura de sites (Sites Tree) do ZAP.</li> |
| 37 | +<li>Passive Rules - esses scripts são executados como parte do Passive Scanner e podem ser habilitados individualmente.</li> |
| 38 | +<li>Proxy - esses scripts são executados "inline", ou seja, podem alterar cada requisição e resposta e podem ser habilitados individualmente. Eles também podem acionar pontos de interrupção (breakpoints).</li> |
| 39 | +<li>Gerenciamento de Sessão - scripts que definem como uma aplicação gerencia as sessões.</li> |
| 40 | +<li>Stand Alone - scripts que são independentes e são executados apenas quando você os inicia manualmente.</li> |
| 41 | +<li>Targeted - scripts que são invocados com uma URL de destino e são executados apenas quando você os inicia manualmente.</li> |
42 | 42 | </ul> |
43 | | -<strong>Note:</strong> Add-ons can add additional types of scripts, which should be described in the help of the corresponding add-on. |
| 43 | +<strong>Nota:</strong> Os complementos podem adicionar tipos adicionais de scripts, os quais devem ser descritos na documentação do respectivo complemento. |
44 | 44 | <p> |
45 | | -For more details on how to run ZAP scripts see the Script Console add-on help pages. |
| 45 | +Para obter mais detalhes sobre como executar scripts no ZAP, consulte as páginas de ajuda do complemento Script Console. |
46 | 46 |
|
47 | | -<H2>See also</H2> |
| 47 | +<H2>Veja também</H2> |
48 | 48 | <table> |
49 | 49 | <tr><td> </td><td> |
50 | 50 | <a href="../../ui/overview.html">UI Overview</a></td><td>for an overview of the user interface</td></tr> |
|
0 commit comments