schubergphilis/Seccubus_v2 — pull request #111 by SphaZ (2014-05-20 12:02:53+00:00)
Title: Quick and dirty password masking in "Manage scans"

Quick fix for: https://github.com/schubergphilis/Seccubus_v2/issues/105 to prevent the password from showing in the "Manage scans" window.

What I did was change /json/getScans.pl so that if sees a parameter line with "-p (.*) --policy" or "--pw (.*) --rc" it replaces the password with the string [maskedpassword]. This does meant that if you edit it, you will have to re-enter the password!

Also since it's quick and dirty it does not work if you start changing the parameter order/names. This works for me..so good enough ;)