Using this feature will allow you to view all the vulnerabilities that Kayran has detected in a certain scan.
Note : deleting a certain scan will also delete the vulnerabilities from the database which prevents you from viewing them.
Request Syntax
{
"apiKey": "String",
"vulnId": 123456789
}
Request Parameters
Parameters being used in the Request
Parameter Name :
apiKey
Parameter Usage and Options :
Your Kayran given API Key.
How do I get it ? :
Located in the “Profile” section.
Note : by default, the “API Status” is enabled, unless, the Admin has disabled it in the “Server Settings” section.
Type :
String
Is it Optional ? :
No.
Parameter Name :
vulnId
Parameter Usage and Options :
Id of the requested vulnerability.
How do I get it ? :
By entering the vulnerability page in Kayran, on the address bar, the “id=231231232133”, use the number that appears.
Type :
Integer
Is it Optional ? :
No.
Successful Response
{
"Error": 0,
"Function": "GetVulnsScan",
"Data": "{\"id\": 123456789, \"id_connection\": \"171\", \"url\": \"URL\", \"action\": \"String\", \"vuln_name\": \"Name\", \"severity\": \"Medium\", \"request\": \"String\", \"response\": \"\", \"key\": \"String\", \"payload\": \"String\", \"method\": \"GET\", \"params\": \"String\", \"cookies\": \"\", \"headers\": \"{'Command': 'String'}\", \"status_code\": \"132456789\", \"content_type\": \"\", \"fixed\": \"0\", \"token\": \"String\", \"description\": \"Description.\", \"impact\": \"Impact.\", \"recommendation\": \"Recommendation.\", \"links\": \"References"}"
}
Errors and their Possible Causes
For more information, please refer to the General Errors section.