Better message for CertPath errors, see #775
parent
06ccf383ac
commit
a68252791a
|
@ -1091,7 +1091,8 @@ def send_message(packets=None):
|
|||
app.run(host=bindIP, port=int(port), threaded=True)
|
||||
|
||||
except Exception as e:
|
||||
print helpers.color("[!] Listener startup on port %s failed: %s " % (port, e))
|
||||
print(helpers.color("[!] Listener startup on port %s failed: %s " % (port, e)))
|
||||
print(helpers.color("[!] Ensure the folder specified in CertPath exists and contains your pem and private key file."))
|
||||
dispatcher.send("[!] Listener startup on port %s failed: %s " % (port, e), sender='listeners/http')
|
||||
|
||||
def start(self, name=''):
|
||||
|
|
|
@ -796,7 +796,8 @@ class Listener:
|
|||
app.run(host=bindIP, port=int(port), threaded=True)
|
||||
|
||||
except Exception as e:
|
||||
print helpers.color("[!] Listener startup on port %s failed: %s " % (port, e))
|
||||
print(helpers.color("[!] Listener startup on port %s failed: %s " % (port, e)))
|
||||
print(helpers.color("[!] Ensure the folder specified in CertPath exists and contains your pem and private key file."))
|
||||
dispatcher.send("[!] Listener startup on port %s failed: %s " % (port, e), sender='listeners/http_com')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue