From 53a1c4c2d4f6bf1affa3111c4a03befc97c487f9 Mon Sep 17 00:00:00 2001 From: Piotr Dobrowolski Date: Fri, 12 Nov 2021 19:47:13 +0100 Subject: [PATCH] index: fix localhost Seems like some TVs miss a localhost entry in /etc/hosts. 127.0.0.1 should work fine in that case. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index bfb59e9..c246dbf 100644 --- a/index.html +++ b/index.html @@ -223,7 +223,7 @@ // Allow people to download the exploit page to manually set target IP, // in case direct on-tv deployment fails for some reason. - var target = is_local ? prompt('Enter IP address of Your TV') : 'localhost'; + var target = is_local ? prompt('Enter IP address of Your TV') : '127.0.0.1'; bootstrap(target, new URL('stage2.html', ORIGIN_URL).href); }