Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

286
Views
Pass login parameters to scan with owasp zap on docker command

I'm trying to execute a command to attack an application with login but I dont know how to pass my user and password to the url.

The login sends a post with user and password to verify if exist.

command to atack.

docker run --rm -v $(pwd):/zap/wrk/:rw -t owasp/zap2docker-stable zap-baseline.py -t http://172.31.95.32:8080/myapp/login -g gen.conf -r testreport.html authMethodName : formBasedAuthentication authMethodConfigParams :loginUrl=http://172.31.95.32:8080/myapp/login

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

You'd be best off running ZAP in gui mode and sorting out your Context config, which you can export. You can then import and re-use your context within whatever CI or CD process(es) you need.

zap-baseline.py is meant to do exactly what it's name implies. Provide a shallow (passive only) assessment of your app/service.

Further details about ZAP Baseline Scan are available here:

  • https://github.com/zaproxy/zaproxy/wiki/ZAP-Baseline-Scan
  • https://blog.mozilla.org/security/2017/01/25/setting-a-baseline-for-web-security-controls/
about 4 years ago · Santiago Trujillo Report

0

FYI.

I had to use ictu/zap2docker-weekly image to accomplish this goal.

here is the repo with some examples.

https://github.com/ICTU/zap-baseline

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!