Skip to content
Antoine GIRARD edited this page Feb 9, 2017 · 5 revisions

API

You can start the web server with the command ./vulnerobot web (description here).

All command lines are accessible under /api path. The program has a Web UI accessible under /public/index.html

/api/status

Represent current state of program :

Example of response :

{State:'ready'}

/api/info

Represent current configuration of program :

Example of response :

{"Plugins":["ANSSI","NVD"],"Components":[{"CPE":"cpe:/o:canonical:ubuntu_linux:12.04","Function":"FP1,FP3","Name":"Ubuntu","Version":"12.04"},{"CPE":"cpe:/o:canonical:ubuntu_linux:16.10","Function":"FP1,FP2","Name":"Ubuntu","Version":"16.10"},{"CPE":"cpe:/o:microsoft:windows_7","Function":"FP2,FP3","Name":"Microsoft Windows","Version":"7"},{"CPE":"cpe:/o:microsoft:windows_8.1","Function":"FP2","Name":"Microsoft Windows","Version":"8.1"},{"CPE":"cpe:/a:mozilla:firefox:48","Function":"FP2","Name":"Mozilla Firefox","Version":"48"},{"CPE":"cpe:/a:adobe:acrobat_dc:15.006.30173","Function":"FP1,FP2","Name":"Adobe Acrobat DC","Version":"15.006.30173"},{"CPE":"cpe:/a:adobe:acrobat_reader:11.0.04","Function":"FP1,FP3","Name":"Adobe Reader","Version":"11.0.04"}]}

/api/collect

Expose the cli command of the same name accessible here.

/api/list

Expose the cli command of the same name accessible here.

Clone this wiki locally