|
-
Jun 5th, 2004, 12:08 PM
#1
Thread Starter
Hyperactive Member
How to insert such these values to a text file??!![RESOLVED]
Last edited by raladin; Mar 29th, 2014 at 09:07 PM.
-
Jun 5th, 2004, 12:27 PM
#2
Well, isn't someone creating a "word list" for brute force cracking
-
Jun 5th, 2004, 12:27 PM
#3
Banned
-
Jun 5th, 2004, 12:29 PM
#4
Hold on and i'll give it a bash.
-
Jun 5th, 2004, 01:06 PM
#5
Member
<a href=http://www.kiranreddys.com>Kiran Reddy </a>
-
Jun 5th, 2004, 01:12 PM
#6
Thread Starter
Hyperactive Member
Last edited by raladin; Mar 29th, 2014 at 09:07 PM.
-
Jun 5th, 2004, 01:50 PM
#7
Look at this thread. Look the idea I posted there.
http://www.vbforums.com/showthread.p...hreadid=292626
You can use that, except you wont be calculating the sum, you will just add every item to a list. and save that list into a file.
-
Jun 5th, 2004, 06:13 PM
#8
Try this. For a 5 char combo i stopped going when the txt file got to about 400megs so i dont kow how far that was. Comp can't handle a 400 meg txt file.
VB Code:
Option Explicit
Private BOOLER As Boolean
Private numofperms As Single
Private comboz As String
Private myarray() As Byte
Private Const charz As String = "abcdefghijklmnopqrstuvwxyz0123456789"
Private Function APPPATH() As String
If Right$(App.Path, 1) <> "\" Then
APPPATH = App.Path & "\"
Else
APPPATH = App.Path
End If
End Function
Private Sub command1_Click()
BOOLER = False
Open APPPATH & "combos.txt" For Output As #1
Call GETALLCOMBOZ(charz, 4) ' 4 = number of character combinations to try
numofperms = 1
End Sub
Public Sub GETALLCOMBOZ(ByVal charact As String, _
ByVal num As Byte)
ReDim myarray(num)
Do While Not (BOOLER)
myarray(numofperms) = myarray(numofperms) + 1
If numofperms = num Then
comboz = Left$(comboz, num - 1) + Mid$(charact, myarray(numofperms), 1)
Else
comboz = comboz + Mid$(charact, myarray(numofperms), 1)
End If
If myarray(numofperms) <> Len(charact) + 1 Then
If numofperms <> num Then
numofperms = numofperms + 1
Else
Print #1, comboz
End If
Else
If numofperms = 1 Then
BOOLER = True
Else
myarray(numofperms) = 0
numofperms = numofperms - 1
comboz = Left$(comboz, numofperms - 1)
End If
End If
Loop
Close #1
End Sub
-
Jun 6th, 2004, 03:24 AM
#9
Thread Starter
Hyperactive Member
Last edited by raladin; Mar 29th, 2014 at 09:08 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|