Skip to content

Instantly share code, notes, and snippets.

@pmachapman
Created August 21, 2015 02:25
Show Gist options
  • Save pmachapman/60327034eb512b695462 to your computer and use it in GitHub Desktop.
Save pmachapman/60327034eb512b695462 to your computer and use it in GitHub Desktop.
EICAR Anti-Virus Test File Creator
DIM F AS INTEGER
F = FREEFILE
OPEN "EICAR.COM" FOR OUTPUT AS #F
PRINT #F, "X5O!P%@AP[4\PZX54(P^)7CC)7}";
PRINT #F, "$EICAR-STANDARD-ANTIVIRUS-TEST-FILE";
PRINT #F, "!$H+H*";
CLOSE #F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment