
DrRoach wrote:Hey guys I've decided to make a brute force programme as a project to test my skills but I have no idea where to start. I just wanted to ask what language I should use. Thanks


centip3de wrote:Which ever language you prefer.
KthProg wrote:Are you trying to brute force with a dictionary or combinations?


KthProg wrote:Yeah it's really impractical to attempt brute forcing with combinations, because of the number of possible combinations.
I would use Ruby for combinations though, because you can use ranges like this [aaa...zzz] and it will test each combination 'between' them. i.e. aaa,aab,aac, etc.



DrRoach wrote:I'm having trouble getting the array for the character input working. I am writing it in C and when I try and compile it says "error expected expression before { token"
Please can someone show me where I'm going wrong? Here's the code that has the error (it's in the second line) :
char alphabet_array[26];
alphabet_array={a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z};
for(k=0; k<10; k++)
Thanks
...
char alphabet_array[26] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h' ... 'z'};
for(k=0; k<10; k++)
...


Users browsing this forum: No registered users and 0 guests