remove bind SSL cert missing warning

This commit is contained in:
n1nj4sec 2016-08-03 20:30:33 +02:00
parent 3ec8b20353
commit 1eb35e86a9
1 changed files with 7 additions and 0 deletions

View File

@ -85,6 +85,13 @@ def get_raw_conf(conf, obfuscate=False):
creds_list=t.credentials
if conf['launcher']=="bind":
creds_list.append("BIND_PAYLOADS_PASSWORD")
if conf['launcher']!="bind": #TODO more flexible warning handling
if "SSL_BIND_KEY" in creds_list:
creds_list.remove("SSL_BIND_KEY")
if "SSL_BIND_CERT" in creds_list:
creds_list.remove("SSL_BIND_CERT")
for c in creds_list:
if c in creds:
print colorize("[+] ", "green")+"Embedding credentials %s"%c