Commit Graph

11 Commits (2.4)

Author SHA1 Message Date
Sami Mokaddem 4c215a86b4
new: [tools:misp-zmq] Added subscriber blueprint 2022-10-21 08:46:57 +02:00
Christophe Vandeplas fb26771e6c fix: [tool] slackbot cosmetic change 2020-04-13 22:25:44 +02:00
Christophe Vandeplas 8a4d9226ab new: [tool] MISP to Slack messaging using ZMQ 2020-04-13 22:21:45 +02:00
Alexandre Dulaunoy bc7fc5a490
chg: [tools] unused import module removed 2019-05-27 14:17:10 +02:00
iglocska 1d22679d2b fix: match the rate of the pulisher in the subscriber as default 2017-12-20 08:05:54 +01:00
truckydev 5dff54db00
force int for --sleep
^^
2017-11-14 17:29:07 +01:00
truckydev a21486c328
update args.sleep on typeError
Convert string to int for time.sleep when sub.py use with -t
2017-11-14 17:02:16 +01:00
iglocska 2dc5bcacd6 fix: Updated sub.py 2017-10-27 11:28:09 +02:00
Alexandre Dulaunoy 39d884788c fix: [misp-zmq] add a Poller for future multi-SUBscriber in ZMQ 2017-05-27 22:03:02 +02:00
Alexandre Dulaunoy 33c0dce29c Remove crap introduced by rope project 2017-05-27 17:09:30 +02:00
Alexandre Dulaunoy 97d15ba88d First version of a Python ZMQ client to get messages from a MISP
instance

usage: sub.py [-h] [-s] [-p PORT] [-r HOST] [-o ONLY] [-t SLEEP]

Generic ZMQ client to gather events, attributes and sighting updates from a
MISP instance

optional arguments:
  -h, --help            show this help message and exit
  -s, --stats           print regular statistics on stderr
  -p PORT, --port PORT  set TCP port of the MISP ZMQ (default: 50000)
  -r HOST, --host HOST  set host of the MISP ZMQ (default: 127.0.0.1)
  -o ONLY, --only ONLY  set filter (misp_json, misp_json_attribute or
                        misp_json_sighting) to limit the output a specific
                        type (default: no filter)
  -t SLEEP, --sleep SLEEP
                        sleep time (default: 2)
2017-05-27 17:01:10 +02:00