dEEpEst Posted December 20, 2017 Share Posted December 20, 2017 Kept simple but works as far as the snippet forwards your requests to This is the hidden content, please Sign In or Sign Up to localhost [LENGUAJE=vb.net] Imports System.IO Dim path As String = "C:\Windows\System32\drivers\etc\hosts" Dim SW As New System.IO.StreamWriter(path, True) SW.WriteLine("") SW.WriteLine("127.0.0.1 www.google.de") SW.Close() [/LENGUAJE] Link to comment Share on other sites More sharing options...
Recommended Posts