From 1eb35e86a9cddb997d6d33f4af83231ffe256372 Mon Sep 17 00:00:00 2001 From: n1nj4sec Date: Wed, 3 Aug 2016 20:30:33 +0200 Subject: [PATCH] remove bind SSL cert missing warning --- pupy/pupygen.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pupy/pupygen.py b/pupy/pupygen.py index f05ea9d1..58269c6c 100755 --- a/pupy/pupygen.py +++ b/pupy/pupygen.py @@ -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