Loading...

local host discovery in browser

In Summary : This might be well known and boring to many of you, but it was a big shocker to me learning it for the first time. So I want...

In Summary :

This might be well known and boring to many of you, but it was a big shocker to me learning it for the first time. So I want to share what I learned!
Basically any old webpage can perform local network host discovery on you. To implement this I made a webpage which attempts to load images from addresses 192.168.1.x. If you watch in the browser console it’ll show either net::ERR_CONNECTION_REFUSED for a host that’s up or net::ERR_ADDRESS_UNREACHABLE for a host that doesn’t exist. This is a CORS error which the javascript on the webpage is not allowed to differentiate by catching. But one error takes 3 ms to happen and the other takes 3 seconds! [...]

kindly refer the following link as follow up :
https://ift.tt/2x1VVSC

Post a Comment

emo-but-icon

Home item

ADS

Popular Posts

Random Posts

Flickr Photo

StatCounter

View My Stats