Hi.
You need to add the script used by the context as well, e.g.:
https://www.zaproxy.org/faq/how-do-you-add-a-script-to-zap-from-the-command-line/
Best regards.
On 23/07/2023 17:55, LearnWork Smart (TheNoobEngineer) wrote:
> Another related error happened after:
>
> 2023-07-23 16:45:25,335 [ZAP-IO-Server-1-1] ERROR
> ScriptBasedAuthenticationMethodType - Unable to find script while loading
> Script Based Authentication Method for name: /zap/wrk/scans/dvwa.js
>
>
> On Monday, July 24, 2023 at 12:52:29 AM UTC+8 LearnWork Smart wrote:
>
>> Hi,
>>
>> I am trying to load context file onto zap-full-scan.py (from
>> *owasp/zap2docker-stable:2.13.0*) but received "Failed to load context
>> file /zap/wrk/scans/dvwa.context : internal_error".
>>
>>
>> - Command used to run the scan:
>> - zap-full-scan.py -d -t
http://dvwa/ -n scans/dvwa.context -r
>> local-dvwa-admin.html
>>
>> The context file was exported from* Zap GUI (v2.13)* and it was able to