Giorgos Mourtasagas

Greenhorn
+ Follow
since Nov 04, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Giorgos Mourtasagas

The previous problem , i had with the brute force was solved.Here is the code:



Now I want the program not search all the charList[] but only the selection I want between the numbers,lower letters,upper letters and all of them.I want the user to write a,A,1 and one of this selection to represent the equivalent table.I think that I need 4 more tables.One with the lower letters , one with uperr letters , one with the digits and one more.In last table they will be placed the selection from user.
And my other opinion is to use only one more table to place the selection from user.But I don't know how to get the selection from user and fill in the table. e.g If the user write a,1 then , the second table must fill with lower letters and numbers.So the brute force will be run only for the selections and not all the table.
So the program will be much faster and not search all the table without reason.
13 years ago

Joe Ess wrote:First, you can simplify things. Primitive characters are ordinal. You can use them like so:


What are the exact parameters of the password? Can it contain numbers, capital letters, other characters? How short and long?




So what's a good way to represent 8 characters?



I understand that is much difficult to find out the problem in that throwing code.
So can you help me to do step by step?
In the upper code you give me , I made it.
In the question how to represent the 8 characters , I want to represent in table of 8 characters.
13 years ago
I made an effort to do the program.
Here is the result:



But I have a problem.It doesn't find code that the first or second digit it beegins from 2 or bigger.
In my program i want to find the password of file , that it has as code that :12345678 but it doesn'
t find.Other codes like :11111111,11112222,111444444 it finds.
So I don't understand where is the problem.
13 years ago
Always 8 characters
13 years ago
I use capital and small letters.
And the sort of the password will be 8 characters.
13 years ago
Thanks for the quick responding.
It's the same project with the older post.Then my code was wrong , because I want to found a password with a variable length and not with a constant.Therefore I try to rebuilt from the start.
But I don't know how to print the result like this:
aaa
aab
aac
.
.
.
ccc
Of caurse the variable of the table will be much bigger and not just 3 letters.
As an example I use only 3 letters.
So I use these tables: String table["a","b","c"] , String tbl[3] , int index[0,0,0].
The table tbl[3] I want to save the next possible correct password(aaa,aab,aac,....ccc).
The table index[0,0,0] corresponds to the length of the possible paassword.
If the table index[] at the end , look like this index[1,2,3] the password will be index[0,1,2]=[a,b,c].
Each one of the places of index[] it corresponds in a place of the table[](e.g 0=a,1=b,2=c)
Here is my big problem i don't know how to combine all this.


13 years ago
Hello.
I have a table with 3 elements.e.g String table{"a","b","c"}
And I want the result to be like this:
aaa
aab
aac
aba
abb
abc
.
.
.
ccc
But I don't know how to do this.I would like to do this because I want to make a program to find out the password of some files with brute force.
If anyone know please help me.
13 years ago
I wrote this program but I have a little problem.
I don't know how to convert the elements of an integer array to a string array to make the comparison and I found the password.
But I don't know how.I found examples but it isn't with arrays.It is only convert an integer to a string.
Here is the code.


14 years ago
I want to make it because it's my homework.
I have a zip file with AES encryption and I want to find out the password with brute force and dictionary attack.
I have made it with dictionary attack but with brute force I have a problem.
I understand that is useless but I must done it.
14 years ago
Hi my name is George.
I want to make a program generate all the possible characters of length 8 using all the characters in charSet
char[] charSet = {0,1,2,3,4,5,6,7,8,9}.
I made that program to understand the algorithm , then I want to make the same with 8 char length.



But as you see thai is onle 4 characters and I want 8.
I believe that there is another way to make without to make 8 .
If anyone have an idea help me.
14 years ago
I have 2 files , one zip file and one more txt file.I want to find out the password of the zip file with the help of txt file.In txt file I have some words and one of them is the right password.The problem is here , when I put the right word at first the programm works but when i put it everywhere else it doesn't work. I suspect that the problem is here:

Here I saw you my programm.
So if anyone knows something , help!!!
The password is "12345678" and is in txt file.


14 years ago
I have this code but i can't make it work wright.
At first I want to find out the correct password with brute force. As a result I take all the possible combination but none of them is the correct even the correct.
And the next step is to use this code for a program to find out the password in zip file with brute force and dictionary attack.
Now I work the brute force way and then with the dictionary attack.
Here is the code:



And here is the result:

aa8
This in not the password , try again
aa9
This in not the password , try again
aaa
This in not the password , try again
aab
This in not the password , try again
aac
14 years ago
And what class can deal with winzip decryption?
Maybe javax.crypto or something else?
14 years ago
I create the zip file with the WinZip (program) and I make the encryption with that.
When I create the zip file without the encryption I read it but with the encryprtion i have problem.
14 years ago
Hi.
I want to make a program to read a zip file with a password(aes encrytpion) and I foun the password.
At first i know the password and I want to do If I write it wright.
I read a zip file but when I try to read it with encryption I take that exception.
That is the program



And the exception is:

java.util.zip.ZipException: invalid CEN header (encrypted entry)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.zip.ZipFile.<init>(ZipFile.java:75)
at xer.main(xer.java:8)



Can anyone help me?
The next stage is to find out the password with brute force or dicrionary attack in zip file.
14 years ago