Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- nanos=`date +%N`;
- secIGSO=`date +%s`
- cursec=`date +%S`
- randomseek=`echo "$secIGSO - $nanos" |bc`
- urandomseek=`echo "$randomseek % 65536" |bc`
- readbytes=`echo "$cursec + 32" |bc`
- echo -en "\tsince_1970-01-01.secs:\t$secIGSO \n\tcurrent.nanos:\t$nanos \n";
- echo -en "\trandomseek:\t$randomseek \n\turandomseek:\t$urandomseek \n";
- echo -en "\tcursec:\t$cursec \n\treadbytes:\t$readbytes \n";
- echo "exec -A n -t x8 -w32 -v -j $urandomseek -N $readbytes /dev/urandom " ;
- od -A n -t x8 -w32 -v -j $urandomseek -N $readbytes /dev/urandom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement