This is a TheHive & Crotex update guide for targeting following versions:
- TheHive:
3.0.10to3.1.1. - Cortex:
2.0.4to2.1.1.
| require 'faye/websocket' | |
| require 'eventmachine' | |
| require "json" | |
| EM.run { | |
| ws = Faye::WebSocket::Client.new("wss://certstream.calidog.io") | |
| ws.on :message do |event| | |
| message = JSON.parse(event.data) | |
| all_domains = message.dig("data", "leaf_cert", "all_domains") |
| { | |
| "phpmps": { | |
| "path": "/admin/images/arrow_up.gif", | |
| "option": "md5", | |
| "content": "f1294d6b18c489dc8f1b6dfd137ff681", | |
| "hit": 0 | |
| }, | |
| "杰奇小说连载系统": { | |
| "path": "/templates/admin/images/m_bgss.gif", | |
| "option": "md5", |
| 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa | |
| 12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX | |
| 1HLoD9E4SDFFPDiYfNYnkBLQ85Y51J3Zb1 | |
| 1FvzCLoTPGANNjWoUo6jUGuAG3wg1w4YjR | |
| 15ubicBBWFnvoZLT7GiU2qxjRaKJPdkDMG | |
| 1JfbZRwdDHKZmuiZgYArJZhcuuzuw2HuMu | |
| 1GkQmKAmHtNfnD3LHhTkewJxKHVSta4m2a | |
| 16LoW7y83wtawMg5XmT4M3Q7EdjjUmenjM | |
| 1J6PYEzr4CUoGbnXrELyHszoTSz3wCsCaj | |
| 12cbQLTFMXRnSzktFkuoG3eHoMeFtpTu3S |
| import request from "request"; | |
| import puppeteer from "puppeteer"; | |
| const API_URL = "https://slack.com/api/files.upload"; | |
| const SLACK_API_TOKEN = process.env.SLACK_API_TOKEN as string; | |
| const CHANNEL = "general"; | |
| (async () => { | |
| const url = "http://neverssl.com" | |
| const browser = await puppeteer.launch(); |
| document.addEventListener('selectionchange', () => { | |
| const selection: string = window.getSelection().toString().trim(); | |
| chrome.runtime.sendMessage({ | |
| request: 'updateContextMenu', | |
| target: selection, | |
| }); | |
| }); | |
| const links = document.getElementsByTagName('a'); | |
| for (const link of links) { |
https://github.com/ninoseki/kari
Indicator extractor API based on cacador.
In order to send a data you must perform an HTTP POST request to the following URL: