[-]
Shout:
Click Refresh to load shouts.

Post Reply 
 
Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Password Generator *Not made by me*
04-06-2008, 09:32 AM (This post was last modified: 04-09-2008 06:28 AM by Svenskpopis. Edit Reason: )
Post: #1
Password Generator *Not made by me*
Here comes a nice and neat password generator. It is not made by me, i just found the code on the net and i like to share Wink


http://www.freewebs.com/tibiaTESTSITE/

<!-- Original: ataxx@visto.com --> credits to ataxx

[Image: image.php?type=sigpic&amp;userid=761...1230799621]
[Image: buttonug.png]
[Image: amini]
Find all posts by this user
Quote this message in a reply
04-06-2008, 10:07 AM
Post: #2
Password Generator *Not made by me*
simple but yet effective

[Image: banner.gif]
Find all posts by this user
Quote this message in a reply
04-06-2008, 10:56 AM
Post: #3
Password Generator *Not made by me*
Yea Smile

[Image: image.php?type=sigpic&amp;userid=761...1230799621]
[Image: buttonug.png]
[Image: amini]
Find all posts by this user
Quote this message in a reply
04-07-2008, 02:47 PM
Post: #4
Password Generator *Not made by me*
salute for you kladden, great shit but more effective to release the source of it and explain how it works, this is "Web Languages", and not Links ;P

Lead Programmer and Webdesigner&coder for TibiaArmory!
Visit this user's website Find all posts by this user
Quote this message in a reply
04-07-2008, 02:59 PM
Post: #5
Password Generator *Not made by me*
Ok
I'll do tommorrow !

[Image: image.php?type=sigpic&amp;userid=761...1230799621]
[Image: buttonug.png]
[Image: amini]
Find all posts by this user
Quote this message in a reply
04-07-2008, 03:22 PM
Post: #6
Password Generator *Not made by me*
Svenskpopis Wrote:salute for you kladden, great shit but more effective to release the source of it and explain how it works, this is "Web Languages", and not Links ;P

Well, you can see the source code easily since it's javascript, I'll post it for you.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="TextPad 4.4">
<LINK href="general.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: ataxx@visto.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 Background=../graphics/grayback.jpg>
<center><BR><BR><BR>
<table width=80% border=0>
<tr align=center>
<td>
<form name="myform">
<table border=0>
<tr>

<td>
First character can be:
</td>
<td>
<input type=checkbox name=firstNumber checked>Number
<input type=checkbox name=firstLower checked>Lowercase
<input type=checkbox name=firstUpper checked>Uppercase
<input type=checkbox name=firstOther>Other
</td>
</tr>
<tr>
<td>
Latter characters can be:
</td>
<td>
<input type=checkbox name=latterNumber checked>Number
<input type=checkbox name=latterLower checked>Lowercase

<input type=checkbox name=latterUpper checked>Uppercase
<input type=checkbox name=latterOther>Other
</td>
</tr>
<tr>
<td>
Password length:
</td>
<td>
<input type=text name=passwordLength value="8" size=3>
</td>
</tr>
<tr>
<td>
Extra password characters:
</td>
<td>

<input type=text name=extraChars size=20>
</td>
</tr>
</table>
</td>
</tr>
<tr align=center>
<td>
New password:
<input type=text name=password size=20>
<br>
<input type=button value="Generate password" 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>

<!-- --><script type="text/javascript" src="/i.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){_uacct="UA-230305-2";_udn="freewebs.com";_uff=false;urchinTracker();}</script></BODY>
</HTML>
Find all posts by this user
Quote this message in a reply
04-09-2008, 06:28 AM
Post: #7
Password Generator *Not made by me*
/\ thanks for that, Smile

Lead Programmer and Webdesigner&coder for TibiaArmory!
Visit this user's website Find all posts by this user
Quote this message in a reply
09-21-2009, 03:46 PM
Post: #8
Password Generator *Not made by me*
Big Grin
Nice work!
Ty for source \o
Find all posts by this user
Quote this message in a reply
Post Reply 



Contact UsTProgrammingReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication