preliminary work for SSL support in iPXE. untested and probably not currently functional.
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
<?php
|
||||
$password = readline("Password: ");
|
||||
$saltRaw = random_bytes(8);
|
||||
$salt = base64_encode($saltRaw);
|
||||
$result = crypt($password,'$6' . '$' . $salt .'$');
|
||||
print $result . "\n";
|
||||
?>
|
||||
Reference in New Issue
Block a user