PUT
/
api
/
xsscanner
/
scan
curl --request PUT \
  --url https://api.novasec.io/api/xsscanner/scan \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "targetURL": "https://example.com/profile.php?u=xyz",
  "targetURLs": [
    "https://example.com/profile.php?u=xyz",
    "..."
  ],
  "targetId": "{targetId}",
  "vulnerabilityScanId": "{vulnerabilityScanId}",
  "spiderXScanId": "{spiderXScanId}",
  "headers": "X-Header: test;; Cookies: SESS_ID=eyJ...",
  "delay": 123,
  "timeout": 7,
  "POSTBody": "message=xyz&submit=submit&..."
}'

Authorizations

X-API-Key
string
headerrequired

Body

application/json
targetURL
string
targetURLs
any[]
targetId
string
vulnerabilityScanId
string
spiderXScanId
string
headers
string
delay
integer
timeout
integer
POSTBody
string