Skip to content

V1.37 Challenge

Latest
Compare
Choose a tag to compare
@josenk josenk released this 10 Apr 12:47

Here is a challenge for anyone that wants to attempt to crack srandom... On a system that was freshly booted, I generated 4 x 10Meg files from the /dev/srandom device. I uploaded the first 3 blocks here. The challenge is to produce the 4th.

Here is the process I used to create the files.

[root@dev ~]# uptime
 08:31:12 up 0 min,  1 user,  load average: 1.19, 0.28, 0.09

[root@dev ~]# srandom status
Module loaded
srandom is functioning correctly
/dev/urandom is LINKED to /dev/srandom (system is using srandom)
-----------------------:----------------------
Device                 : /dev/srandom
Module version         : 1.37.0
Current open count     : 3
Total open count       : 217
Total K bytes          : 141
-----------------------:----------------------
Please support my work and efforts contributing
to the Linux community.  A $25 payment per
server would be highly appreciated.
-----------------------:----------------------
Author                 : Jonathan Senkerik
Website                : http://www.jintegrate.co
github                 : http://github.com/josenk/srandom
Paypal                 : [email protected]
Bitcoin                : 1GEtkAm97DphwJbJTPyywv6NbqJKLMtDzA
Commercial Invoice     : Avail on request.

[root@dev ~]# dd if=/dev/srandom of=block1.bin count=10k bs=1k
10240+0 records in
10240+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.0293775 s, 357 MB/s

[root@dev ~]# dd if=/dev/srandom of=block2.bin count=10k bs=1k
10240+0 records in
10240+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.029134 s, 360 MB/s

[root@dev ~]# dd if=/dev/srandom of=block3.bin count=10k bs=1k
10240+0 records in
10240+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.0322391 s, 325 MB/s

[root@dev ~]# dd if=/dev/srandom of=block4.bin count=10k bs=1k
10240+0 records in
10240+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.0276798 s, 379 MB/s

[root@dev ~]# srandom status
Module loaded
srandom is functioning correctly
/dev/urandom is LINKED to /dev/srandom (system is using srandom)
-----------------------:----------------------
Device                 : /dev/srandom
Module version         : 1.37.0
Current open count     : 3
Total open count       : 222
Total K bytes          : 41131
-----------------------:----------------------
Please support my work and efforts contributing
to the Linux community.  A $25 payment per
server would be highly appreciated.
-----------------------:----------------------
Author                 : Jonathan Senkerik
Website                : http://www.jintegrate.co
github                 : http://github.com/josenk/srandom
Paypal                 : [email protected]
Bitcoin                : 1GEtkAm97DphwJbJTPyywv6NbqJKLMtDzA
Commercial Invoice     : Avail on request.

[root@dev ~]# sha512sum block1.bin block2.bin block3.bin
f6b305d14f99fe7d11fb8c243a249d47c49f33a0ce81217200dd34690129fb58e66f93f79c853795d878883e39c5d727e9c5d4308e9d66e48bf4612d6fc3640b  block1.bin
c5d33dde34de33b862549ae948c3ddd5d4c166b41b0e62d722dfeaf9f23a7ce38b0d564720fa1a9e24eedb964241709e2a3bf65b90a417d4d8916ad44745da5c  block2.bin
e5c2635d9002125d6cb8e1edf96812e9daa40400f5c2683fc7a4c01ba84067ac74c1212e87181396dfa05fe40f988cea6baf91c498ff8f4044727781c9867738  block3.bin