Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 581 Bytes

web.md

File metadata and controls

32 lines (24 loc) · 581 Bytes

Create a NSRL lookup micro-service

$ docker run -d -p 3993:3993 malice/nsrl:sha1 web

INFO[0000] web service listening on port :3993

Now you can perform queries like so

$ http localhost:3993/lookup/5a272b7441328e09704b6d7eabdbd51b8858fde4
HTTP/1.1 200 OK
Content-Length: 24
Content-Type: application/json; charset=UTF-8
Date: Sun, 20 Nov 2016 21:43:30 GMT

{
    "nsrl": {
        "found": true
    }
}

NOTE: If you want to query by md5 instead you would run like this:

$ docker run -d -p 3993:3993 malice/nsrl:md5 web