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

Evilginx not assigning TLS certificates autmatically #997

Open curs3dddd opened 6 months ago

curs3dddd commented 6 months ago

hello,

So i have recently downloaded evilginx and i have been trying to create a phishlet but. i have assigned the phishlet a hostname but when i enter phishlets enable <my_phishlet_name> , i get the following error :

[16:26:22] [inf] enabled phishlet '<phishlet_name>' [16:26:22] [inf] obtaining and setting up 1 TLS certificates - please wait up to 60 seconds... [16:26:26] [err] failed to set up TLS certificates: [DOMAIN]: obtaining certificate: [DOMAIN] Obtain: [DOMAIN] solving challenge: [DOMAIN]: [DOMAIN] authorization failed: HTTP 400 urn:ietf:params:acme:error:dns - DNS problem: NXDOMAIN looking up A for [DOMAIN] - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for [DOMAIN] - check that a DNS record exists for this domain (ca=https://acme-v02.api.letsencrypt.org/directory) [16:26:26] [err] run 'test-certs' command to retry

where DOMAIN being the target domain.

thanks.

aestusorg commented 6 months ago

Where u hosting your domain and also follow the record u need to setup the AAAA cause it looks like NXDOMAIN is looking but it does not exist

curs3dddd commented 6 months ago

Where u hosting your domain and also follow the record u need to setup the AAAA cause it looks like NXDOMAIN is looking but it does not exist

I'm trying a to make a Phishlet locally so i do not have a domain hosted. I'm just testing.

Ethansi2947E commented 3 months ago

you need to have a domain first if not it wont work