mirror of https://github.com/cowrie/cowrie.git
remove non-port 80 restriction
This commit is contained in:
parent
1c1a4e7c2b
commit
c9c1792456
|
@ -109,7 +109,7 @@ class command_wget(HoneyPotCommand):
|
||||||
host = parsed.hostname
|
host = parsed.hostname
|
||||||
port = parsed.port or (443 if scheme == 'https' else 80)
|
port = parsed.port or (443 if scheme == 'https' else 80)
|
||||||
path = parsed.path or '/'
|
path = parsed.path or '/'
|
||||||
if scheme == 'https' or port != 80:
|
if scheme == 'https':
|
||||||
self.writeln('Sorry, SSL not supported in this release')
|
self.writeln('Sorry, SSL not supported in this release')
|
||||||
self.exit()
|
self.exit()
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue