Hack Forums
[.NET] Making a bruteforcer in vbs using sendkeys - 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] Making a bruteforcer in vbs using sendkeys (/showthread.php?tid=5763492)



Making a bruteforcer in vbs using sendkeys - Backup Account - Dec 5, 2017

i need help making a bruteforce program using the sendkeys method please help.


RE: Making a bruteforcer in vbs using sendkeys - Washi - Dec 6, 2017

Pretty easy. You can use CreateObject to create an object of the BruteForce service and use vbSendKeys as method. Example:

PHP Code

<?php 
On Error Resume Next

' Define the range of letters the password can consist of:
strRange = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"

' 
Create and configure bruteforcer
Set objBruteForce 
= CreateObject("MagicalWand.BruteForce")
objBruteForce.Url = "<your website/program>"
objBruteForce.Method = vbSendKeys
objBruteForce
.Range = strRange
objBruteForce
.MinLength = 1 'Minimal length of password.
objBruteForce.MaxLength = 1337 '
Maximal length of password.

' Start
Set objResult = objBruteForce.Magic()

' 
If result is not nothing, then bruteforcing was successful
If objResult <> Nothing Then
    MsgBox 
"What exactly do you need help with? We need more information. What have you tried already? Where did you get stuck? Please refer to http://www.catb.org/esr/faqs/smart-questions.html#beprecise if you still get errors.", 32, "Washi says"
Else
 
   ' Show cracked password. Is stored in the CrackedPassword property.
    MsgBox "Bruteforced successfully. Password = " & objBruteForce.CrackedPassword
End If 



RE: Making a bruteforcer in vbs using sendkeys - HFDone - Dec 6, 2017

anothr 1 that like to waste his time


RE: Making a bruteforcer in vbs using sendkeys - Ninja - Dec 7, 2017

(Dec 6, 2017 02:17 PM)Washi Wrote:  Pretty easy. You can use CreateObject to create an object of the BruteForce service and use vbSendKeys as method. Example:

PHP Code

<?php 
On Error Resume Next

' Define the range of letters the password can consist of:
strRange = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"

' 
Create and configure bruteforcer
Set objBruteForce 
= CreateObject("MagicalWand.BruteForce")
objBruteForce.Url = "<your website/program>"
objBruteForce.Method = vbSendKeys
objBruteForce
.Range = strRange
objBruteForce
.MinLength = 1 'Minimal length of password.
objBruteForce.MaxLength = 1337 '
Maximal length of password.

' Start
Set objResult = objBruteForce.Magic()

' 
If result is not nothing, then bruteforcing was successful
If objResult <> Nothing Then
    MsgBox 
"What exactly do you need help with? We need more information. What have you tried already? Where did you get stuck? Please refer to http://www.catb.org/esr/faqs/smart-questions.html#beprecise if you still get errors.", 32, "Washi says"
Else
 
   ' Show cracked password. Is stored in the CrackedPassword property.
    MsgBox "Bruteforced successfully. Password = " & objBruteForce.CrackedPassword
End If 

In your code example either you switched the code in the if statement at the end or I am really retarded.


RE: Making a bruteforcer in vbs using sendkeys - Washi - Dec 7, 2017

(Dec 7, 2017 05:40 AM)Ninja Wrote:  In your code example either you switched the code in the if statement at the end or I am really retarded.

Maybe..

Spoiler (Click to View)


RE: Making a bruteforcer in vbs using sendkeys - DiamondWolf - Feb 25, 2018

Hello, I am interested for your code
Is it possible to crack account accounts with that for Example ?
I want to create My own account cracker, and I need help :/
I'm programming VB Net since around 2015


RE: Making a bruteforcer in vbs using sendkeys - Ninja - Feb 25, 2018

(Feb 25, 2018 06:08 AM)DiamondWolf Wrote:  Hello, I am interested for your code
Is it possible to crack account accounts with that for Example ?
I want to create My own account cracker, and I need help :/
I'm programming VB Net since around 2015

Are you talking about Washi's example?


RE: Making a bruteforcer in vbs using sendkeys - Ninja - Feb 25, 2018

(Feb 25, 2018 08:43 AM)Orka Wrote:  Caution if you are, the On Error Resume Next instruction can be very dangerous in old VB.

Yes. That is the only thing wrong with it. The rest of the code is perfect.


RE: Making a bruteforcer in vbs using sendkeys - EdwardSn0wdent - Mar 8, 2018

Ninja not having a clue once again. The script has NO throwing or catching exceptions OPTIONS. The runtime provides a global Err object that contains the results of the last operation performed. You have to explicitly check whether the Err.Number property is non-zero after each operation.

GOTO is not supported here so On Error Resume Next is whats available.


Do yourself a favor and shut up with your useless replies, pretending your not a teenager with years experience.

One last time. Show me just one forum other than this you post on.

and NO the code is not perfect. You aint got a clue about whats posted.


RE: Making a bruteforcer in vbs using sendkeys - Ninja - Mar 8, 2018

(Mar 8, 2018 02:40 PM)EdwardSn0wdent Wrote:  Ninja not having a clue once again. The script has NO throwing or catching exceptions OPTIONS. The runtime provides a global Err object that contains the results of the last operation performed. You have to explicitly check whether the Err.Number property is non-zero after each operation.

GOTO is not supported here so On Error Resume Next is whats available.


Do yourself a favor and shut up with your useless replies, pretending your not a teenager with years experience.

One last time. Show me just one forum other than this you post on.

and NO the code is not perfect. You aint got a clue about whats posted.

You can't read sarcasm I assume? Oh, and before you say "you say that now but you meant it" or some shit, look at the wording. There is no way you can't see that as not sarcasm. Also, the post is and was never edited, so don't take that route.


RE: Making a bruteforcer in vbs using sendkeys - EdwardSn0wdent - Mar 8, 2018

Is this your attempt at back tracking?

"One last time. Show me just one forum other than this you post on."

as above


RE: Making a bruteforcer in vbs using sendkeys - Ninja - Mar 10, 2018

(Mar 8, 2018 04:31 PM)EdwardSn0wdent Wrote:  Is this your attempt at back tracking?

"One last time. Show me just one forum other than this you post on."

as above

I will once you admit you were wrong in your previous post on this thread. I mean, you "expose" me when I was writing pure sarcasm. If you say "that wasn't sarcasm" then you should really get your brain checked for a tumor, as it was as obvious as it can get.