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

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: 104)
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
*****

Posts: 3,168
Joined: Jan 2007
Reputation: 42
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

[Image: ispcpsw.png]
Ein Betriebssystem ist immer nur so gut und sicher wie der Administrator der es verwaltet.
Wie gut der Administrator jedoch seine Fähigkeiten ausspielen kann, legt das Betriebssystem fest.
-> Linux rulZ!
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
****
Dev Team

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?

YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more
Quote:This is Linux land. In silent nights you can hear the Windows machines rebooting.
If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price
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
****
Dev Team

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:


| All rights reserved : isp-control.net |