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.94k stars 1.97k forks source link

Obtain Certificate #183

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello, I'm creating this issue cause i didn't find any solutions to my problem, i hope you can help me cause i'm very confused about this. So i registrered an account on DigtalOcean, created a new project, Droplet (OS: Debian8), i add new domain on freenom (testevilginx17.gq) puts nameserver of DigitalOcean, and when i'm searching for it on google it's working i come on the defaut webpage of apache2. After this i tryed to ping this domain and it's tell me it can't find host. After this i disabled apache2, installed evilginx2 from the precompiled binary package x86 configure it with my domain and the ip of VPS AND when i want to enabled the facebook phishlets, i get this error that a lot of people have:

/////////////////// [12:15:09] [inf] server domain set to: testevilginx17.gq : phishlets hostname facebook testevilginx17.gq [12:15:34] [inf] phishlet 'facebook' hostname set to: testevilginx17.gq [12:15:34] [inf] disabled phishlet 'facebook' : phishlets enable facebook [12:16:01] [inf] enabled phishlet 'facebook' [12:16:01] [inf] setting up certificates for phishlet 'facebook'... [12:16:01] [war] failed to load certificate files for phishlet 'facebook', domain 'testevilginx17.gq': open /root/.evilginx/crt/testevilginx17.gq/facebook.crt: no such file or directory [12:16:01] [inf] requesting SSL/TLS certificates from LetsEncrypt... [12:16:06] [err] [www.testevilginx17.gq] acme: Error 400 - urn:acme:error:dns - DNS problem: NXDOMAIN looking up A for www.testevilginx17.gq Error Detail: Validation for www.testevilginx17.gq:80 Resolved to:

    Used:

[12:16:06] [err] [m.testevilginx17.gq] acme: Error 400 - urn:acme:error:dns - DNS problem: NXDOMAIN looking up A for m.testevilginx17.gq Error Detail: Validation for m.testevilginx17.gq:80 Resolved to:

    Used:

[12:16:06] [err] [static.testevilginx17.gq] acme: Error 400 - urn:acme:error:dns - DNS problem: NXDOMAIN looking up A for static.testevilginx17.gq Error Detail: Validation for static.testevilginx17.gq:80 Resolved to:

    Used:

[12:16:06] [!!!] failed to obtain certificates \\\\\\\\\\\\\\

So if you have any solution please tell me cause it's for a class project and i ill get a 0 if i can't made this working. Regards, Stinky

Lglaplante commented 5 years ago

You don't have an A record for your phish domain If your phish domain is phish.domain.com, you need to add an extra A record for phish.domain.com

kgretzky commented 5 years ago

Register a proper domain on namecheap. I have never used freenom.

mthems commented 5 years ago

hi, i don't understand on what my A record need to pish ?