evilginx2
evilginx2 copied to clipboard
Multiple "params:" issue
Hi, everyone! I tried to create phishlet with multiple params field this way
params: - {name: 'domain', default: ''} - {name: 'subdomain', default: ''}
Also tried:
params: - {name: 'subdomain', default: ''} - {name: 'domain', default: ''}
AND
params: - {name: 'subdomain', default: ''} params: - {name: 'domain', default: ''}
But after phishlets create (parent):(child) subdomain=(subname) domain=(domname) AND phishlets enable (parent):(child) I got this error:
[10:00:06] [inf] obtaining and setting up 3 TLS certificates - please wait up to 60 seconds... [10:00:06] [err] failed to set up TLS certificates: {subdomain}.blahblah.blah: obtaining certificate: [{subdomain}.blahblah.blah] Obtain: subject does not qualify for a public certificate: {subdomain}.blahblah.blah [10:00:06] [err] run 'test-certs' command to retry
Looks like {subdomain} don't transform to (subname) here
All works fine when i trying to use only one parameter, ex: params: - {name: 'domain', default: ''}
Also all works when i try: phishlets get-hosts (parent):(child), result: IP.IP.IP.IP mail.blahblah.blah