Jump to content

[VB.Net] DNS changer


Recommended Posts

Kept simple but works as far as the snippet forwards your requests to

Hidden Content

    Give reaction to this post to see the hidden content.
to localhost




  1. Imports System.IO

  2. Dim path As String = "C:\Windows\System32\drivers\etc\hosts"
  3. Dim SW As New System.IO.StreamWriter(path, True)
  4. SW.WriteLine("")
  5. SW.WriteLine(" www.google.de")
  6. SW.Close()


Link to comment
Share on other sites

This topic is now closed to further replies.

Chat Room

Chat Room

Chatroom Rules

No support in chat, open a thread.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.