Skip to content

Commit

Permalink
Replace EICAR signature generation because Microsoft Defender
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronJackson committed Apr 18, 2024
1 parent e03f9dc commit 0117cde
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions reverse_proxy/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,12 @@
install_recommends: false
register: clamav_install

- name: Create an EICAR file
- name: Create an EICAR signature db for ClamAV
copy:
# This is the sha256 with file length and a name
content: |
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
dest: /tmp/eicar.txt

- name: Create a dummy database
become: true
shell: sigtool --sha256 /tmp/eicar.txt > /tmp/clamav.hdb
131f95c51cc819465fa1797f6ccacf9d494aaaff46fa3eac73ae63ffbdfd8267:69:eicar
dest: /tmp/clamav.hdb
when: clamav_install.changed

- name: create faux sophos-spl installation
Expand Down

0 comments on commit 0117cde

Please sign in to comment.