kgretzky / evilginx2

Standalone man-in-the-middle attack framework used for phishing login credentials along with session cookies, allowing for the bypass of 2-factor authentication
BSD 3-Clause "New" or "Revised" License
10.23k stars 1.87k forks source link

Multiple "params:" issue #1030

Open FATnoisyGIRL opened 3 months ago

FATnoisyGIRL commented 3 months ago

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