Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Answer: Login and CGI security problem.

by DarkSniper (Initiate)
on Feb 17, 2003 at 11:40 UTC ( #235942=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > Login and CGI security ("open cookie jar") problem. - Answer contributed by DarkSniper

i hacked a quick perlscript that generates a certain value under one hour. This is all controlled by cookies. :)
my @time = localtime(); my $time_algo = 0; $time_algo = += $_ for @time[2..5]; my $salt = 'salty'; my $cipher = crypt($time_algo,$salt); if ($cipher ne $current_cipher){ #force to reidentify; }
good luck :)

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
marioroy At a large firm, had to awaken a security guy a few times so that nobody would catch him sleeping.
marioroy On a large dairy farm, almost went off the road with a 10 wheeler from exhaustion. On the farm, almost went off the silo with a big tractor. At the Fransiscan monastery, almost slipped off the dome while painting it.
[marioroy]: In Saudi Arabia caught fire but didn't burn. I think angels exist.
Lady_Aleena clean up after dinner finally.
[Discipulus]: uch! so we are twice lucky to have MCE..;=)
[marioroy]: Working a midnight graveyard shift, on the way home ran out of gas. just 2 minutes later somebody stops with a small tank of gas. It's wierd. There's always someone nearby for some reason.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2017-05-29 08:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?