Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Letter Ganeration

Author
Message
vivi
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 29th Jul 2003 21:54
How would I create a program that can Take input from a player for example the letters 'A','B' and 'C'.

(I take it that this has to be the 'INPUT' command )

And Generate all the possible out comes. In this case it would be:



Thank for you time and help in advance,
VivI
Eddie Gordo
23
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 29th Jul 2003 23:03
not neccesarily...you could use a little function i made...i will post it when i get home...

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th Jul 2003 23:38 Edited at: 29th Jul 2003 23:40
Here's some code that will do what you want:



Watch out though ...

1 letter = 1 combination (1^1)
2 letters = 4 combinations (2^2)
3 letters = 27 combinations (3^3)
4 letters = 256 combinations (4^4)
5 letters = 3125 combinations (5^5)

8 letters will be 16777216 different combinations.
The number of combinations can get very high very fast.
Eddie Gordo
23
Years of Service
User Offline
Joined: 14th Jan 2003
Location: Ohio - USA
Posted: 29th Jul 2003 23:41
this is a password cracker...i think...sounds like one...

In our hearts and minds we keep the powers of love, hope and the hidden powers of evil in which we can mold a hero or daemon of ourselves-Book of Enoch Chapter III
vivi
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 29th Jul 2003 23:50
Eddie Gordo: Close.....

Not quite. Im doing it for a "hacking game".

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 29th Jul 2003 23:52
Well he isn't going to get very far with this brute force method of cracking passwords if that's the case.

52 letter (uppercase and lowercase)
10 numbers
34 symbols (generally available on the standard keyboard)

Thats a total of 96 symbols to use for a password of unknown length.

For a 6 character password (standard unix minimum), thats up to 667474778880 combinations to check.

If you exclude the symbols (leaving 62 possible characters) there are still 44261653680 combinations (I use mixed case and numbers).
vivi
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 30th Jul 2003 00:53
Its a dictionary creation tool

I already have a buch of programmes to put in the bundle I just wanted to make something myself to add to it. Lets see here is what I got:

SubSeven
NetBus
BackOrifice
Visual Route
Archpr
Brutus
Ping Plotter
TJ Ping
WinMTR
Network Stumbler
CmosPwd
CrackAmiBios
Password (C)alculator
BIOS 3.20
Ultimate Zip Cracker
Archive Password Recovery
Raptor
RemDupes
DCM


I just wanted to make something simple to add to it. And include it all (somehow into a game).

"Well he isn't going to get very far with this brute force method of cracking passwords if that's the case."

I dont know if thats just a friendly remark or a snobbish comment, please excuse me if I interpritated it wrongly. But still this is my justification .

vivi

vivi
23
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 30th Jul 2003 00:55
"Lets see here is what I got:" ?
Thats not very good English.

"As you can see here is what I have so far :"
Now thats better

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 30th Jul 2003 01:01
No snobbery intended

It's just that brute-force methods are a little underpowered for password cracking ... as you can see from the numbers I've calculated.

Login to post a reply

Server time is: 2026-07-21 21:13:23
Your offset time is: 2026-07-21 21:13:23