This repository contains a Python script for sending phishing emails and a configuration setup for an Evilginx server. This is intended for educational purposes only.
Before you begin, ensure you have met the following requirements:
- Python and the Go compiler are installed on your system.
- Access to an email account to send emails (gmail will do).
-
Clone this repository to your local machine.
-
Clone the Evilginx repository:
git clone https://github.com/kgretzky/evilginx2
-
Place the
ent.yamlfile in thephishletsfolder of the Evilginx repository. -
Compile Evilginx by following the instructions in the Evilginx repository. (Should be go build)
-
Run the compiled Evilginx executable.
-
Configure Evilginx according to the official documentation (DNS records, basic configuration, phishlet hostname).
- Open the python script and replace the following placeholders with your actual details:
YOUR_EMAIL_ADDRESS: Your email address for sending emails.YOUR_EMAIL_PASSWORD: Your email password (for gmail, your app-specific password).YOUR_CUSTOM_URL: The URL of your Evilginx lure.
This project is designed for educational purposes only. Unauthorized use of this code for phishing or other malicious activities is strictly prohibited. Always obtain proper authorization before testing or simulating attacks on any system.
Contributions are welcome! Please fork this repository and submit pull requests for any improvements or additional features.
This project is licensed under the MIT License.