From a540a1167c78f768b6100d25bb6b88eb5b254957 Mon Sep 17 00:00:00 2001 From: Christian Hoffmann Date: Wed, 15 Nov 2023 16:25:12 +0100 Subject: [PATCH] samfirm: fix 403 Client Error: Forbidden * cloud-neofussvr.sslcs.cdngc.net no longer works for downloading but still works fine for nonce. * Taken from https://github.com/jesec/SamFirm.NET/commit/c6f6a45285306b0c8e6e2acb738c4110782a6dce --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 92730ec..9c84732 100755 --- a/index.ts +++ b/index.ts @@ -168,7 +168,7 @@ const main = async (region: string, model: string): Promise => { await axios .get( - `http://cloud-neofussvr.sslcs.cdngc.net/NF_DownloadBinaryForMass.do?file=${binaryModelPath}${binaryFilename}`, + `http://cloud-neofussvr.samsungmobile.com/NF_DownloadBinaryForMass.do?file=${binaryModelPath}${binaryFilename}`, { headers, responseType: "stream",