Hack Forums
DNS - REDIRECTION FOR 1 URL NO HACKING - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Beginner Hacking (https://hackforums.net/forumdisplay.php?fid=4)
+---- Thread: DNS - REDIRECTION FOR 1 URL NO HACKING (/showthread.php?tid=4980201)



DNS - REDIRECTION FOR 1 URL NO HACKING - MrRobot - Sep 8, 2015

hi is there a way you can configure on windows settings (network)
a url lets say facebook to another url get the pass and username and use it to redirect to the real facebook so the victim will not see that the password was sent to an email

i would search the forum if i knew what to search...

thanks in advence


* - lukejx2 - Sep 8, 2015

sounds like a man in the middle attack? maybe?


* - moorbes - Sep 8, 2015

I don't know if HSTS allows this anymore(browsers),in 'hosts' file I tried once it works connecting to a specific IP for redirecting to real
Try this : c:\windows\system32\drivers\etc\hosts , add this line :
Code
0.0.0.0     w w w facebook . com
erase spaces in that url
Try to connect to facebook,or just give another websites IP to see what it happens.

(with that 0.0.0.0 configuration you should see ERRORS on browser when you try to access facebook)


RE: DNS - REDIRECTION FOR 1 URL NO HACKING - riu41776 - Mar 15, 2019

Lol, modern browsers bypass hosts file.


RE: DNS - REDIRECTION FOR 1 URL NO HACKING - Hoodie+ - Mar 15, 2019

(Mar 15, 2019 04:46 AM)riu41776 Wrote:  Lol, modern browsers bypass hosts file.

No they don't, lol.


RE: DNS - REDIRECTION FOR 1 URL NO HACKING - Vuln - Mar 15, 2019

(Mar 15, 2019 04:46 AM)riu41776 Wrote:  Lol, modern browsers bypass hosts file.

Not true. I know that some Chromium versions used to do that, but that was quite a while ago.
Maybe you're thinking of browser DNS caching.


RE: DNS - REDIRECTION FOR 1 URL NO HACKING - k45h - Mar 15, 2019

(Mar 15, 2019 04:46 AM)riu41776 Wrote:  Lol, modern browsers bypass hosts file.

What's your 'modern browser(s)'?