[VB.NET] Anti-Anti Reflector

Download | Vote Up (0) | Vote Down (0)
'Outils:
'Boutton(Button1) 
'Textbox(TextBox1)

Imports System.IO

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If (Me.TextBox1.Text <> "Invalid File") Then
            Dim stream As New FileStream(Me.OpenFileDialog1.FileName, FileMode.Open, FileAccess.Write)
            stream.Seek(2, SeekOrigin.Begin)
            stream.WriteByte(1)
            stream.Flush()
            stream.Close()
            Interaction.MsgBox("La Protection anti-reflector est bypass.", MsgBoxStyle.OkOnly, Nothing)
        End If
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Me.OpenFileDialog1.ShowDialog()
        Me.TextBox1.Text = Me.OpenFileDialog1.FileName
    End Sub

EkiN0x


Be the first to give feedback !

Please login to comment !