Accueil > > > GENERATEUR DE MOT DE PASSE
GENERATEUR DE MOT DE PASSE
Information sur la source
Description
Génère des mots de passe automatiquement à partir de critères à déterminer
(Ce code n'est pas de moi, je l'ai récupéré de Zataz.com)
Source
- <HTML>
- <HEAD>
- <TITLE>Generateur de mots de passe</TITLE>
- <STYLE TYPE="text/css">
- <!--
- A:link {text-decoration: none;}
- A:active {text-decoration: none;}
- A:visited {text-decoration: none;}
- A:hover {text-decoration: none; color: #FFFFFF;}
-
-
- TD { font-family: Tahoma, Verdana, Arial, Helvetica; font-size: 8pt;}
- .title { font-family: Verdana, Tahoma, Arial, Helvetica; font-weight: bold; font-size: 11pt;}
- .header { font-family: Tahoma, Verdana, Arial, Helvetica; font-size : 10pt; font-weight : bold; color : #FFFFFF; }
- .menutitle { font-family: Verdana, Arial, Helvetica; font-size : 8pt; font-weight : bold; color : #888888; }
- .quote { font-family: Tahoma, Verdana, Arial, Helvetica; font-size: 8pt; color : #888888; }
- //-->
- </STYLE>
-
- <SCRIPT LANGUAGE="JavaScript">
- <!-- Original: ataxx@visto.com -->
-
- <!-- This script and many more are available free online at -->
- <!-- The JavaScript Source!! http://javascript.internet.com -->
-
- <!-- Begin
- function getRandomNum(lbound, ubound) {
- return (Math.floor(Math.random() * (ubound - lbound)) + lbound);
- }
- function getRandomChar(number, lower, upper, other, extra) {
- var numberChars = "0123456789";
- var lowerChars = "abcdefghijklmnopqrstuvwxyz";
- var upperChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
- var otherChars = "`~!@#$%^&*()-_=+[{]}\\|;:'\",<.>/? ";
- var charSet = extra;
- if (number == true)
- charSet += numberChars;
- if (lower == true)
- charSet += lowerChars;
- if (upper == true)
- charSet += upperChars;
- if (other == true)
- charSet += otherChars;
- return charSet.charAt(getRandomNum(0, charSet.length));
- }
- function getPassword(length, extraChars, firstNumber, firstLower, firstUpper, firstOther,
- latterNumber, latterLower, latterUpper, latterOther) {
- var rc = "";
- if (length > 0)
- rc = rc + getRandomChar(firstNumber, firstLower, firstUpper, firstOther, extraChars);
- for (var idx = 1; idx < length; ++idx) {
- rc = rc + getRandomChar(latterNumber, latterLower, latterUpper, latterOther, extraChars);
- }
- return rc;
- }
- // End -->
- </script>
-
-
- </HEAD>
- <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FFFFFF" VLINK="#FFFFFF" ALINK="#FFFFFF" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN=0 BOTTOMMARGIN="0">
- <TABLE ALIGN="left" WIDTH="464" CELLSPACING="1" CELLPADDING="1" BORDER="0" BGCOLOR="#000000">
- <TR>
- <TD ROWSPAN="3" VALIGN="top" BGCOLOR="#FFFFFF" WIDTH=460>
- <div align="center"><BR>
- <!-- STEP TWO: Copy this code into the BODY of your HTML document -->
- Generateur de mot de passe </div>
- <center>
- <table width=97% border=0>
- <tr align=center>
- <td> <form name="myform">
- <table border=0 width="330">
- <tr>
- <td> Premier caractére</td>
- <td>
- <input type=checkbox name=firstNumber checked>
- Chiffres
- <input type=checkbox name=firstLower checked>
- Minuscules<br>
- <input type=checkbox name=firstUpper checked>
- Majuscules
- <input type=checkbox name=firstOther>
- Autres</td>
- </tr>
- <tr>
- <td> Caractéres suivants</td>
- <td>
- <input type=checkbox name=latterNumber checked>
- Chiffres
- <input type=checkbox name=latterLower checked>
- Minuscules<br>
- <input type=checkbox name=latterUpper checked>
- Majuscules
- <input type=checkbox name=latterOther>
- Autres</td>
- </tr>
- <tr>
- <td> Taille du mot de passe</td>
- <td>
- <input type=text name=passwordLength value="7" size=3>
- </td>
- </tr>
- <tr>
- <td> Autres caractéres</td>
- <td>
- <input type=text name=extraChars size=20>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr align=center>
- <td> Votre mot de passe
- <input type=text name=password size=20>
- <br>
- <input type=button value="Generateur de mots de passe" onClick="document.myform.password.value =
- getPassword(document.myform.passwordLength.value, document.myform.extraChars.value,
- document.myform.firstNumber.checked, document.myform.firstLower.checked,
- document.myform.firstUpper.checked, document.myform.firstOther.checked,
- document.myform.latterNumber.checked, document.myform.latterLower.checked,
- document.myform.latterUpper.checked, document.myform.latterOther.checked);">
- </form>
- </td>
- </tr>
- </table>
- </center>
- </TD>
- </TR>
- </TABLE>
-
- </BODY>
- </HTML>
-
-
<HTML>
<HEAD>
<TITLE>Generateur de mots de passe</TITLE>
<STYLE TYPE="text/css">
<!--
A:link {text-decoration: none;}
A:active {text-decoration: none;}
A:visited {text-decoration: none;}
A:hover {text-decoration: none; color: #FFFFFF;}
TD { font-family: Tahoma, Verdana, Arial, Helvetica; font-size: 8pt;}
.title { font-family: Verdana, Tahoma, Arial, Helvetica; font-weight: bold; font-size: 11pt;}
.header { font-family: Tahoma, Verdana, Arial, Helvetica; font-size : 10pt; font-weight : bold; color : #FFFFFF; }
.menutitle { font-family: Verdana, Arial, Helvetica; font-size : 8pt; font-weight : bold; color : #888888; }
.quote { font-family: Tahoma, Verdana, Arial, Helvetica; font-size: 8pt; color : #888888; }
//-->
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: ataxx@visto.com -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function getRandomNum(lbound, ubound) {
return (Math.floor(Math.random() * (ubound - lbound)) + lbound);
}
function getRandomChar(number, lower, upper, other, extra) {
var numberChars = "0123456789";
var lowerChars = "abcdefghijklmnopqrstuvwxyz";
var upperChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var otherChars = "`~!@#$%^&*()-_=+[{]}\\|;:'\",<.>/? ";
var charSet = extra;
if (number == true)
charSet += numberChars;
if (lower == true)
charSet += lowerChars;
if (upper == true)
charSet += upperChars;
if (other == true)
charSet += otherChars;
return charSet.charAt(getRandomNum(0, charSet.length));
}
function getPassword(length, extraChars, firstNumber, firstLower, firstUpper, firstOther,
latterNumber, latterLower, latterUpper, latterOther) {
var rc = "";
if (length > 0)
rc = rc + getRandomChar(firstNumber, firstLower, firstUpper, firstOther, extraChars);
for (var idx = 1; idx < length; ++idx) {
rc = rc + getRandomChar(latterNumber, latterLower, latterUpper, latterOther, extraChars);
}
return rc;
}
// End -->
</script>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FFFFFF" VLINK="#FFFFFF" ALINK="#FFFFFF" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN=0 BOTTOMMARGIN="0">
<TABLE ALIGN="left" WIDTH="464" CELLSPACING="1" CELLPADDING="1" BORDER="0" BGCOLOR="#000000">
<TR>
<TD ROWSPAN="3" VALIGN="top" BGCOLOR="#FFFFFF" WIDTH=460>
<div align="center"><BR>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
Generateur de mot de passe </div>
<center>
<table width=97% border=0>
<tr align=center>
<td> <form name="myform">
<table border=0 width="330">
<tr>
<td> Premier caractére</td>
<td>
<input type=checkbox name=firstNumber checked>
Chiffres
<input type=checkbox name=firstLower checked>
Minuscules<br>
<input type=checkbox name=firstUpper checked>
Majuscules
<input type=checkbox name=firstOther>
Autres</td>
</tr>
<tr>
<td> Caractéres suivants</td>
<td>
<input type=checkbox name=latterNumber checked>
Chiffres
<input type=checkbox name=latterLower checked>
Minuscules<br>
<input type=checkbox name=latterUpper checked>
Majuscules
<input type=checkbox name=latterOther>
Autres</td>
</tr>
<tr>
<td> Taille du mot de passe</td>
<td>
<input type=text name=passwordLength value="7" size=3>
</td>
</tr>
<tr>
<td> Autres caractéres</td>
<td>
<input type=text name=extraChars size=20>
</td>
</tr>
</table>
</td>
</tr>
<tr align=center>
<td> Votre mot de passe
<input type=text name=password size=20>
<br>
<input type=button value="Generateur de mots de passe" onClick="document.myform.password.value =
getPassword(document.myform.passwordLength.value, document.myform.extraChars.value,
document.myform.firstNumber.checked, document.myform.firstLower.checked,
document.myform.firstUpper.checked, document.myform.firstOther.checked,
document.myform.latterNumber.checked, document.myform.latterLower.checked,
document.myform.latterUpper.checked, document.myform.latterOther.checked);">
</form>
</td>
</tr>
</table>
</center>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
IMAGINE CUP 2012, MAKE A SIGN EN FINALEIMAGINE CUP 2012, MAKE A SIGN EN FINALE par junarnoalg
Voilà qui est fait, la nouvelle est officielle ! L'équipe belge "Make a Sign" va au pays des kangourous défendre son projet dans la catégorie Software Design. http://www.imaginecup.com/CompetitionsContent/Competition/WorldwideFinalists.aspx V...
Cliquez pour lire la suite de l'article par junarnoalg KINECT 1.5 IS OUT !KINECT 1.5 IS OUT ! par Vko
La version 1.5 du Kinect For Microsoft vient tout juste de sortir ! Plein de nouveautés: Tracking de squelette en Near Mode Détection en position assise Détection faciale avec un SDK dédié Documentation et des guideline (enfin) Un out...
Cliquez pour lire la suite de l'article par Vko LES ACTUALITéS DE LA SEMAINE SUR C2I.FR (14 MAI - 20 MAI) LES ACTUALITéS DE LA SEMAINE SUR C2I.FR (14 MAI - 20 MAI) par richardc
Mise à jour des Web API du 14 Mai
Réservez dès maintenant votre journée du 20 juin pour le Windows Azure Dev Camp 2012 à Paris
Mise à jour de Team Foundation Service
MechCommander 2 sur Windows 8
Entity Framework 5 Release Candidate e...
Cliquez pour lire la suite de l'article par richardc REACTIVE EXTENSIONS : CONSOMMER DES SERVICES AVEC RX PARTIE 3, LES PIèGES à éVITERREACTIVE EXTENSIONS : CONSOMMER DES SERVICES AVEC RX PARTIE 3, LES PIèGES à éVITER par Groc
Une mauvaise utilisation de rx lors de l'écriture d'une couche d'accès à des services peut conduire à des cas embarassants avec des erreurs mal gérées, des appels qui ne partent lorsqu'ils le devraient, et même des résultats incorrects . le tout nuis...
Cliquez pour lire la suite de l'article par Groc SHAREPOINT BLOG SITE, PROBLèME D'ARCHIVESSHAREPOINT BLOG SITE, PROBLèME D'ARCHIVES par junarnoalg
Dernièrement, nous avons migré le site
myTIC
vers un nouveau serveur SharePoint 2010. Dans les contenus que nous vouloins récupérer, nous avions un certain nombre de blogs.
Nous avons utilisé les commandes Power...
Cliquez pour lire la suite de l'article par junarnoalg
Forum
UTILISER UN .JSUTILISER UN .JS par zaikoe
Cliquez pour lire la suite par zaikoe
Logiciels
sDEVIS-FACTURES vlPRO (8.1.0.3)SDEVIS-FACTURES VLPRO (8.1.0.3)sDEVIS-FACTURES vlPRO a été mis au point pour les particuliers, créateurs, entrepreneurs, artisa... Cliquez pour télécharger sDEVIS-FACTURES vlPRO 974 Application Server (12.2.4.6)974 APPLICATION SERVER (12.2.4.6)Développez de puissantes applications dans un environnement de 'cloud computing', clusterisé, séc... Cliquez pour télécharger 974 Application Server vPicture (1.4.2.1)VPICTURE (1.4.2.1)Avec vPicture, hébergez vos images facilement et rapidement.
vPicture est un utilitaire simple, ... Cliquez pour télécharger vPicture Easy-Planning (2.2.1.6)EASY-PLANNING (2.2.1.6)Easy-Planning permet de créer des plannings sous la représentation de diagrammes et est adapté au... Cliquez pour télécharger Easy-Planning COM-BACKUP (2.0)COM-BACKUP (2.0)
COM-BACKUP est un logiciel de sauvegarde qui permet de planifier les sauvegardes de vos dossiers ...
Cliquez pour télécharger COM-BACKUP
|