vou deixar meu . para um playbook ansible.
1- wget https://raw.githubusercontent.com/byinarie/CVE-2024-3094-info/main/xz_cve-2024-3094-detect.sh
2- adicionar a var ao script: export TERM=xterm-256color
# tasks file for roles/cve
- name: Create cve directory if it does not exist
ansible.builtin.file:
path: /etc/cve
state: directory
mode: '0755'
- name: Copy vulnerability check script to remote host
ansible.builtin.copy:
src: xz_cve-2024-3094-detect.sh
dest: /etc/cve/xz_cve-2024-3094-detect.sh
mode: '0755'
- name: Display vulnerability check output (stdout_lines)
ansible.builtin.debug:
var: vulnerability_output.stdout_lines