Sinisterly
How to read all line of a txt file - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Java, JVM, & JRE (https://sinister.ly/Forum-Java-JVM-JRE)
+--- Thread: How to read all line of a txt file (/Thread-How-to-read-all-line-of-a-txt-file)

Pages: 1 2


How to read all line of a txt file - Mr.Kurd - 07-28-2016

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.


RE: How to read all line of a txt file - Ex094 - 07-28-2016

Can you share the code that you've done so far?


RE: How to read all line of a txt file - Aero Blue - 07-28-2016

I'm very confused ........


RE: How to read all line of a txt file - Ex094 - 07-28-2016

(07-28-2016, 02:31 PM)Aero Blue Wrote: I'm very confused ........
English isn't his strong language I guess, I've been helping him previously, it's hard to understand his question


RE: How to read all line of a txt file - Mr.Kurd - 07-28-2016

the code that you give it me.Ex094


RE: How to read all line of a txt file - Ex094 - 07-28-2016

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


RE: How to read all line of a txt file - Mr.Kurd - 07-28-2016

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?


RE: How to read all line of a txt file - Ex094 - 07-28-2016

Can you post what's at line 601984, 601983


RE: How to read all line of a txt file - Mr.Kurd - 07-28-2016

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?


RE: How to read all line of a txt file - BORW3 - 07-29-2016

Do you ave some value that increments to something and while loop stops when it reaches it?