Advertisement
heinrich23

Most bogus urandom service for linux

Dec 29th, 2021
1,524
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. nanos=`date +%N`;
  4. secIGSO=`date +%s`
  5.  
  6. urandomseek=`echo "$secIGSO  - $nanos" |bc`
  7.  
  8. echo "\tsince1970-01-01.secs:\t$secIGSO - current.nanos:\t$nanos = urandomseek:\t$urandomseek" ;
  9. echo "exec od -j $urandomseek -N `date +%S` /dev/urandom " ;
  10.  
  11. od -j $randomseek -N `date +%S` /dev/urandom
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement