mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2025-02-18 20:26:19 +01:00
fix: randomizer
This commit is contained in:
parent
975bf6b768
commit
04600a0561
@ -81,7 +81,7 @@ abort() {
|
|||||||
trap abort INT TERM
|
trap abort INT TERM
|
||||||
|
|
||||||
function Gen_Rand_Str {
|
function Gen_Rand_Str {
|
||||||
tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w "$1" | head -n 1
|
head /dev/urandom | tr -dc A-Za-z0-9 | head -c"$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
usage(){
|
usage(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user