Created
March 27, 2024 07:46
-
-
Save T0biii/d5e8ef5f022db27b6bad15051c8a3341 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Liste der Domains und ihrer möglichen Werte | |
$domains = @( | |
"ffmuc_muc_cty", | |
"ffmuc_muc_nord", | |
"ffmuc_muc_ost", | |
"ffmuc_muc_sued", | |
"ffmuc_muc_west", | |
"ffmuc_welt", | |
"ffwert_city" | |
) | |
# Generiere $anzahl Einträge | |
$result = @() | |
$anzahl = 100 | |
for ($i = 0; $i -lt $anzahl; $i++) { | |
# Zufällige Auswahl einer Domain | |
$domain = Get-Random -InputObject $domains | |
# Generiere einen zufälligen öffentlichen Schlüssel (an Stelle von wg genkey) | |
$publicKey = [System.Convert]::ToBase64String((1..32 | ForEach-Object {Get-Random -Minimum 0 -Maximum 256})) | |
# Füge den Eintrag zum Ergebnis hinzu | |
$entry = @{ | |
"domain" = $domain | |
"public_key" = $publicKey | |
} | |
$result += $entry | |
} | |
# Konvertiere das Ergebnis in JSON und gib es aus | |
$result | ConvertTo-Json -Depth 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"public_key": "MmmoChZDC9VgVYB/J1nerdJhf3kNWDt0DFSFHwyxPJI=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "YFO8DDl9FWKGcPNN+BMPdfgxFCo9Tsjhp4E3CHsPiGo=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "LlkGfPgn0NfBIbgBRdWpWkEqoW9+H4nRHGZobcx6MK4=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "9r5OBCleJBgd3Ny+I+6K2DF9DK+bth4boMZ3YdagU2A=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "kLSGDBmZNYJxlDR+37fsF8etEAAkcRiLaZx0hANyqHI=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "Bpg0UFTICr7xWc0SPJWeCMJ/z6m8q1zBluuhE6gyX8c=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "ujzWhFWJ0e0Ys0I9hO+hNLC688yg5zM3s1VXcr47tFg=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "BizFe05hvqVBiI+P4KKJ23scYEdfknaVEU5P3jTA3xs=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "fbqlYbvpV3MpACBDlHxs098x6R05vRTyccJEs3tv+PE=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "D//jUaZsYMPFONQ+TdQJqFD0qnTZQZl1qGgzxTf114Y=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "+L3aTe1kSzsAyVI/mgQ/T6HOX0ZW0vCwEqEqiLHvJRM=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "qorEx5z0lueI89spMda3D2+PT+6SSd31KjSpWA7Nl74=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "5fqivfdDG64/DjsRKDPdnkvtllT74u2QVKbpzegVGuQ=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "LU4JkxUhhouCzBMGW1/Ez98qS+niaCSsI44sNN+dxHU=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "qn/ptQUmJKk/p4gJmAKEvG+2KJsyoXnIiJmISXxaFNM=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "MUrseiOz8Eq70rt7DGGQs8O+wJAH9Jh+5s602LzAyL0=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "vdvmoCh6/bOoe7omc+ylN3SajMJCbCtXkPV3Ai06sDU=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "uQNQS0NS9qXFMzxZCIkrVp0GW0WSUYdX1GcCPMo3Twg=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "2wQcm/trbdsGTh+gCrFRywcfKTM95UCOEkwdi+SSyJ8=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "j5u6mjUUs1MdBiA58hsPQiLD/sJzbE0WdOIL8io3bv8=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "YTlKyY/n5Khn9leRvz3uEVqaipv20OjCXT48x0gsAHs=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "Xsgu4fuNAb3ttn+IU9jVgRJAwtdpDQaaIfSzgfY+qiY=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "50rf7vLkh8wwWs4bOOuwvLxqzNQiR9NLKH/AhEM2sQ4=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "CXI5MRy28o62uwhwEBTNp7pwZfj9JIUxRdku6MnNipE=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "cvkDMplPL7c8cB87KBP5/9Hqt5KZrZDGeA8rJQnNIlA=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "MCE3e06TeOF4coYkwwnsN1KpZyhgQFXUAKdctdD3vho=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "KOEy8GORxOXeuqg9XpDJ8ae750G7T/wg6kJ1redTrVU=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "sSBQKzfXcRmPEKIH9Q1o1M7Nb1vC9btXIZ7HoSVRSgo=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "pDXMR2kGij9BHgemEZ2Wo0QyRNGucWD0Fe71PZurB18=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "7pTBeL/ImIRGX3ATAjg1u4Eui5vfpQ4XPbqQJKuqInA=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "TKByQQ02ADl1P3oS3TzQIOljHzKGhtLJTIw5fivt/z8=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "Xu+V2EiK2kf+xjGszWWXIFuwwjTxf2EKmARTQYgVal8=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "xxXSjrnNe3aiRPya5jljaKugKDE1SMX6FQqFf/awEc8=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "X5YwJ4Vpk1VphvWdmDl6/6jhfn6XfXNCSZcCUpL3uUE=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "ZUMo+pmsvZ9osGNIeIcPQg8E5uscOQwqwh6Fqs+GpaY=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "fHTbaGpOvCKkB8tKq7sMf8mSmgjiQe/slq541RPzAw0=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "1y3z9JgZrDO5vstjJcVDatrX4CMau5AZquFljnCx2dM=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "Bs94n5BdGQ7KSNJnK8eW5h8AGjyVvdqb0+dPIBHKSqI=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "P9BEWRoidj/PXEidHBnOdOl4aCwu6253gkfzctURgeA=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "LbR+w+C+dXYKL4lxJBmWbr4R8ohrUf/su+w+2CJjVNo=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "ufrOABnG3fYinHb3xWIAgkrMIN6Mk5aX7Yq0gCQNLPE=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "aw10XV9ktNtPUTxbn51Y9DIMPPpMQwcwzvhVEdQNF+M=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "5b9b5dyZtH+dcPB0xw5sHhoasLJ/ig/G7yTor2hGPPI=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "WNXCVjSv4kF/v6cjAyRIoyr7mNkLy31bd0s4h8olMa4=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "iCcrlogH1h1SL1p1y5Ib8DvQfNivBqELVpQKVzq87Mk=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "b3boBXmxzP9uE+C66j+OztOx4iyZ8kvY2RCRsAvgXnQ=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "kUxTT9QrwJl/mXHafgsjQJtmuw7seVZQ2EpksjC2UgY=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "ZVgiLFPMowD51L/7bAaVUlIk4yYatp494yXNCq005Ww=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "DfcoB2sg4DFr7mAsG2Ue5ZHlgdT5QtdvOyg4VouQpyg=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "WoLfqyHpYYDAiig5Wzya/ZbZcpz1iaV08AzXgYUsOm8=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "eDWttPXQBuTtKvwZGdiGxhs07Pgg8rLAggXZtNv0r6I=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "RjcoY+GXlkdxKBQZdLxh1o1upHpa5RzZauLeUtmS2Ss=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "0IrphUpSq8RTzGSZGAra84D7aOpvrafituR4vyujp6Y=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "Paar5mPlYo67blvtJbPmhrhu6ms/6VJP5YJktEstkxA=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "3EjebsyhTMUSGiJOyhA0XVayHdT5tzmtFkbfCkdgWlM=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "VUc/iL2G7Ja6+TtsKcrDecSYAA8VESDd8y6DCyivW/s=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "KwB7MsLw88Lf4bHLXQo54lAcVQgw5VClrzn6Gz8vmPw=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "2mwKNEGyjPDOuVpvmFam8ocOwLWAIp92XmcWDU6bw5s=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "GpS75alJBc8QGTzB+GRRH2CdCS8wtqmocdpAP4UoYuI=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "69wKsjYWz9SLlEMP8fmL679EzKX9BEvjTBBDEUB61pU=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "3pFzQfQU2kdxAGXl3yYTvh9UqlR6hDxvq1KrJFNGEtE=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "We1Gqfpql5K2zcKnKvD5v0Zgh+PpFU3MCq/GHvXJrxs=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "NmvA0JmHTU1SrNkYkjG/w3rltveEyU70BfNESZ94z9Q=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "tLe5sDM6omDXloDUEoer5abyC1753fLfer6FL/eU0Tk=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "YaYSV6Ez+FmmlYaVf8i88RprJMr6vjtV9GMneig7UE8=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "5MpYokVfDqGkzZC0ilbr5/CXVHS75LqUJK49gN6nZvU=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "Rzk239LSv1MJgyMvOitGcGrKKltRzy54EX+jlwnqwII=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "4SykRGWVqKAMOHk3iqid6rY2xtQubTwUCiZngXnPfas=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "hyznS+28AKAslv+RRJYbX0CjUovWxvsmL/2O36ZHp3M=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "c9WqPM7HSUrcRw/ZN7JJDvZN+tUGGU+F4vlkc+aVC2M=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "3Z7sWCKJVyIrBZL8owj/tH+dMPMDS+RbAKMv+LsKJDk=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "EV8Y5e7LpCPvijBTuQyjulIL+Lb+SVSeftqFHQxgwyw=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "f92BuH4ZGUmn1NrjQltgJ0TuHIarIl8/6Ud1Bj8vDg8=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "9HUbdqvSZGO7/9oFVm1tKTqEY+q6Uy91B4GfZs3+awY=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "z9zpDoriotyGu9caK5HVMsKRAu9/jl91Iex9J9O1foQ=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "uPQ6opvMnpOO/xHbUN5E5kmULpFuaQjn7GaxJjCWH/A=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "mUpK8AayUNVEgg6X3SqCqTnW/gzCUU1RqkciOKkr4fI=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "lCrvsSLeDlOOMO7x478JwLtuCZm4/+9L+1R/STGKCm4=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "sdgD4Grm8Ad7soLL7cCu3MO+ziZn+RelOQ3f6sUyYPI=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "YxFPy/DoGszAosAO5Wc3hIvrzj/wy5G7/eLzLCyOkuc=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "V4LgYFHeLOlCzdO8JwajWokPEgbP7O30bj2BQTQnkoU=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "0Hrfz/VLHTbOWK4ImyqQrEfSPsBHgrRVl8eOgOihkHk=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "4uK0iHtv3N/3k1NCroKweRj1R7nmZjWrXm8PsZ3Eswk=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "kb/hw8Ga2Tiy8NMsCYxWH0ADbLEmRwV9t7+RodxrEMo=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "gS3dh/OWXLLyNRCLoXwEMJgGxz5xOfoy2YvO9qOq0hg=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "WDy42+q3FZxswzfseM6pEtAyYLYB5AsD5iGnOGCq/9w=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "oq98R4/bWG7cMP1V2hszVJp/N24IEoHT/0zXh+uLeAc=", | |
"domain": "ffmuc_muc_sued" | |
}, | |
{ | |
"public_key": "91Zo6zvbdsteyLqep4usMaB9zEyP9j6XholyhCCaJGE=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "NyGfxLIfRZBUhj8MNQq2YM7U22Heg/oSCU4IOz0Jfzs=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "VKEO/WREXp7gQegv096q7ZmR3cm54nIudIwwyVK8TeM=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "OUYJDkavxtRNwUdf9gWuMWW2oYwMLrj0KHSB5IZjdW4=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "Jjx6siWTLuTypsmXwORWq+sc7G9KsLYhZMhWBsoH+uI=", | |
"domain": "ffmuc_muc_ost" | |
}, | |
{ | |
"public_key": "3fWwBJ5+VhTkrT+0M3TBvXRufnHdGg5Zum0Jpp/FVD8=", | |
"domain": "ffmuc_muc_cty" | |
}, | |
{ | |
"public_key": "gi2uyJMNiLjHg+pLNV654K30OL3hTiXBPzNp7XypEZ8=", | |
"domain": "ffmuc_muc_west" | |
}, | |
{ | |
"public_key": "FNXOs53XQprQ19hYfQxHF17MdTmFCHT9GGPEqzpwKoI=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "Jz/HoS5LvFewDfHBuAiGBecpKHu9sr05zxHQ+1q4mO8=", | |
"domain": "ffmuc_welt" | |
}, | |
{ | |
"public_key": "uZ5D5aM6ngsXU6eiu97DrNwsbc7aL0rUUYADNSvxTyI=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "hUOKQnnu3/mSnlbmbB+oekccA+AV7YS5WG5RYSW5JJI=", | |
"domain": "ffmuc_muc_nord" | |
}, | |
{ | |
"public_key": "/SQ9ueW2z+8nNFxXiAQQ9F0zUcdkM50xeENCp017164=", | |
"domain": "ffwert_city" | |
}, | |
{ | |
"public_key": "7y1IK+rIXnBsjJbrAVnGaZOPaCUX/NIXKaOv0leUf5o=", | |
"domain": "ffmuc_muc_sued" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment