Commit Graph

38 Commits

Author SHA1 Message Date
Félix Aime
920bd6785c Enchancing report.vue 2021-06-14 13:22:26 +02:00
Félix Aime
bbfbfc2e84 Adding the choose network option 2021-06-14 10:10:24 +02:00
Félix Aime
61de73d989 Adding the channel check to prevent interferences 2021-06-08 11:49:53 +02:00
Félix Aime
2968d6fcb6 Adding unsaved captures deletion 2021-06-03 14:08:34 +02:00
Félix Aime
e04ef547c2 Update snort rule issue + http header detection 2021-05-04 14:48:09 +02:00
Félix Aime
ceb36f81ae Adding Wi-Fi network priority #55 2021-03-25 15:01:58 +01: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
0d32a1d3c4 Minor changes (loader link + iptables rule) 2021-03-10 18:07:33 +01:00
Félix Aime
e4d63a7ef5 Preventing the analyzed device to reach TinyCheck 2021-02-26 13:25:10 +01:00
Félix Aime
8d64b3bc9a Some changes for the GUI 2021-02-19 13:20:18 +01:00
Félix Aime
6790b17f86 Changes to get the current version 2021-02-19 10:57:11 +01:00
Félix Aime
9382a1fd9f Starting update interface implementation 2021-02-18 22:17:29 +01:00
Félix Aime
5334f30edf Adding GUI update feature (server-side) 2021-02-17 20:16:39 +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
8b3cc56b08 Adding translation by using i18n 2021-02-08 16:34:32 +01:00
Félix Aime
b759054908 Several corrections 2021-02-04 16:13:05 +01:00
Félix Aime
fb9c28d609 Several corrections 2021-02-04 16:04:59 +01:00
Félix Aime
dfbd920c6c Several corrections 2021-02-04 15:47:03 +01:00
Félix Aime
b8d165178c Correcting typo 2021-02-04 15:22:54 +01:00
Félix Aime
30d08c544b Interface translation test 2021-02-04 11:11:43 +01:00
Félix Aime
a6c88b7cea Deleting saved capture folder 2021-01-28 18:57:35 +01:00
Félix Aime
7ce0d45544 Changing wrong configuration key 2021-01-22 15:06:08 +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 Aimé
c272bfebeb
Update network.py 2021-01-13 16:46:35 +01:00
Félix Aime
a93d6c7d5f Patch for the bug #13 2021-01-13 10:40:01 +01:00
Félix Aime
0ef31d13a5 Changes regarding hostapd errors 2021-01-12 17:10:24 +01:00
Félix Aime
9ed61f201e Adding users controls on the frontend quit/shutdown/reboot 2021-01-11 13:42:29 +01:00
Félix Aime
f465d46d92 Adding infos related to the capture in the generated report 2021-01-08 11:49:30 +01:00
Félix Aime
8f56909e4f Adding the export of PDF report 2021-01-06 21:19:03 +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