Current time: 12-25-2024, 05:17 AM Hello There, Guest! (LoginRegister)


Post Reply 
perl ispcp-setup - why is an sql root pass proposed?
Author Message
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #21
RE: perl ispcp-setup - why is an sql root pass proposed?
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 $_++';


Attached File(s)
.txt  prime.pl.txt (Size: 3.23 KB / Downloads: 132)
10-16-2007 01:40 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #22
RE: perl ispcp-setup - why is an sql root pass proposed?
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
10-16-2007 01:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #23
RE: perl ispcp-setup - why is an sql root pass proposed?
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?
10-16-2007 12:05 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Breaki Offline
Junior Member
*

Posts: 109
Joined: Sep 2007
Reputation: 5
Post: #24
RE: perl ispcp-setup - why is an sql root pass proposed?
raphael Wrote:Breaki: lol, where did you find such script?

my best friend told me that...

google.com Rolleyes

greetz
10-17-2007 02:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)