Commit Graph

47 Commits (13e407fd7c84a46bb550899d2b31c4f50938cbb2)

Author SHA1 Message Date
Richard van den Berg 2f54353c81 - wipe objects
- update taxonomies, warninglists, galaxies and objectTemplates after wipe
2018-02-01 20:21:06 +01:00
Jérôme Leonard e323fc0730
update: add information for misp-restore.sh script 2018-01-23 14:35:17 +01:00
Jérôme Leonard 25fcacb56e
new: add restore script 2018-01-23 14:34:40 +01:00
Jérôme Leonard ffb8375436
update: add Config php files to backup 2018-01-23 14:34:22 +01:00
iglocska 1d22679d2b fix: match the rate of the pulisher in the subscriber as default 2017-12-20 08:05:54 +01:00
Steffen Sauler 750696ea8e
Fix: shebang mixup
/!bin/sh to !/bin/sh
2017-11-15 16:54:24 +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
Kevin Allix 2b6ee46e9a Change (where needed) shebang to /usr/bin/env xxx for better portability 2017-06-24 13:37:42 +02:00
Andras Iklody 1eaa8a4f7f Merge pull request #2243 from SHSauler/patch-2
Fix: misp-backup explanation for meaning of variables
2017-06-16 09:39:01 +02:00
Alexandre Dulaunoy ce673df0d5 new: Export default feed list in Markdown format
Simple Python script to dump the default feed list in a Markdown list.
The script is to be used for the automatic generation of the
misp-website and documentation to keep an up-to-date list of feeds in
the various public places of the MISP project.
2017-06-05 10:42:51 +02:00
Steffen Sauler 8b56dc2607 Fix: explanation regarding meaning of variables
Default OutputDirName (current dir) led to error for me on Ubuntu 16.04, tar 1.28. Provided works and is neater.
2017-06-02 00:14:54 +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
Hannah Ward 140d21b8c2
new: Check is user is sudo before wiping misp 2017-04-05 11:34:04 +01:00
Hannah Ward 7a8d3a2d31
fix: Do not echo password on misp-wipe 2017-04-05 11:26:34 +01:00
Richard van den Berg c96729709f * misp-wipe.sh does not backup, so no outputdir is needed
* clear data model cache upon wiping misp
2017-03-17 15:07:49 +01:00
Andras Iklody 390ad0288a Merge pull request #1988 from RichieB2B/ncsc-nl/misp-wipe
Script to wipe (reset) a MISP installation
2017-02-24 12:19:36 +01:00
Richard van den Berg c269e64b0c Clear tables that can be re-populated 2017-02-24 12:12:03 +01:00
Richard van den Berg 40cc8bbea5 Additional table wipes 2016-12-27 16:44:10 +01:00
Richard van den Berg 508239f275 Use OutputDirName for temporary storage 2016-12-15 18:57:02 +01:00
Richard van den Berg 6cb601b302 Remove unneeded config.php variables, keep user 3 2016-12-07 23:01:07 +01:00
Richard van den Berg 46da419dc3 Added misp-wipe.sh 2016-12-07 22:51:57 +01:00
Richard van den Berg 386440deb3 Some adjustments to misp-backup.sh:
- allow setting MISPPath in misp-backup.conf
- use MySQL username/password from database.php by default
- use machine sortable date for output file
- do not store TmdDir name in tar
- use tar non-verbosely
2016-12-07 21:47:20 +01:00
iglocska 79c1bd1ae4 fix: Moved the example API script using SSL client certificate 2016-08-29 21:50:41 +02:00
Andreas Ziegler 0fe692c56a remove whitespace at end of line 2016-06-04 01:10:45 +02:00
Andreas Ziegler bba7e60e85 remove empty lines at end of files 2016-06-04 01:10:05 +02:00
Andreas Ziegler 898ea1d97c remove whitespace (space/tab) from empty lines 2016-06-04 01:08:16 +02:00
Alexander J a4c7caa76e Backup files as well 2016-04-07 15:46:20 +02:00
Alexander J 356165807e Update misp-backup.sh 2016-04-07 15:31:47 +02:00
deralexxx 95edae3d91 misp backup script 2016-03-03 21:51:07 +01:00
Iglocska e339f0e646 Fixed various issues with the attribute REST api
- also updated the sample curl scripts
2015-04-14 13:50:51 +02:00
iglocska eb69a6e78f User guide and UI changes
- first set of changes to the user guide, still missing updated images

- some UI changes to make the looks a bit more appealing
2014-03-06 09:20:05 +01:00
iglocska c6fd29fb29 Several features
- Sync for background jobs (pull + push)
- more e-mailing delegated to background jobs
- A bunch of bug fixes and minor changes
2014-01-06 05:15:47 +01:00
Alexandru Ciobanu 5f155f47cc Fixed validation on Event::_add()
Try atomic save for events
Add threat level to JSON sample
2013-11-18 16:36:18 +01:00
Alexandru Ciobanu 233a30b9fd Basic JSON API CRUD [ci skip]
- adds JSON example to shell scripts
    - adds sample JSON event
    - ??? for some redundant Attribute model conditions
    - updates travis with CakePHP installation
2013-11-14 12:43:31 +01:00
Christophe Vandeplas ac5c59e9af minor changes 2013-06-24 15:12:30 +02:00
Noud de Brouwer 50e80e18e8 sync
curl test update using a generic named xml.
2013-01-22 14:12:51 +00:00
noud 2903493205 Merge branch 'master' into develop
Conflicts:
	app/Controller/AttributesController.php
	app/Controller/EventsController.php
2012-12-13 16:03:35 +01:00
noud 094719fa01 Merge branch 'master' into develop
Conflicts:
	app/Controller/AttributesController.php
	app/Controller/EventsController.php
	app/Controller/ServersController.php
	app/Model/Event.php
2012-12-12 18:01:39 +01:00
noud 079ce88793 RESTfull sync
Let RESTfull only work conform the web pages (to Christophes wish),
so add/edit event apart from add/edit attribute.
(there is annotation in the code to revert back to full RESTfull and
add/edit the attribute(s) alongside add/edit the event.)
2012-12-11 16:11:45 +01:00
noud e4dafd3882 RESTfull sync
RESTfull attribute add, edit and view, to be usefull in sync.
2012-12-10 11:32:40 +01:00
noud a4c29a812f XML related.
Made tools/curl/input/event.xml more anonymous.
Events/xml/view.ctp wrongly showed category_order.
REST Event add did not work anymore given GFI sandbox import.
2012-09-18 16:50:07 +02:00
noud 488a535fcf REST
cURL scripts, used besides example-rest.py to do REST testing.
2012-09-03 13:53:44 +02:00
Christophe Vandeplas 79ea3be258 python REST example script 2012-08-31 10:30:45 +02:00