Welcome to HBH V2 ! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Adobe Registration Patch - vb.net Code Bank

Adobe Registration Patch
Patches hosts file to redirect traffic to
                Public Class MainForm
    Dim file As System.IO.File
    Dim reader As System.IO.StreamReader
    Dim writer As System.IO.StreamWriter
    Dim strLine As String
    Dim found As Boolean = False

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        reader = IO.File.OpenText("C:\WINDOWS\System32\drivers\etc\hosts")
        While reader.Peek <> -1
            strLine = reader.ReadLine
            If strLine.Contains(" activate.adobe.com") Then
                found = True
                MessageBox.Show("The hosts file has already been patched.", "Patch Complete", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
            End If
        End While
        If found = False Then
            writer = IO.File.AppendText("C:\WINDOWS\System32\drivers\etc\hosts")
            writer.WriteLine(" activate.adobe.com")
            MessageBox.Show("The hosts patch is complete.", "Patch Complete", MessageBoxButtons.OK, MessageBoxIcon.None)
        End If
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    End Sub
End Class
Sorry but there are no comments to display