Earlier quoted context omitted.
I'm unsure if that would work for this extension. Do you have a link to an implementation?
There are a bunch of sophisticated ways to obfuscate it, but it basically boils down to: setInterval(function() { try { let before = new Date().getTime(); // This will pause the program execution if debugging is enabled. // If debugging isn't enabled this statement is a no-op. debugger; let after = new Date().getTime(); // Detect if the program was paused or not. if (after - before > 0.01) { // > 10ms difference? The…
Show HN: Browser extension that spoofs your location data to match your VPN
91–99 of 99 posts
Re: Show HN: Browser extension that spoofs your location data to match your VPN
#92Earlier quoted context omitted.
I'm unsure if that would work for this extension. Do you have a link to an implementation?
I'm not familiar with what happens when `debugger` is eval'd while attached using the debugger API . If it ignores it, you're fine. This method and a few others are described in this paper: https://www.usenix.org/system/files/sec21-musch.pdf The debugger timing method is described on page 10.
Re: Show HN: Browser extension that spoofs your location data to match your VPN
#93Earlier quoted context omitted.
There are a bunch of sophisticated ways to obfuscate it, but it basically boils down to: setInterval(function() { try { let before = new Date().getTime(); // This will pause the program execution if debugging is enabled. // If debugging isn't enabled this statement is a no-op. debugger; let after = new Date().getTime(); // Detect if the program was paused or not. if (after - before > 0.01) { // > 10ms difference? The…
Doesn't seem like this work for detecting the extension.
Re: Show HN: Browser extension that spoofs your location data to match your VPN
#94So I've installed it. I'm tunneling to another country. Vytal says everything is correct for country B. However the site I'm testing posting to still detects that I'm outside their country. And I can't work out how :/
Very few websites/services actually use location to test geo-restriction (especially on browser. it's more common for mobile apps). The most common reason why you VPN didn't work is that they simply block IP ranges of common used (proxy) servers. They also can check if the IP is "Native IP" (means it's actually registered in the country that the server is in.)
So I tried creating a VPS in the same city as them last night, used freakin' lynx on a terminal so sans-Javascript, and lo and behold, still detected that I wasn't in their country :/
Re: Show HN: Browser extension that spoofs your location data to match your VPN
#95So I've installed it. I'm tunneling to another country. Vytal says everything is correct for country B. However the site I'm testing posting to still detects that I'm outside their country. And I can't work out how :/
Perhaps try a DNS leak test?
I think I've worked out how tho. They detect VPN/proxies, where there are plenty of libraries to do so.
So I tried creating a VPS in the same city as them last night, used freakin' lynx on a terminal so sans-Javascript, and lo and behold, still detected that I wasn't in their country :/
Re: Show HN: Browser extension that spoofs your location data to match your VPN
#96Earlier quoted context omitted.
Perhaps try a DNS leak test?
I use google DNS - surely that's mostly agnostic? I think I've worked out how tho. They detect VPN/proxies, where there are plenty of libraries to do so. So I tried creating a VPS in the same city as them last night, used freakin' lynx on a terminal so sans-Javascript, and lo and behold, still detected that I wasn't in their country :/
Re: Show HN: Browser extension that spoofs your location data to match your VPN
#97Earlier quoted context omitted.
The one I've seen before does the following: A javascript file, whose name changes with every refresh, is loaded. The script calls the `debugger` keyword, which only functions when you have DevTools open. Meanwhile, a tickers is running. If a tick takes too long, it interprets that as the debugger having been called.
I'm unsure if that would work for this extension. Do you have a link to an implementation?
I think you’re probably right that it wouldn’t detect presence of your extension, since that code runs in its own context and I assume doesn’t actually call the debugger. If your extension injects a script into the page, then that could be detected with this technique or similar.
Re: Show HN: Browser extension that spoofs your location data to match your VPN
#98Earlier quoted context omitted.
Surely this is a case of commenting something that does not to be commented ? Check out https://vytal.io/ . There are many more data points then just the geolocation api.
> Check out https://vytal.io/ . There are many more data points then just the geolocation api. I think most people would agree that your so called additional data points are worthless for the purpose that most people would be concerned about location data. Something like timezone "location" (which basically what your vytal website is showing) is simply not granular enough to be used for nefarious purposes. I mean, if…
* browser with IP in USA but timezone in Russia
* browser with IP in USA and timezone in USA
* browser with IP in Russia with timezone in Russia
Hint: it’s the middle one. The smaller the anonymity set, the more conspicuous and therefore fingerprintable you are.
Re: Show HN: Browser extension that spoofs your location data to match your VPN
#99Recently made this extension and interested in getting some feedback on it. Vytal can Spoof your timezone, locale, geolocation and user agent. This data can be used to track you or reveal your location. Most extensions that provide anti-fingerprinting features rely on content scripts to inject script tags into webpages. There are many limitations to script tag injections which you can read about here: https://palant.…