Miscellaneous programs and scripts, opensource or not, and sometimes, random mathematical stuff.
-
Gamall
- Hic sunt dracones
- Posts: 4147
- Joined: Fri May 26, 2006 11:09 pm
-
Contact:
Post
by Gamall » Wed Jan 31, 2007 5:31 pm
This small program generates random strings made up with the characters you choose. Useful to create passwords and such automatically.
Just edit the .ini file with any brute text editor, such as notepad or wordpad, to alter the behaviour of the program :
Here is the default config file :
Code: Select all
/////////////////////////////
// RANDOM STRING GENERATOR //
// Gamall //
/////////////////////////////
// Config file
// The random string will be generated using the following characters :
$ base = ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
// Some other possible bases... Just comment (//) those which you do not need...
// $ base = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789&é#{([-|è_\ç^à@)]°=+}$£%ù*µ§!:/.,?
// $ base = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789éèàç
// $ base = ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
// $ base = " ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
// The random string will have the following length :
% length = 30
// The random string will be written to the following file :
$ output = Randomly_Generated_String.txt
// The following string will be used to "seed" the pseudo-random generation.
// It would be a good idea to change this string BEFORE you use the program
// to generate important passwords...
$ seed = "I am the standard seed, PLEASE CHANGE ME !!!!"
The generated string is written on the screen if it's short enough, and always stored in the output file.
You can
DOWNLOAD THE PROGRAM HERE (Win 32).
EDIT : Added the "seed" functionnality to make the program more useful from a cryptographical point of view.
Screenshots :

-
Attachments
-

- RSG.PNG (18.17 KiB) Viewed 14579 times
-

- RSG2.PNG (17.12 KiB) Viewed 14580 times
-
- Random String Generator.zip
- (107.99 KiB) Downloaded 799 times
Last edited by
Gamall on Tue Mar 27, 2007 9:23 am, edited 3 times in total.
-
Beldin
- Légumineuse Fractale de la Loi d'Ida
- Posts: 824
- Joined: Fri Jul 28, 2006 11:15 pm
- Location: En prison pour délit de faciès
Post
by Beldin » Thu Feb 01, 2007 12:13 pm
A Quoi qu'ça sert un générateur aléatoire de culottes légères?
-
Gamall
- Hic sunt dracones
- Posts: 4147
- Joined: Fri May 26, 2006 11:09 pm
-
Contact:
Post
by Gamall » Thu Feb 01, 2007 4:37 pm
/amslap beldin ;
Gamall wrote:Useful to create passwords and such automatically.
En fait, c'est très utile pour le fonctionnement interne d'un programme : windows, par exemple, génère en permanence des chaînes (non, rien à voir avec les culottes légères

) aléatoires pour identifier les processus. PhpBB en génère aussi pour identifier les sessions, etc etc ...
Présenté dans un programme externe, comme c'est le cas ici, ça me sert surtout à générer de beaux mots de passe

Ce programme est juste l'emballage d'une procédure qui tourne(ra) en interne dans un gros programme.
-
Beldin
- Légumineuse Fractale de la Loi d'Ida
- Posts: 824
- Joined: Fri Jul 28, 2006 11:15 pm
- Location: En prison pour délit de faciès
Post
by Beldin » Thu Feb 01, 2007 9:41 pm
Ok, je me coucherais moins bête d'avoir un lut un truc intelligent.
Sans pour autant l'avoir compris....
C'est pas mon truc l'informatique... définitivement.
-
Gamall
- Hic sunt dracones
- Posts: 4147
- Joined: Fri May 26, 2006 11:09 pm
-
Contact:
Post
by Gamall » Fri Feb 02, 2007 12:34 am
-
Maikoru
- Jedi Perpétuellement Affamé
- Posts: 482
- Joined: Sun Aug 27, 2006 11:15 pm
Post
by Maikoru » Fri Apr 11, 2008 9:46 pm
Tu as une version de ce script pour linux ?
-
Gamall
- Hic sunt dracones
- Posts: 4147
- Joined: Fri May 26, 2006 11:09 pm
-
Contact:
Post
by Gamall » Mon Apr 14, 2008 4:16 pm
Non, mais je peux en faire une.
Mais sous Linux tu as déjà des outils comme APG qui font ça et plus si affinités: (pas testé)
PS: Tu peux aussi simplement faire tourner mon programme sous Wine: c'est comme ça que je fais tourner mon vieux GaTeX sous Linux, par exemple

-
Maikoru
- Jedi Perpétuellement Affamé
- Posts: 482
- Joined: Sun Aug 27, 2006 11:15 pm
Post
by Maikoru » Mon Apr 14, 2008 4:52 pm
Ah oui ça marche sous wine

J'aurais du tester ^^'
Users browsing this forum: No registered users and 124 guests