diff --git a/TODO.txt b/TODO.txt index 9520557..d43e21c 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,2 +1,2 @@ (B) Provide mechanism for verifying GPG signatures on requested pages. note:"[Todo] Secure Mechanism.md" -(A) \ No newline at end of file +(C) Create package in recovery buildroot to copy proxy into recovery filesystem. diff --git a/index.php b/index.php index 68cb85b..4641a19 100644 --- a/index.php +++ b/index.php @@ -15,7 +15,8 @@ $RecoveryVersion = str_replace("\n","",$RecoveryVersion); $UpdateServiceHeaders = [ 'X-Device-Serial-Number' => $SerialNumber, - 'X-Device-Bootloader-Version' => $RecoveryVersion + 'X-Device-Bootloader-Version' => $RecoveryVersion, + 'User-Agent' => 'wget/1.0 tononixPC/'.$RecoveryVersion ]; switch($_GET['file']) @@ -68,6 +69,6 @@ switch($_GET['file']) # BEGIN Processing and Outputting of ZIP file echo($recoveryZipData); # END Processing and Outputting of ZIP file - + break; } \ No newline at end of file