Author Topic: [PHP] Random Password  (Read 465 times)

Offline BlizzIce

  • Ice.dll Loaded.
  • Retired Staff
  • Full
  • ******
  • Posts: 165
  • Karma -7
  • Hacking is my life.
  • Location: USA!
    • View Profile
    • Freedom Hackers
[PHP] Random Password
« on: June 11, 2011, 04:30:24 pm »
This is an very simple PHP script to generate a random password.
You can test the script here [LINK]!

Code: [Select]
<?php// Random Password Gen v1.00// Coded By: BlizzIce    6.11.2011// http://freedomhackers.net/function createRandomPassword() {    $chars = "abcdefghijkmnopqrstuvwxyz023456789";    srand((double)microtime()*1000000);    $i = 0;    $pass = '' ;    while ($i <= 7) {        $num = rand() % 33;        $tmp = substr($chars, $num, 1);        $pass = $pass . $tmp;        $i++;    }    return $pass;}$password = createRandomPassword();echo "Your random password is: $password";?>

Feel free to hack  up the source, improve it and re-post it. Welcome to the world of Open Source =]
Life isn't about finding yourself. Life is about creating yourself.

Freedom 2 Hack









Epic Hax.dll Version 1.00 By: BlizzIce for SC1 1.16.1 - [87.4%]

Share on Bluesky Share on Facebook