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

issues 53 443 TLS #1011

Open newtothisfornow opened 4 months ago

newtothisfornow commented 4 months ago

hello im new to evilginx and trying to set it up but im having many issues

Failed to start nameserver on: :53 [!!!] listen tcp :443: bind: address already in use

i stopped system resolved and put it on 8.8.8.8 at first port 53 error was gone but now its back

i also get this error failed to set up TLS certificates:

can someone explain or point me to a detailed guide on dealing with these errors and how to set up dns properly

thanks

newtothisfornow commented 4 months ago

for 53 issue i followed this and at first it worked the error is back Error-1 : (Failed to start nameserver on port 53) ** Follow These Commands & Then Try Relaunching Evilginx

sudo service systemd-resolved stop nano /etc/resolv.conf ** Then change nameserver 127.x.x.x to nameserver 8.8.8.8

** Then save the file (By pressing CTRL+X and pressing Y followed by enter)

newtothisfornow commented 4 months ago

for 443 i done sudo lsof -i :443 sudo systemctl stop nginx

the error is now gone but what is the consequences im very new to this

newtothisfornow commented 4 months ago

both of the things above work at first and then when i restart evilginx2 the error is back

newtothisfornow commented 4 months ago

i run sudo lsof -i :443 and nothing shows up so why isnt 443 working

newtothisfornow commented 4 months ago

ive ran

sudo systemctl disable apache2 sudo systemctl disable nginx sudo systemctl disable systemd-resolved

and now 443 error is gone

newtothisfornow commented 4 months ago

i run lsof -i :53 and get no results

newtothisfornow commented 4 months ago

i dont think i had my name server set up properly so ive re done it on the cp and added ns1.mydomain to my vps ip and same with ns2

newtothisfornow commented 4 months ago

update ive fixed them

Friday13thx commented 17 hours ago

How did you fix them please?