[Add Scan]

This commit is contained in:
2025-11-11 21:51:06 +01:00
parent e4fa6510e8
commit 895d3b544b

View File

@@ -118,9 +118,9 @@
delegate_to: localhost delegate_to: localhost
become: false become: false
#TODO auto select interface + router mac
- ansible.builtin.command: - ansible.builtin.command:
cmd: "masscan {{ target_network }} -p{{ target_port }}" cmd: "masscan {{ target_network }} -p{{ target_port }} --router-mac 00-81-c4-f6-e9-17 --interface enp0s20"
#cmd: "/opt/homebrew/bin/masscan {{ target_network }} -p{{ target_port }}" #cmd: "/opt/homebrew/bin/masscan {{ target_network }} -p{{ target_port }}"
become: true become: true
register: scan_output register: scan_output