Skip to content

A collection of Ansible Playbooks that deploy https://github.com/kgretzky/evilginx2, including the provision of hosts and DNS records using Terraform.

Notifications You must be signed in to change notification settings

justin-p/ansible-playbook-evilginx2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

ansible-playbook-evilginx2

A W.I.P. collection of Ansible playbooks that deploys a evilginx2 in a tmux session, including the provision of hosts and DNS records using Terraform.

How to use

Ansible

Will configure the following items to a existing host:

  • Installs any needed roles locally with ansible-galaxy.
  • Installs any needed packages for Ansible management.
  • Update installed packages to latest version.
  • Setup Firewall (allows in 22, 80, 443)
  • Update the hostname.
  • Install docker and docker pip package
  • Ensure tmux and evilginx are installed, then start evilginx2 in a tmux session.
  1. Ensure Ansible is installed.

  2. Update the inventory file

    • Point to your IP.
    • Set the correct SSH key.
    • Set the correct SSH user.
  3. Update defaults/main.yml

    • Set server_hostname to your desired hostname.
  4. Run Playbook

    • ansible-playbook main.yml --inventory inventory.yml
  5. Connect to evilginx2

    • ssh user@ip
    • tmux a

Ansible and Terraform

TODO

About

A collection of Ansible Playbooks that deploy https://github.com/kgretzky/evilginx2, including the provision of hosts and DNS records using Terraform.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages