Commit Graph

289 Commits

Author SHA1 Message Date
Félix Aimé
32e04398fe
Update iocs.json 2021-03-25 13:48:54 +01:00
Félix Aimé
866f24bad8
Merge pull request #64 from KasperskyLab/main
Update of the dev branch with main (new) code
2021-03-25 10:30:16 +01:00
Félix Aimé
1c2d7033f0
Update install.sh
Adding Desktop directory check.
2021-03-25 10:10:36 +01:00
Félix Aimé
6d1a0d88e0
Merge pull request #63 from KasperskyLab/dev
Adding more translations and few fixes
2021-03-25 09:46:48 +01:00
Félix Aimé
f1250a00ba
Merge pull request #62 from bl4ckh0l3z/main
Fix for JWT token generation and validation
2021-03-25 09:46:28 +01:00
Félix Aime
208d408d37 Adding npm timeout for slow bandwidth 2021-03-24 19:03:48 +01:00
Félix Aime
fadcee35db Adding more translations and few fixes 2021-03-24 14:37:20 +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 Aimé
a98679a923
Update whitelist.json 2021-03-11 20:40:05 +01:00
Félix Aimé
3ff29226b7
Merge pull request #60 from KasperskyLab/dev
Minor changes (loader link + iptables rule)
2021-03-11 10:26:21 +01:00
Félix Aime
0d32a1d3c4 Minor changes (loader link + iptables rule) 2021-03-10 18:07:33 +01:00
Félix Aimé
6d5389370c
Update iocs.json 2021-03-01 16:59:38 +01:00
Félix Aimé
6b29daad59
Update iocs.json 2021-03-01 16:52:31 +01:00
Félix Aimé
3bdac850b6
Merge pull request #58 from KasperskyLab/dev
Adding few features.
2021-02-26 14:28:16 +01:00
Félix Aime
885d67afd0 Adding few seconds before internet check 2021-02-26 14:26:50 +01:00
Félix Aime
6de9f4aabe Change icon button to home button 2021-02-26 14:10:09 +01:00
Félix Aime
c3b48f278d Add back button 2021-02-26 13:47:57 +01:00
Félix Aime
e4d63a7ef5 Preventing the analyzed device to reach TinyCheck 2021-02-26 13:25:10 +01:00
Félix Aimé
672b8cf0c1
Merge pull request #57 from KasperskyLab/dev
Update install.sh with new node version.
2021-02-26 12:20:26 +01:00
Félix Aimé
4488a52631
Update install.sh 2021-02-26 12:15:45 +01:00
Félix Aimé
92b89b78cf
Merge pull request #56 from KasperskyLab/main
Update dev branch
2021-02-26 12:13:27 +01:00
Félix Aimé
22c7cf1119
Merge pull request #54 from KasperskyLab/update-feature
Update from GUI feature
2021-02-19 16:45:41 +01:00
Félix Aime
9ad538862e Changing FR translation 2021-02-19 16:42:07 +01:00
Félix Aime
ee1f89e45f Changes for prod 2021-02-19 16:40:52 +01:00
Félix Aime
79f6c09cc9 Changes for tests 2021-02-19 16:18:32 +01:00
Félix Aime
b0869a94c9 Updating install script 2021-02-19 15:49:47 +01:00
Félix Aime
a5f84f35de Removing update-feature branch 2021-02-19 15:46:33 +01:00
Félix Aime
0b64402f74 Deleting unused translation var 2021-02-19 15:32:58 +01:00
Félix Aime
c8d667f5c5 Adding few stuff related to updates 2021-02-19 15:31:30 +01:00
Félix Aime
dc37b6a2da Color changes 2021-02-19 14:38:16 +01:00
Félix Aime
8890ed1b26 Changing timeout 2021-02-19 14:33:23 +01:00
Félix Aime
6b6c9bb368 Changing timeout 2021-02-19 14:18:32 +01:00
Félix Aime
7acc61d80d Adding version info 2021-02-19 14:08:14 +01:00
Félix Aime
ecf1281290 Adding version info 2021-02-19 13:56:21 +01:00
Félix Aime
6350241a35 Issue with API URL corrected. 2021-02-19 13:33:02 +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
5a133d0d17 No new line in the VERSION file 2021-02-19 10:46:29 +01:00
Félix Aime
b2d153bb17 Changing some files related to the update process 2021-02-18 22:53:49 +01:00
Félix Aime
9382a1fd9f Starting update interface implementation 2021-02-18 22:17:29 +01:00
Félix Aimé
67ac58ef46
Deleting Q&A. 2021-02-18 09:17:54 +01:00
Félix Aime
5334f30edf Adding GUI update feature (server-side) 2021-02-17 20:16:39 +01:00
Félix Aimé
85228e77f7
Adding new IOCs 2021-02-16 19:52:36 +01:00
Félix Aimé
a53d10018d
Merge pull request #53 from KasperskyLab/dev
Changes related to the update.sh script
2021-02-16 18:58:37 +01:00
Félix Aime
efeaeccab6 Merge branch 'dev' of https://github.com/kasperskylab/TinyCheck into dev 2021-02-16 18:57:26 +01:00
Félix Aime
dc48db88fc Adding active analysis to the config file 2021-02-16 18:57:10 +01:00
Félix Aimé
42c7254cc6
Merge pull request #52 from KasperskyLab/dev
Adding WHOIS record / active analysis
2021-02-16 18:52:20 +01:00
Félix Aimé
8ed216a089
Merge branch 'main' into dev 2021-02-16 18:52:11 +01:00
Félix Aime
800f60619e Adding some comments 2021-02-16 18:13:07 +01:00