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.22k stars 1.87k forks source link

nameserver failed to start on :53 #1048

Open Usamaibrahim33 opened 2 months ago

Usamaibrahim33 commented 2 months ago

[07:45:47] [!!!] Failed to start nameserver on: :53

anytime i start my evilginx i get this error

sudo setcap CAP_NET_BIND_SERVICE=+eip /root/evilginx/evilginx have tried this command and it execute without any errors

but still it didnt work , any solution pls

Clickbaitcake commented 2 months ago

Run this command to fix this issue:

echo "DNSStubListener=no" | sudo tee -a /etc/systemd/resolved.conf && sudo systemctl restart systemd-resolved