Advertisement
wzul

eicar php testfile

Jan 7th, 2025
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2. $eicarTestString = 'X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*';
  3. file_put_contents('eicar_test_file.txt', $eicarTestString);
  4. echo "EICAR test file created.";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement