Browse Source

Tests updated to include CIRCL passive dns

pull/7/head
Alexandre Dulaunoy 6 years ago
parent
commit
6cf77031cc
  1. 2
      tests/body.json
  2. 1
      tests/bodycircl_passivedns.json.sample
  3. 1
      tests/query-circl_passivedns.sh

2
tests/body.json

@ -1 +1 @@
{"module": "dns", "hostname": "www.foo.be"}
{"module": "dns", "hostname": "www.circl.lu"}

1
tests/bodycircl_passivedns.json.sample

@ -0,0 +1 @@
{"module": "circl_passivedns", "ip-src": "149.13.33.14", "config": {"username": "auser", "password": "somepass"} }

1
tests/query-circl_passivedns.sh

@ -0,0 +1 @@
curl -s http://127.0.0.1:6666/query -H "Content-Type: application/json" --data @bodycircl_passivedns.json -X POST
Loading…
Cancel
Save