07.02.2015 Views

The Art of Reversing by Ap0x - Tutoriali.org

The Art of Reversing by Ap0x - Tutoriali.org

The Art of Reversing by Ap0x - Tutoriali.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

potraje ali bruteforceovanje je bas takvo, ipak postoji “samo” 244,140,625<br />

kombinacija koje treba proveriti.<br />

Algoritam:<br />

Dim table(1 To 26) As String<br />

For i = 65 To 90<br />

table(i - 64) = Chr(i)<br />

Next i<br />

Label3.Caption = "Time Start: " & Time$<br />

Me.Refresh<br />

For i1 = 1 To 26<br />

For i2 = 1 To 26<br />

For i3 = 1 To 26<br />

For i4 = 1 To 26<br />

For i5 = 1 To 26<br />

For i6 = 1 To 26<br />

sm = Asc(table(i1)) Xor Asc(table(i2)) Xor Asc(table(i3)) Xor Asc(table(i4))<br />

Asc(table(i5)) Xor Asc(table(i6))<br />

my = (Val(Text1.Text) Xor sm Xor Asc(table(i1)))<br />

If my = 77 <strong>The</strong>n<br />

my = (Val(Text2.Text) Xor sm Xor Asc(table(i2)))<br />

If my = 90 <strong>The</strong>n<br />

my = (Val(Text3.Text) Xor sm Xor Asc(table(i3)))<br />

If my = 144 <strong>The</strong>n<br />

my = (Val(Text4.Text) Xor sm Xor Asc(table(i4)))<br />

If my = 0 <strong>The</strong>n<br />

my = (Val(Text5.Text) Xor sm Xor Asc(table(i5)))<br />

If my = 3 <strong>The</strong>n<br />

my = (Val(Text6.Text) Xor sm Xor Asc(table(i6)))<br />

If my = 0 <strong>The</strong>n<br />

List1.AddItem table(i1) & table(i2) & table(i3) & table(i4) & table(i5) & table(i6)<br />

GoTo 2<br />

End If<br />

End If<br />

End If<br />

End If<br />

End If<br />

End If<br />

Label2.Caption = table(i1) & table(i2) & table(i3) & table(i4) & table(i5) & table(i6)<br />

Form1.Caption = "BruteForcer - " & Label2.Caption<br />

Next i6<br />

Next i5<br />

Next i4<br />

Next i3<br />

Next i2<br />

Next i1<br />

2<br />

Form1.Caption = "BruteForcer"<br />

Label3.Caption = Label3.Caption & " - End: " & Time$<br />

Objasnjenje:<br />

Tekstualna polja od 1 do 6 se<br />

koriste za unosenje prvih sest<br />

bajtova iz enkriptovanog fajla.<br />

Ako koristite HEX vrednosti ne<br />

zaboravite da ih unosite kao &H<br />

pa tek onda HEX vrednost bajta.<br />

Pritiskom na dugme BruteForce<br />

algoritam odozgo se izvrsava i<br />

krece se sa razbijanjem<br />

passworda. Source se nalazi u<br />

folderu ...\ Cas9\Source2\bforce<br />

Xor<br />

<strong>The</strong> <strong>Art</strong> <strong>of</strong> <strong>Reversing</strong> <strong>by</strong> <strong>Ap0x</strong> Page 177 <strong>of</strong> 293

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!