mirror of https://github.com/MISP/misp-modules
Merge pull request #36 from Rafiot/import-test
Pass the server port as integer to the uwhois clientpull/40/head
commit
3d031f234c
|
@ -30,7 +30,7 @@ def handler(q=False):
|
||||||
misperrors['error'] = 'EUPI authentication is missing'
|
misperrors['error'] = 'EUPI authentication is missing'
|
||||||
return misperrors
|
return misperrors
|
||||||
|
|
||||||
uwhois = Uwhois(request['config']['server'], request['config']['port'])
|
uwhois = Uwhois(request['config']['server'], int(request['config']['port']))
|
||||||
|
|
||||||
if 'event_id' in request:
|
if 'event_id' in request:
|
||||||
return handle_expansion(uwhois, toquery)
|
return handle_expansion(uwhois, toquery)
|
||||||
|
|
Loading…
Reference in New Issue