mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-06 07:50:13 +01:00
769ca4e26d
Still need to clean some of the codes but overall is good :)
7 lines
202 B
Bash
7 lines
202 B
Bash
for ((i = 0 ; i<$1 ; i++ ))
|
|
do
|
|
privateKey=$(wg genkey)
|
|
presharedKey=$(wg genkey)
|
|
publicKey=$(wg pubkey <<< "$privateKey")
|
|
echo "$privateKey,$publicKey,$presharedKey"
|
|
done |