The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

API scanning using dastardly

Mohammad | Last updated: Aug 20, 2023 01:10PM UTC

Hi. I am unable to scan api endpoint using api defination. SCRIPT > - task: CmdLine@2 displayName: Run DAST scan with dastardly inputs: targetType: 'inline' script: | docker run --user $(id -u) --rm -v $(pwd):/dastardly -e \ DASTARDLY_TARGET_URL=https://{myurl}/{basepath}/docs/ -e \ DASTARDLY_OUTPUT_FILE=/dastardly/dastardly-report.xml \ public.ecr.aws/portswigger/dastardly:latest true The SCAN ends in 1 second . PFB logs 2023-08-20T12:50:13.0232449Z 2023-08-20 12:50:13 INFO dastardly.EventLogPrinter - Aug 20 2023 12:50:09 INFORMATION Crawl started. 2023-08-20T12:50:13.0236142Z 2023-08-20 12:50:13 INFO dastardly.EventLogPrinter - Aug 20 2023 12:50:10 DEBUG {myurl} is using HTTP/2 2023-08-20T12:50:13.0237514Z 2023-08-20 12:50:13 INFO dastardly.EventLogPrinter - Aug 20 2023 12:50:10 DEBUG Found API definition at location https://{myurl}:443/{mybasepath}/docs/. 2023-08-20T12:50:13.0238619Z 2023-08-20 12:50:13 INFO dastardly.EventLogPrinter - Aug 20 2023 12:50:11 INFORMATION Crawl finished. 2023-08-20T12:50:13.0239345Z 2023-08-20 12:50:13 INFO dastardly.EventLogPrinter - Aug 20 2023 12:50:11 INFORMATION Identifying items to audit. 2023-08-20T12:50:13.0240088Z 2023-08-20 12:50:13 INFO dastardly.EventLogPrinter - Aug 20 2023 12:50:11 INFORMATION Audit started. 2023-08-20T12:50:13.0241845Z 2023-08-20 12:50:13 INFO dastardly.EventLogPrinter - Aug 20 2023 12:50:12 INFORMATION Audit finished. 2023-08-20T12:50:13.8514578Z 2023-08-20 12:50:13 INFO bsee.BurpProcess.scan.scan-1 - Deleting temporary files - please wait ... done. 2023-08-20T12:50:19.5270339Z ##[section]Finishing: Run DAST scan with dastardly

Alex, PortSwigger Agent | Last updated: Aug 21, 2023 08:08AM UTC