Commit Graph

30 Commits

Author SHA1 Message Date
Eugeny Ablesov
e2a040798a
Ablesov/fix tinycheck installation (#135)
* Update requirements.txt

Fix:
pymisp - use older version to keep code compatibility
sqlalchemy - use 1.4 latest build (api 2.0 incompatible with codebase)

M2Crypto - removed (not used)
pyOpenSSL - removed (not used)

* Update scheme.sql

pymisp warning fix

* Update main.py

Unused reference to pyOpenSSL removed
2023-05-30 15:20:09 +03:00
securechicken
ed98061396 FIX uninit to_delete var exception 2021-07-22 16:26:25 +02:00
Félix Aime
6f5fd11a26 Modifying iocs search to show the source 2021-06-11 17:15:12 +02:00
Félix Aime
940d5954a3 Updating MISP watcher 2021-06-11 14:46:11 +02:00
Félix Aime
926daf3e34 Debug after testing, everything works great now 2021-06-10 19:48:35 +02:00
Félix Aime
73946c27e2 More code modification regarding MISP integration 2021-06-10 19:00:06 +02:00
Félix Aime
8e09d4e1c8 More code modification regarding MISP integration 2021-06-10 18:37:40 +02:00
Félix Aime
f189f2e100 Code modifications regarding MISP integration 2021-06-09 18:24:37 +02:00
Félix Aime
a481e88251 Deleting get iocs endpoint 2021-06-09 12:49:28 +02:00
Félix Aime
1d1c217258 Deleting edit endpoint 2021-06-09 12:48:44 +02:00
Félix Aime
93e164d7c2 Typo in comment 2021-06-09 11:17:30 +02:00
Félix Aime
50baeaa9e5 Updating misp class and associated watcher code 2021-06-09 11:11:55 +02:00
Félix Aime
691a413bfb Modifying ip4addr & ip6addr types 2021-06-09 09:27:30 +02:00
Félix Aime
73ee7a280b Some modifications, still need tests and debug 2021-06-08 20:11:51 +02:00
Félix Aime
e0c79fa5d6 Working on the MISP integration, still WIP (untested) 2021-06-08 18:22:52 +02:00
Félix Aimé
c1b8f4a447
Merge pull request #70 from JulAkx/misp
New Feature : Import IoCs from an added MISP instance.
2021-06-06 11:08:35 +02:00
Julien DEPAILLAT
24be446598 New Feature : It is now possible to import IoCs from an added MISP instance. 2021-05-10 16:08:58 +02:00
Félix Aime
e04ef547c2 Update snort rule issue + http header detection 2021-05-04 14:48:09 +02:00
bl4ckh0l3z
36833e1c6b
Update main.py
ERROR in app: Exception on /api/get-token [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.7/dist-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.7/dist-packages/flask_httpauth.py", line 164, in decorated
    return f(*args, **kwargs)
  File "/usr/share/sauron/server/backend/main.py", line 37, in get_token
    return jsonify({"token": token.decode("utf8")})
AttributeError: 'str' object has no attribute 'decode'
2021-03-23 21:02:41 +01:00
bl4ckh0l3z
2f232bbc15
Specify algorithm for jwt.decode
>>> jwt.decode(token, app.config["SECRET_KEY"])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/dist-packages/jwt/api_jwt.py", line 113, in decode
    decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/jwt/api_jwt.py", line 80, in decode_complete
    'It is required that you pass in a value for the "algorithms" argument when calling decode().'
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().
2021-03-23 20:57:23 +01:00
Félix Aime
2095a1c3d6 Formatting changes 2021-02-16 16:55:34 +01:00
Félix Aime
53620b6a0a Adding the possibility to delete elements/IOCs from watchers 2021-02-16 16:51:36 +01:00
Félix Aime
488c0cdb1b No internet feature 2021-02-15 20:46:56 +01:00
Félix Aime
f4d361488c Adding nonet feature 2021-02-15 16:35:10 +01:00
Félix Aime
3620e93ae6 Welcome to ethernet 2021-01-22 14:09:03 +01:00
Félix Aime
e88996cb0c Predictable Network Interface Names support 2021-01-19 17:25:06 +01:00
Félix Aime
8051b3d499 Update related to the issue #30 2021-01-04 11:18:29 +01:00
Félix Aime
86193d912b Some improvements and modifications related to the issue #25 2020-12-27 19:40:25 +01:00
Félix Aime
ea53de887d Updating different scripts related to the issue #21 2020-12-18 14:57:52 +01:00
Félix Aime
513f6b1b02 First commit 2020-11-24 19:45:03 +01:00