Eight Years of Service
Posts: 1,871
Threads: 93
How to read all line of a txt file 07-28-2016, 02:20 PM
#1
In The Name Of Allah
Salam Alekum
i'm programming a program to burte force MD5 Hash with wordlist dictionary but a program read just 0-601983 line how i make a my program to read all line it nearly 130000000 line all line content one word .
I read a file with:
BurteForce reader method . With readline() .
Ok my quistion is how i make it read all line for me.
Wasalam Alekum
Thank You
i use java languge with NetBeans.
(This post was last modified: 07-28-2016, 02:21 PM by Mr.Kurd.)
Die But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
![[Image: p_237m2jx1.png]](http://c.top4top.net/p_237m2jx1.png)
Click for Free VPN
•
Twelve Years of Service
Posts: 3,138
Threads: 99
RE: How to read all line of a txt file 07-28-2016, 02:23 PM
#2
Can you share the code that you've done so far?
•
Eight Years of Service
Posts: 120
Threads: 26
RE: How to read all line of a txt file 07-28-2016, 02:31 PM
#3
I'm very confused ........
•
Eight Years of Service
Posts: 1,871
Threads: 93
RE: How to read all line of a txt file 07-28-2016, 02:35 PM
#5
the code that you give it me.Ex094
Die But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
![[Image: p_237m2jx1.png]](http://c.top4top.net/p_237m2jx1.png)
Click for Free VPN
•
Twelve Years of Service
Posts: 3,138
Threads: 99
RE: How to read all line of a txt file 07-28-2016, 02:42 PM
#6
It might be possible that your text file has an EMPTY LINE on 601983 position (line), hence it gets treated as NULL and the WHILE loop exits.
Try sanitizing your worldlist
•
Eight Years of Service
Posts: 1,871
Threads: 93
RE: How to read all line of a txt file 07-28-2016, 02:47 PM
#7
No i chick it it don't read line 601984 but read line 601983.
But i want read it all how i read it all?
Die But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
![[Image: p_237m2jx1.png]](http://c.top4top.net/p_237m2jx1.png)
Click for Free VPN
•
Twelve Years of Service
Posts: 3,138
Threads: 99
RE: How to read all line of a txt file 07-28-2016, 02:49 PM
#8
Can you post what's at line 601984, 601983
•
Eight Years of Service
Posts: 1,871
Threads: 93
RE: How to read all line of a txt file 07-28-2016, 03:02 PM
#9
i'm not on my laptop but i think it this:
perfect
prac
but in java ducumation i read it that the code that you gava me it read nearlly 601500 line. Can you make a code witn same logic but read it all.
Teacher you coded it or not?
(This post was last modified: 07-28-2016, 03:51 PM by Mr.Kurd.)
Die But Don't Lie
“Oh Abu Dharr! Don’t look at the smallness of the sin but look at the one you disobeyed.” Prophet Muhammad (pbuh)
![[Image: p_237m2jx1.png]](http://c.top4top.net/p_237m2jx1.png)
Click for Free VPN
•
Ten Years of Service
Posts: 192
Threads: 14
RE: How to read all line of a txt file 07-29-2016, 10:06 PM
#10
Do you ave some value that increments to something and while loop stops when it reaches it?
•