updated paths for restructure

This commit is contained in:
n0mad1k
2025-07-09 13:29:54 -04:00
parent 8673559470
commit a6ed515a05
18 changed files with 95 additions and 95 deletions
+4 -4
View File
@@ -435,16 +435,16 @@
ignore_errors: yes
- name: Include common tool installation tasks
include_tasks: "../tasks/install_tools.yml"
include_tasks: "../../common/tasks/install_tools.yml"
- name: Include common C2 configuration tasks
include_tasks: "../tasks/configure_c2.yml"
include_tasks: "../../modules/c2/tasks/configure_c2.yml"
- name: Include common security hardening tasks
include_tasks: "../tasks/security_hardening.yml"
include_tasks: "../../common/tasks/security_hardening.yml"
- name: Include common mail server configuration tasks
include_tasks: "../tasks/configure_mail.yml"
include_tasks: "../../common/tasks/configure_mail.yml"
- name: Set up SSH access to redirector
block:
+2 -2
View File
@@ -358,11 +358,11 @@
# Include the rest of your redirector configuration tasks here
tasks:
- name: Include common redirector configuration tasks
include_tasks: "../tasks/configure_redirector.yml"
include_tasks: "../../modules/redirectors/tasks/configure_redirector.yml"
- name: Configure shell handler script with listening port
template:
src: "../files/havoc_shell_handler.sh"
src: "../../modules/c2/files/havoc_shell_handler.sh"
dest: "/root/Tools/shell_handler.sh"
mode: 0755
vars:
+6 -6
View File
@@ -132,7 +132,7 @@
- name: Copy clean-logs.sh script
copy:
src: "../files/clean-logs.sh"
src: "../../common/files/clean-logs.sh"
dest: /opt/c2/clean-logs.sh
mode: '0700'
owner: root
@@ -140,7 +140,7 @@
- name: Copy secure-exit.sh script
copy:
src: "../files/secure-exit.sh"
src: "../../common/files/secure-exit.sh"
dest: /opt/c2/secure-exit.sh
mode: '0700'
owner: root
@@ -148,7 +148,7 @@
- name: Copy shell handler script
copy:
src: "../files/persistent-listener.sh"
src: "../../common/files/persistent-listener.sh"
dest: /opt/shell-handler/persistent-listener.sh
mode: '0700'
owner: root
@@ -565,7 +565,7 @@
- name: Copy clean-logs.sh script
copy:
src: "../files/clean-logs.sh"
src: "../../common/files/clean-logs.sh"
dest: /opt/c2/clean-logs.sh
mode: '0700'
owner: root
@@ -573,7 +573,7 @@
- name: Copy secure-exit.sh script
copy:
src: "../files/secure-exit.sh"
src: "../../common/files/secure-exit.sh"
dest: /opt/c2/secure-exit.sh
mode: '0700'
owner: root
@@ -581,7 +581,7 @@
- name: Copy serve-beacons.sh script
copy:
src: "../files/serve-beacons.sh"
src: "../../common/files/serve-beacons.sh"
dest: /opt/c2/serve-beacons.sh
mode: '0700'
owner: root
+4 -4
View File
@@ -79,16 +79,16 @@
state: present
- name: Include common security hardening tasks
include_tasks: "../tasks/security_hardening.yml"
include_tasks: "../../common/tasks/security_hardening.yml"
- name: Include common tool installation tasks
include_tasks: "../tasks/install_tools.yml"
include_tasks: "../../common/tasks/install_tools.yml"
- name: Include common C2 configuration tasks
include_tasks: "../tasks/configure_c2.yml"
include_tasks: "../../modules/c2/tasks/configure_c2.yml"
- name: Include common mail server configuration tasks
include_tasks: "../tasks/configure_mail.yml"
include_tasks: "../../common/tasks/configure_mail.yml"
- name: Print deployment summary
debug:
+1 -1
View File
@@ -83,7 +83,7 @@
- name: Copy operational scripts
ansible.builtin.copy:
src: "../files/{{ item }}"
src: "../../common/files/{{ item }}"
dest: "/opt/c2/{{ item }}"
mode: '0700'
owner: root
+2 -2
View File
@@ -81,10 +81,10 @@
state: present
- name: Include common security hardening tasks
include_tasks: "../tasks/security_hardening.yml"
include_tasks: "../../common/tasks/security_hardening.yml"
- name: Include common redirector configuration tasks
include_tasks: "../tasks/configure_redirector.yml"
include_tasks: "../../modules/redirectors/tasks/configure_redirector.yml"
- name: Print deployment summary
debug:
+1 -1
View File
@@ -123,7 +123,7 @@
state: restarted
- name: Include common redirector configuration tasks
include_tasks: "../tasks/configure_redirector.yml"
include_tasks: "../../modules/redirectors/tasks/configure_redirector.yml"
- name: Print deployment summary
debug:
+2 -2
View File
@@ -105,7 +105,7 @@
- name: Configure tracker settings
template:
src: "../templates/tracker-config.j2"
src: "../../modules/tracker/templates/tracker-config.j2"
dest: /root/Tools/tracker/config.py
mode: '0644'
ignore_errors: yes
@@ -122,7 +122,7 @@
- name: Create systemd service for tracker
template:
src: "../templates/tracker.service.j2"
src: "../../modules/tracker/templates/tracker.service.j2"
dest: /etc/systemd/system/tracker.service
mode: '0644'
ignore_errors: yes