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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user