fix: Digest message was broken.

pull/14/head
Raphaël Vinot 2019-01-18 13:53:56 +01:00
parent aa0b8da23f
commit 9bb48c1155
3 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ flask-bootstrap = "*"
flask-mail = "*" flask-mail = "*"
flask-wtf = "*" flask-wtf = "*"
gunicorn = {extras = ["gevent"],version = "*"} gunicorn = {extras = ["gevent"],version = "*"}
pyurlabuse = {editable = true,path = "."} pyurlabuse = {editable = true,path = "./client"}
pyfaup = {git = "https://github.com/stricaud/faup.git/",subdirectory = "src/lib/bindings/python/"} pyfaup = {git = "https://github.com/stricaud/faup.git/",subdirectory = "src/lib/bindings/python/"}
[requires] [requires]

8
Pipfile.lock generated
View File

@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "4e0f863e88d1c7416abfa49ec8f74d6c51c2d605ca4a504ab7c87af0954c3d10" "sha256": "a961b1d43bfe9f922623a78fc5f54f3b76247459f548fc18c651ad57e972e872"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {
@ -217,7 +217,7 @@
}, },
"pybgpranking": { "pybgpranking": {
"git": "https://github.com/D4-project/BGP-Ranking.git/", "git": "https://github.com/D4-project/BGP-Ranking.git/",
"ref": "5e4264a411b59f6a612c4bfdde307b1d8a61ead8", "ref": "2f7c28631262adcd16f90d88a87b59e63e5e0f36",
"subdirectory": "client" "subdirectory": "client"
}, },
"pyeupi": { "pyeupi": {
@ -234,7 +234,7 @@
}, },
"pyipasnhistory": { "pyipasnhistory": {
"git": "https://github.com/D4-project/IPASN-History.git/", "git": "https://github.com/D4-project/IPASN-History.git/",
"ref": "54857344c412a903df2abe67a8855f2fcaeef4a8", "ref": "d8d94e1e171e42ab075d8b97a3fd4451bd6f7445",
"subdirectory": "client" "subdirectory": "client"
}, },
"pypdns": { "pypdns": {
@ -260,7 +260,7 @@
}, },
"pyurlabuse": { "pyurlabuse": {
"editable": true, "editable": true,
"path": "." "path": "./client"
}, },
"redis": { "redis": {
"hashes": [ "hashes": [

View File

@ -542,7 +542,7 @@ class Query():
to_return += '\t{} out of {} positive detections in VT - {}\n'.format( to_return += '\t{} out of {} positive detections in VT - {}\n'.format(
info['vt'][2], info['vt'][3], info['vt'][1]) info['vt'][2], info['vt'][3], info['vt'][1])
else: else:
to_return = '\t{} - {}\n'.format(info['vt'][0], info['vt'][1]) to_return += '\t{} - {}\n'.format(info['vt'][0], info['vt'][1])
if 'gsb' in info: if 'gsb' in info:
to_return += '\tKnown as malicious on Google Safe Browsing: {}\n'.format(info['gsb']) to_return += '\tKnown as malicious on Google Safe Browsing: {}\n'.format(info['gsb'])
if 'phishtank' in info: if 'phishtank' in info: