mirror of
https://github.com/furaihan/simple-mikrotik-script.git
synced 2025-06-21 13:49:01 +02:00
Create get-random-string.cs
[WIP] script to generate random string based on current time
This commit is contained in:
parent
79f4210acf
commit
85cafdd624
1 changed files with 7 additions and 0 deletions
7
get-random-string.cs
Normal file
7
get-random-string.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
#This script is inspired by TSOKOTSA's script published in the Mikrotik forum
|
||||
local hour [:pick [/system clock get time] 0 2]
|
||||
local minute [:pick [/system clock get time] 3 5]
|
||||
local second [:pick [/system clock get time] 6 8]
|
||||
|
||||
|
||||
local string ("H","3","N","J","L","g","R","b","O","i","9","U","F","G","G","7","k","M","q","F","u","5","w","v","o","O","Q","V","r","6","9","l","u","n","Q","l","M","C","9","j","a","s","Y","h","K","S","N","T","d","H","i","f","E","f","q","Z","N","5","d","2","P","4","q","V","o","T","b","H","X","I","f","K","6","b","x","y","t","B","E","c","S","m","f","A","9","J","V","H","s","W","l","m","V","Z","p","u","c","r","1","Q","A","Z","2","h","E","P","t","M","c","K","V","B","g","z","J","x","k","y","q","W","K","p","i","R","Z","R","7","A","5","Y","a","A","o","H","X","4","6","9","R","Z")
|
Loading…
Add table
Add a link
Reference in a new issue