Skip to content

Instantly share code, notes, and snippets.

@ninoseki
Last active May 26, 2018 03:22
Show Gist options
  • Save ninoseki/fdf18168f348f089c70380153af51df5 to your computer and use it in GitHub Desktop.
Save ninoseki/fdf18168f348f089c70380153af51df5 to your computer and use it in GitHub Desktop.

kari

https://github.com/ninoseki/kari

Indicator extractor API based on cacador.

How to use

In order to send a data you must perform an HTTP POST request to the following URL:

https://kari-extractor.herokuapp.com/extract

The API call expects the following parameter:

  • data: data which you want to extract indicators inside.

Example code:

curl -F "data=1.1.1.1 google.com f6f8179ac71eaabff12b8c024342109b" kari-extractor.herokuapp.com/extract

Example response:

{
  "hashes": {
    "md5s": [
      "f6f8179ac71eaabff12b8c024342109b"
    ],
    "sha1s": null,
    "sha256s": null,
    "sha512s": null,
    "ssdeeps": null
  },
  "networks": {
    "domains": [
      "google.com"
    ],
    "emails": null,
    "ipv4s": [
      "1.1.1.1"
    ],
    "ipv6s": null,
    "urls": null
  },
  "files": {
    "docs": null,
    "exes": null,
    "flashes": null,
    "imgs": null,
    "macs": null,
    "webs": null,
    "zips": null
  },
  "utilities": {
    "cves": null
  },
  "time": "2018-05-26 02:48:46.953084088 +0000 UTC m=+45.807881187"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment