zap-cli
zap-cli copied to clipboard
Scanning of POST requests
Hello!
I'm trying use zap-cli to scan our application and I succeed to do it on URL which using GET method. However, I met a problem on scanning POST request, since the parameters were not included in the URL, and what I want to check is whether there is any security in those parameters. (In GUI the parameters are also recorded in the tree so that active-scan works)
May I know whether there is anyway to deal with POST requests?
Any update? How does one send POST commands from zap-cli?
It's possible in an expedient way, so I'll share it 😊
- Boot ZAP
- Call this API for change attack mode
/JSON/core/action/setMode/?mode=attack
- Include POST URL in sitetree
- run quick-scan! now, when quick-scan is performed, the result of POST has already been scanned in attack mode and the result appears together.