Jump to content

lucas_robb

New Members
  • Posts

    2
  • Joined

  • Last visited

lucas_robb's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello all I hunted around and I thought... if I were to use this code to hash my password the way I need, would it work? <?php function MD4Hash($_POST["password"]) { // Convert the password from UTF8 to UTF16 (little endian) $_POST["password"]=iconv('UTF-8','UTF-16LE',$_POST["password"]); // Encrypt it with the MD4 hash $MD4Hash=bin2hex(mhash(MHASH_MD4,$_POST["password"])); // Return the result return($MD4Hash); } ?> Also, how would I then move on to use the $MD4Hash as a variable inside of my edited file later on?
  2. Hey All, I'm having difficulty as I would like to create a simple HTML page that will create for me new RADIUS users. Can someone help me pass text from the HTML page into the PHP script. I'm trying to setup new users for radius, I can figure out the server side but what I want is to have PHP input a username and a password (masked) and a button that activates the script which will then append to the bottom of a file '$username NT-Password=: "$NTLMHash". Can anyone provide any suggestions? I'm already running a php script and html page found here: upload.lucasrobb.com so I know PHP server works Thank you,
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.