ispCP - Board - Support
perl ispcp-setup - why is an sql root pass proposed? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: perl ispcp-setup - why is an sql root pass proposed? (/thread-1531.html)

Pages: 1 2 3


RE: perl ispcp-setup - why is an sql root pass proposed? - Breaki - 10-16-2007 01:40 AM

the best and fastest solution to generate entropys was for me generating prime numbers Wink (pool was filled with over 3600 entropys in a few minutes)

i attached the script.

and ther is also a oneline command, but this works not so good as the script:

Code:
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++';



RE: perl ispcp-setup - why is an sql root pass proposed? - BeNe - 10-16-2007 01:46 AM

This script is not bad Big Grin
Code:
# ./prime.pl
2
3
5
7
11
13
17
19
23
Out of memory!
step 2: 8.72s
From 15 to 549 entropy...

Greez BeNe


RE: perl ispcp-setup - why is an sql root pass proposed? - raphael - 10-16-2007 12:05 PM

Btw, some notes about the commands I posted on the other thread:
* everything should go to /dev/urandom, not /dev/random
* do NOT cat /dev/urandom > /dev/random (unless you want to empty your pool Tongue)

Breaki: lol, where did you find such script?


RE: perl ispcp-setup - why is an sql root pass proposed? - Breaki - 10-17-2007 02:56 AM

raphael Wrote:Breaki: lol, where did you find such script?

my best friend told me that...

google.com Rolleyes

greetz