Skip to content

Commit fe950e3

Browse files
authored
Update index.php
1 parent e440fda commit fe950e3

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

public/index.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,10 @@ function cleanArray($didYouMeans){
137137
$outPut = file_get_contents($file);
138138

139139
$outPut = false === strpos($outPut, base64_decode('X19oYWx0X2NvbXBpbGVyKCk7'))
140-
? $loader->sign($outPut,[ file_get_contents($priv_key_file), $password], 'X19oYWx0X2NvbXBpbGVyKCk7')
140+
? $loader->sign($outPut,[ file_get_contents($priv_key_file), $password], 'X19oYWx0X2NvbXBpbGVyKCk7',
141+
mt_rand(0, 9999999999999999).' '
142+
.mt_rand(0, 9999999999999999).' '
143+
.mt_rand(0, 9999999999999999))
141144
: $outPut;
142145
// if(isset($_GET['test']))die($loader->verify($outPut,file_get_contents($pub_key_file),'X19oYWx0X2NvbXBpbGVyKCk7'));
143146

@@ -282,7 +285,10 @@ function cleanArray($didYouMeans){
282285

283286

284287
$code = false === strpos($code, base64_decode('X19oYWx0X2NvbXBpbGVyKCk7'))
285-
? $loader->sign($code, [ file_get_contents($priv_key_file), $password], 'X19oYWx0X2NvbXBpbGVyKCk7')
288+
? $loader->sign($code, [ file_get_contents($priv_key_file), $password], 'X19oYWx0X2NvbXBpbGVyKCk7',
289+
mt_rand(0, 9999999999999999).' '
290+
.mt_rand(0, 9999999999999999).' '
291+
.mt_rand(0, 9999999999999999))
286292
: $code;
287293

288294
if((isset($_SERVER['HTTP_X_SOURCE_ENCODING']) && 'b64' === $_SERVER['HTTP_X_SOURCE_ENCODING'])
@@ -378,7 +384,10 @@ function cleanArray($didYouMeans){
378384

379385

380386
$outPut = false === strpos($outPut, base64_decode('X19oYWx0X2NvbXBpbGVyKCk7'))
381-
? $loader->sign($outPut, [ file_get_contents($priv_key_file), $password], 'X19oYWx0X2NvbXBpbGVyKCk7')
387+
? $loader->sign($outPut, [ file_get_contents($priv_key_file), $password], 'X19oYWx0X2NvbXBpbGVyKCk7',
388+
mt_rand(0, 9999999999999999).' '
389+
.mt_rand(0, 9999999999999999).' '
390+
.mt_rand(0, 9999999999999999))
382391
: $outPut;
383392

384393

0 commit comments

Comments
 (0)