mirror of https://github.com/MISP/misp-modules
Pass the server port as integer to the uwhois client
parent
f72534c785
commit
b3a322a178
|
@ -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