Closed tokyoneon closed 6 years ago
Hi.
After running the evilginx.py
script, your generated site configs should be in /etc/nginx/sites-enabled/
.
Issue here is that you are trying to include in nginx.conf
the templates which are used only by evilginx.py
script to generate valid site configs.
Can you check if site configs were properly generated in /etc/nginx/sites-enabled/
and that they are properly being included with main nginx config?
EDIT: Btw, let me know if you ran install.sh
before running the script.
@kgretzky it seems that this issue occurs again with me. I use your old tutorial to set everything up:
https://breakdev.org/evilginx-advanced-phishing-with-two-factor-authentication-bypass/
Things went well but I cannot start nginx because of the same error as @tokyoneon
The site configs were properly generated in /etc/nginx/sites-enabled
anyway!
Hey @kgretzky, I would like to feature Evilginx on Null Byte, I could use your help resolving this issue. I'm getting a ""server_name" is not terminated by ";"" error even though there are semicolon's at the ends of each directive. No errors when using the
install.sh
script.VPS specs:
Using the following evilginx command:
There are no other
server
blocks in my nginx.conf:Errors when starting nginx:
The evilginx/sites/m.facebook.com.conf:
If I manually replace "{{PHISH_HOSTNAME[1]}}" with "mywebsite.com", I'll instead receive a "not terminated by ;" error for the following ssl_certificate* directives. If I delete the mobile conf and try the www conf only, Nginx complains the "{{PHISH_HOSTNAME[0]}}" line wasn't terminated properly. Any idea why this might be happening?