Added support for Streamdeck Pedal and updated UI to better fit the Packed UI style
This commit is contained in:
13
pirp/tools/hash.php
Normal file
13
pirp/tools/hash.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
// Passwort-Hash-Generator für Admin-User
|
||||
if (PHP_SAPI !== 'cli') {
|
||||
echo "Nur CLI.\n";
|
||||
exit(1);
|
||||
}
|
||||
if ($argc < 2) {
|
||||
echo "Verwendung: php tools/hash.php SUPERGEHEIMES_PASSWORT\n";
|
||||
exit(1);
|
||||
}
|
||||
$password = $argv[1];
|
||||
$hash = password_hash($password, PASSWORD_DEFAULT);
|
||||
echo $hash . "\n";
|
||||
Reference in New Issue
Block a user