apache::session::generate::md5(3pm) [debian man page]
Apache::Session::Generate::MD5(3pm) User Contributed Perl Documentation Apache::Session::Generate::MD5(3pm)NAME
Apache::Session::Generate::MD5 - Use MD5 to create random object IDs
SYNOPSIS
use Apache::Session::Generate::MD5;
$id = Apache::Session::Generate::MD5::generate();
DESCRIPTION
This module fulfills the ID generation interface of Apache::Session. The IDs are generated using a two-round MD5 of a random number, the
time since the epoch, the process ID, and the address of an anonymous hash. The resultant ID number is highly entropic on Linux and other
platforms that have good random number generators. You are encouraged to investigate the quality of your system's random number generator
if you are using the generated ID numbers in a secure environment.
This module can also examine session IDs to ensure that they are, indeed, session ID numbers and not evil attacks. The reader is
encouraged to consider the effect of bogus session ID numbers in a system which uses these ID numbers to access disks and databases.
This modules takes one argument in the usual Apache::Session style. The argument is IDLength, and the value, between 0 and 32, tells this
module where to truncate the session ID. Without this argument, the session ID will be 32 hexadecimal characters long, equivalent to a
128-bit key.
AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org>.
SEE ALSO
Apache::Session
perl v5.10.1 2010-10-18 Apache::Session::Generate::MD5(3pm)
Check Out this Related Man Page
SessionX::Generate::MD5(3) User Contributed Perl Documentation SessionX::Generate::MD5(3)NAME
Apache::Session::Generate::MD5 - Use MD5 to create random object IDs
SYNOPSIS
use Apache::SessionX::Generate::MD5;
$id = Apache::SessionX::Generate::MD5::generate($string);
DESCRIPTION
This module fulfills the ID generation interface of Apache::SessionX. If you don't give the argument $string, the IDs are generated using
a two-round MD5 of a random number, the time since the epoch, the process ID, and the address of an anonymous hash. The resultant ID
number is highly entropic on Linux and other platforms that have good random number generators. You are encouraged to investigate the
quality of your system's random number generator if you are using the generated ID numbers in a secure environment. If you give $string
the ID is the MD5 hash of that string.
This module can also examine session IDs to ensure that they are, indeed, session ID numbers and not evil attacks. The reader is
encouraged to consider the effect of bogus session ID numbers in a system which uses these ID numbers to access disks and databases.
This modules takes one argument in the usual Apache::Session style. The argument is IDLength, and the value, between 0 and 32, tells this
module where to truncate the session ID. Without this argument, the session ID will be 32 hexadecimal characters long, equivalent to a
128-bit key.
AUTHOR
This module was written by Jeffrey William Baker <jwbaker@acm.org> and modified by Gerald Richter <richter@dev.ecos.de>.
SEE ALSO
Apache::Session
perl v5.12.1 2005-11-10 SessionX::Generate::MD5(3)
Hi All,
I'm attempting to build Apache 1.3.27 on a new Solaris 9 system. I am using
following "Option 2" in the INSTALL of the mod_ssl-2.8.12-1.3.27, and I'm
stumped.
After I configure and make all the required components
the make of the Apache server itself stops at:
flex... (2 Replies)
I have built a Linux machine in my home using Mepis Linux and I'm running Apache on it.
I want to use Apache on my machine and use it as testing area for web pages and other applications.
I use a cable modem to connect to the internet. The Linux box is connected to a router, which connects... (3 Replies)
:confused:Folks,
I have a file with 50 million records having 2 columns. I have to do the below:
1. Generate some random numbers of a fixed length.
2. Replace the second column of randomly chosen rows with the random numbers.
I tried using a little bit of perl to generate random numbers... (6 Replies)
Hi ppl, anyone has encounter this error before? I can't remote login to another machine residing in the same subnet via CDE and the error I get in var/dt/Xerrors is
XDMCP fatal error: Session declined No valid address
Warning:
Name: submenu_options_button
Class: XmRowColumn
... (2 Replies)
Hi,
Apologies if anyone has read my recent post on the same subject in the Linux forum, just thought actually the solution might more likely come from scripting.
Essentially, I am trying to restrict access to directories based on the user's name AND their location on a session-by-session... (3 Replies)
Hello everybody,
I intended to use Apache 2 first time on my S10 U7 box. But the package (V2) is not ok for the developpers and they need 2.2.12 somehow. I removed Apache 1.3 and installed 2.2.12 with the stream package which I downloaded from Sunfreeware.com
It's running perfectly if I start... (2 Replies)
I am trying to use John the Ripper but it doesn't take regular MD5 hashes, only shadow MD5 hashes. For example this hash: 900150983cd24fb0d6963f7d28e17f72 (which, decrypted, is 'abc') within a text file, John the Ripper does not detect because it is not in shadow format. How can I convert this MD5... (2 Replies)
I am trying to access my web site like http://www.mywebsite.com/~someuser
My plateform is Ubuntu lucid 10.04 and I am using Apache 2.2.14
I tried to enable mod_userdir by
sudo a2enmod userdir
sudo /etc/init.d/apache2 restart
I then modify
<IfModule mod_userdir.c>
UserDir... (2 Replies)
Hi, I tried to write script, which would be able to generate MD5 sums into txt file.. But It won't work.. (I've been trying to fix that over 4 hours, but nothing helps)
Here it is
#!/bin/bash
FILE="nothing1"
POST="nothing2"
I=1
while
do
FILE=`ls -ltR | grep "^-" | tr -s "... (1 Reply)
Hi Unix Gurus,
I have a requirement to generate positive random 16 and 13 digit numbers.
Here is the script I have so far.....
number=$RANDOM$RANDOM$RANDOM$RANDOM;
let "number %= 10000000000000";
echo $number
But sometimes it is generating negative numbers and also 15 digit... (8 Replies)
i want to generate a random number through a script, and even if anyone reads the script, they wont be able to figure out what the random number is. only the person who setup the script would know it.
something like this could work: random
the full thread is here:
... (13 Replies)
I would like to generate below one line report to output.txt file using csh.
01/01/09 10:15:47|APPL|MD5|ASCII-LF|6480|bal246b61fedf7e07220cedd1a100578
how to make the code to be worked ? Please advise.thanks in advance.
#!/bin/csh
a = date
set s = '|'
... (3 Replies)
This should be trivial, but it's not. I have Apache installed and running on my SCO UNIX OpenServer 5.0.7 system; Apache says its enabled and started. But I cannot for the life of me figure out how to launch it from a command line or from X-Windows! Maybe JTG or someone else knows the answer.... (2 Replies)