diff --git a/tests/bodycve.json b/tests/bodycve.json new file mode 100644 index 00000000..c4bd37a9 --- /dev/null +++ b/tests/bodycve.json @@ -0,0 +1 @@ +{"module": "cve", "vulnerability": "CVE-2010-3333"} diff --git a/tests/query-cve.sh b/tests/query-cve.sh new file mode 100644 index 00000000..215de4f3 --- /dev/null +++ b/tests/query-cve.sh @@ -0,0 +1 @@ +curl -s http://127.0.0.1:6666/query -H "Content-Type: application/json" --data @bodycve.json -X POST