{"id":16567227,"url":"https://github.com/justin-p/ansible-role-evilginx","last_synced_at":"2026-05-10T10:03:25.735Z","repository":{"id":53196617,"uuid":"314309225","full_name":"justin-p/ansible-role-evilginx","owner":"justin-p","description":"A Ansible role that deploys the https://github.com/kgretzky/evilginx2 application and starts it in a tmux session.","archived":false,"fork":false,"pushed_at":"2024-03-19T20:01:30.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-15T23:53:50.377Z","etag":null,"topics":["ansible","ansible-role","evilginx2","phising"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justin-p.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-11-19T16:41:36.000Z","updated_at":"2024-12-07T22:03:49.000Z","dependencies_parsed_at":"2024-03-19T21:26:23.050Z","dependency_job_id":"2522d67d-a146-409c-b039-b23c440f47d3","html_url":"https://github.com/justin-p/ansible-role-evilginx","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justin-p%2Fansible-role-evilginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justin-p%2Fansible-role-evilginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justin-p%2Fansible-role-evilginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justin-p%2Fansible-role-evilginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justin-p","download_url":"https://codeload.github.com/justin-p/ansible-role-evilginx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242008899,"owners_count":20056985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","evilginx2","phising"],"created_at":"2024-10-11T21:06:01.766Z","updated_at":"2026-05-10T10:03:20.700Z","avatar_url":"https://github.com/justin-p.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-role-evilginx\n\n[![Ansible Role Name](https://img.shields.io/ansible/role/d/justin_p/evilginx2?style=flat-square\n)](https://galaxy.ansible.com/ui/standalone/roles/justin_p/evilginx2/)\n[![Github Actions](https://img.shields.io/github/actions/workflow/status/justin-p/ansible-role-evilginx/main.yml?label=Github%20Actions\u0026logo=github\u0026style=flat-square)](https://github.com/justin-p/ansible-role-evilginx/actions)\n\nA Ansible role that clones and builds the [evilginx](https://github.com/kgretzky/evilginx) application, clones a (configurable) additional [phishlet repository](https://github.com/An0nUD4Y/Evilginx2-Phishlets) and starts evilginx in a tmux session.\n\n## Requirements\n\nNone.\n\n## Variables\n\n`defaults/main.yml`\n\n| Variable                               | Description                                                                | Default value                                                                                  |\n| -------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |\n| evilginx_repo_author                   | Used to built evilginx_url, can be updated to a alternative repo           | `kgretzky`                                                                                     |\n| evilginx_repo_name                     | Used to built evilginx_url,can be updated to a alternative repo            | `evilginx2`                                                                                    |\n| evilginx_version                       | Tag/Release/Branch to install                                              | `v3.1.0`                                                                                       |\n| evilginx_url                           | URL to clone evilginx repo from                                            | `\"https://github.com/{{ evilginx_repo_author }}/{{ evilginx_repo_name }}\"`                     |\n| evilginx_install_destination           | Installation directory                                                     | `/opt/{{ evilginx_repo_name }}`                                                                |\n| evilginx_phishlets_repo_author         | Used to built evilginx_phishlets_url, can be updated to a alternative repo | `An0nUD4Y`                                                                                     |\n| evilginx_phishlets_repo_name           | Used to built evilginx_phishlets_url, can be updated to a alternative repo | `Evilginx2-Phishlets`                                                                          |\n| evilginx_phishlets_version             | Tag/Release/Branch to install                                              | `master`                                                                                       |\n| evilginx_phishlets_url                 | URL to clone evilginx phishlet repo from                                   | `\"https://github.com/{{ evilginx_phishlets_repo_author }}/{{ evilginx_phishlets_repo_name }}\"` |\n| evilginx_phishlets_install_destination | Location where phishlets will be installed                                 | `\"/opt/{{ evilginx_phishlets_repo_name }}\"`                                                    |\n## Dependencies\n\n[robertdebock.update_package_cache](https://github.com/robertdebock/ansible-role-update_package_cache)\n\n[robertdebock.core_dependencies](https://github.com/robertdebock/ansible-role-core_dependencies)\n\n## Example Playbooks\n\n### Default role installation\n\n```yaml\n---\n- hosts: evilginx_hosts\n  become: yes\n  tasks:\n    - name: Run 'gantsign.golang'-role\n      ansible.builtin.include_role:\n        name: gantsign.golang\n      vars:\n        golang_install_dir: /opt/go\n\n    - name: Run 'justin_p.evilginx'-role\n      ansible.builtin.include_role:\n        name: justin_p.evilginx\n        apply:\n          environment:\n            PATH: \"{{ ansible_env.PATH }}:/opt/go/bin\"\n```\n\n### Deployment playbook\n\nThis playbook is tested as part of the role CI.\n\n```yaml\n---\n- name: Deploy evilginx\n  hosts: evilginx_hosts\n  tasks:\n    - include_role:\n        name: robertdebock.update_package_cache\n      tags: molecule-idempotence-notest\n    - include_role:\n        name: robertdebock.bootstrap\n    - include_role:\n        name: robertdebock.update\n      vars:\n        update_reboot: no\n    - include_role:\n        name: robertdebock.firewall\n      vars:\n        firewall_services:\n          - name: ssh\n          - name: http\n          - name: https\n    - include_role:\n        name: robertdebock.hostname\n      vars:\n        hostname: evilginx.local\n        hostname_reboot: no\n     - include_role:\n         name: gantsign.golang\n        vars:\n          golang_install_dir: /opt/go\n    - include_role:\n        name: justin_p.evilginx\n        apply:\n          environment:\n            PATH: \"{{ ansible_env.PATH }}:/opt/go/bin\"\n```\n\n## Local Development\n\nThis role includes molecule that will spin up a local docker environment to deploy, configure and test this role.\n\nDevelopment requirements:\n\n- Docker\n- Molecule\n- Molecule-docker\n- yamllint\n- ansible-lint\n\nor simply use a VM with [this](https://github.com/justin-p/ansible-terraform-workstation) configuration.\n\n## License\n\nMIT\n\n## Authors\n\nJustin Perdok ([@justin-p](https://github.com/justin-p/)), Orange Cyberdefense\n\n## Contributing\n\nFeel free to open issues, contribute and submit your Pull Requests. You can also ping me on Twitter ([@JustinPerdok](https://twitter.com/JustinPerdok))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustin-p%2Fansible-role-evilginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustin-p%2Fansible-role-evilginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustin-p%2Fansible-role-evilginx/lists"}