Skip to content

Instantly share code, notes, and snippets.

@johnlane
Created September 10, 2014 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlane/f07c4ac63bd2836b9402 to your computer and use it in GitHub Desktop.
Save johnlane/f07c4ac63bd2836b9402 to your computer and use it in GitHub Desktop.
EICAR test message
From: John Doe <john.doe@example.com>
Subject: EICAR Test Message
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="XXXXboundary text"
This is a multipart message in MIME format.
--XXXXboundary text
Content-Type: text/plain
This test message has an attached file, "eicar.com", that contains
the EICAR test string which should be detected as a virus.
For more information, refer to EICAR at:
http://www.eicar.org/83-0-Anti-Malware-Testfile.html
--XXXXboundary text
Content-Type: text/plain;
Content-Disposition: attachment;
filename="eicar.com"
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
--XXXXboundary text--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment