1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Removed intentionally malicious code from e_fileTest.php

To eliminate a malware scan false positive

Related: #4248
This commit is contained in:
Nick Liu
2020-09-28 02:16:38 -05:00
parent 49c1a0eb10
commit 317f4f2a04

View File

@@ -30,7 +30,7 @@ class e_fileTest extends \Codeception\Test\Unit
$this->exploitFile = e_TEMP."test_exploit_file.jpg";
$content = "<?php system(\$_GET['q']) ?>";
$content = "<?php echo 'This file could be dangerous.'; ?>";
file_put_contents($this->exploitFile,$content);