Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- rand(){
- local hah=$(echo -e "982$(cat /dev/urandom | tr -dc 0-9 | fold -w 12 | head -1)|$(cat /dev/urandom | tr -dc a-z | fold -w 3 | head -1)")
- local asu=$(echo -e "981$(cat /dev/urandom | tr -dc 0-9 | fold -w 12 | head -1)|$(cat /dev/urandom | tr -dc a-z | fold -w 3 | head -1)")
- local mmk=$(echo -e "981347$(cat /dev/urandom | tr -dc 0-9 | fold -w 7 | head -1)|$(cat /dev/urandom | tr -dc a-z | fold -w 3 | head -1)")
- local ret=$(paste <(echo "${asu}"))
- local mk=$(paste <(echo "${mmk}"))
- local sem=$(paste <(echo "${hah}"))
- echo "${mk}"
- echo -e "${mk}" >> hm.txt
- echo "${sem}"
- echo -e "${sem}" >> hm.txt
- echo "${ret}"
- echo -e "${ret}" >> hm.txt
- }
- loop(){
- for i in {5..1}
- do
- rand $i;
- done
- }
- loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement