Posted by
jlittle, 12:43, 4th June 2003:
Poll:
I think he's abusing his power and should not have moderator access!
What does everyone else think
ps. I know this thread won't make any difference but cal should be alerted of the fact that he has a mod who abuses their power
He has abused it a few times, I'm afraid. Nothing against him though.
YOU CAN'T VOTE FOR YOURSELF CHAY!!!! ;)
Posted by
chandler, 12:47, 4th June 2003:
lol. i only abuse it for fun!
and cos i am most excellent %^^&)*&^()%*^)
ive alreddy been told off for discussing passwords and ive been a good boy since then. in the words of roger rabbit: i only do it when its funny :)
Posted by
beargod, 12:48, 4th June 2003:
I think I should be able to abuse chays admin powers too
Posted by
jlittle, 12:48, 4th June 2003:
I didn't think it was funny :(
It can be funny but it's fucking annoying most of the time :(
Posted by
chandler, 12:50, 4th June 2003:
i edited the number "game" cos i found it funny to do so. i shall leave this new game alone now Jimmy.
I've thought about it and come to the conclusion that I don't give a fuck. Is that wrong?
Posted by
jlittle, 12:53, 4th June 2003:
there's no appathy on this thead, biatch
I agree with ILBM. Must be a Scottish thing, not caring.
Posted by
chandler, 12:54, 4th June 2003:
ilbm - no thats fine :)
Posted by
chandler, 13:01, 4th June 2003:
thank you my most excellent friend. %^&*&*(((*£&
Posted by
Rosie, 13:01, 4th June 2003:
I thought the number game thing was funny!
Posted by
Rosie, 13:02, 4th June 2003:
I'm voting Chay also.
Posted by
chandler, 13:04, 4th June 2003:
23 rawk! cheers rosie
and for those misery guts people then i promise i will keep the time travelling down a bit, perhaps i will keep it to me vicky, reddy and rosies convos
Can I withdraw my vote? Soz Chay.
Posted by
chris, 13:14, 4th June 2003:
I voted for chay :)
Posted by
Rosie, 13:14, 4th June 2003:
AP: Shall we ask him about One Can?
Despite not giving a fuck I had to vote to see the results. I think that infringes my human rights.
Posted by
chandler, 13:33, 4th June 2003:
lol
you have to be human to have human rights
Posted by
chandler, 14:32, 4th June 2003:
looks like some people like me
:P
I don't. You're a cunt, Chay
:D
Posted by
chandler, 14:37, 4th June 2003:
fuck you! ;)
Could be worse. If I was mod, I would be constantly correcting people's spelling mistakes.
Except BG's posts, of course, too difficult. It's as if he's burped out a mouthful of scrabble letters sometimes ;)
which would do my nut right in.
Posted by
beargod, 14:57, 4th June 2003:
Its not that easy to type with a thick stick glued to your forehead
Posted by
cal, 17:53, 4th June 2003:
It's as if he's burped out a mouthful of scrabble letters sometimes
quote of the day
"It's as if he's burped out a mouthful of scrabble letters sometimes" - quality!
I voted Chay, I think he makes a most excellent moderator :-) he's always editing when the rude boys come along and spoil our fun
not that I'm biased
Posted by
beargod, 20:30, 4th June 2003:
no, we beleive you
Chay is such an excellent moderator i voted for him again.
^&*%%$%£$%^&£$&
Posted by
reitsma, 05:07, 5th June 2003:
squawk.
although, i'm a bit miffed that this joint doesn't have the security to encrypt passwords, and never warned me of this much.
Posted by
cal, 07:51, 5th June 2003:
hmm. i'm not sure whether to:
a) say this somewhere (it'll probably confuse most people)
b) encrypt them (then i can't retrieve them or log in as other people)
c) do nothing (i like this option)
Posted by
chandler, 09:47, 5th June 2003:
vicky: EXCELLENT *(^&)*%$&*$^&*
Cal: (c) everytime
Posted by
reitsma, 03:31, 18th June 2003:
b)
well, do you REALLY need to log in as other people?
...and instead of retrieving them, you can generate new ones, like lots of other places do.
quack.
Posted by
cal, 10:53, 18th June 2003:
yes, i really do.
Posted by
jlittle, 11:11, 18th June 2003:
that told you :)
Posted by
beargod, 11:15, 18th June 2003:
When he is signed in as you, he can actually see you and what you are doing, so be careful :S
Posted by
Sul, 11:57, 18th June 2003:
Surely if you encode you can decode? or am I being dense?
Posted by
beargod, 12:03, 18th June 2003:
not usually, you encode it originally, then you have to encode what is typed into the login box, making it all super safe from hackers, although nothing is really super safe from hackers but there you go
Posted by
beargod, 12:05, 18th June 2003:
the php function to encode a password makes it so the password is completely not able to be decoded
Posted by
Sul, 12:18, 18th June 2003:
Except for the decode function I'd assume :/
Posted by
beargod, 12:20, 18th June 2003:
there is no decode function cos if there was it would make it so easy for someone to find the password and login, making free porn for all
Posted by
Sul, 12:27, 18th June 2003:
oh I get it now! yes I was being dense
Posted by
beargod, 12:38, 18th June 2003:
Sorry Sul, I am not too good at explaining things
Posted by
Sul, 12:44, 18th June 2003:
It wasnt you mate it was me. I was assuming you'd decode the saved(encoded) password and check it against the entered one as opposed to encode the entered one and check it against the saved(encoded) one. Which of course makes much more sense.
Posted by
beargod, 12:48, 18th June 2003:
I always used to think that would be the best way
Posted by
cal, 13:51, 18th June 2003:
correct. you would use crypt(), a one way encryption function
Posted by
Grim..., 13:51, 18th June 2003:
Um, that's not the way to do it atall.
Encode the users password into their database, using their password as an encoding salt.
When you decode, you need the same salt (ie. Password) to decode correctly.
Posted by
beargod, 13:53, 18th June 2003:
what is with the salt grim...?
Posted by
Grim..., 13:55, 18th June 2003:
Salt is, kind of, a number that the encryption is based on.
Kind of.
Very, very vaguely...
Posted by
Sul, 14:03, 18th June 2003:
"Um, that's not the way to do it atall."
Cal. Can you please clarify this. I'd actually quite like to know the best way to do this.
Posted by
beargod, 14:04, 18th June 2003:
what I described was the PHP crypt() function, which I assume cal uses
But there are many other ways of doing it
Posted by
Grim..., 14:09, 18th June 2003:
You described crypt then asked about salting?
And I didn't think Cal used encryption.
Sul:
www.hsmx.com/gf5/topics.php?groupid=42
Posted by
beargod, 14:15, 18th June 2003:
Yeah, I had never heard of salt ing before, its new to me,
I meant if he did use encryption
Posted by
jlittle, 14:19, 18th June 2003:
> GrimCrypt takes the users password and converts it into a string of numbers.
How does it do that then? Does it use a certain method - and if so, surely if someone got access to the db, they would work out that method, and get everyones passwords?
Posted by
Grim..., 14:23, 18th June 2003:
It uses a method based on what the users password is.
See?
Posted by
jlittle, 14:29, 18th June 2003:
I understand what your saying Grim - I'd just be weary that if there was a way to decript there will be a way to hack it.
Posted by
Grim..., 14:42, 18th June 2003:
It's not random...
Lets say your password was 'hi'.
The code turns 'hi' into a number, let's say '14'.
It then encrypts 'hi' with a base of 14, and makes it (for example) 043553.
You can only get 'hi' back from '043553' if you decrypt with the base '14', for which you need to know that the original password was 'hi'.
Make any sense?
Posted by
jlittle, 14:44, 18th June 2003:
why would hi turn into 14 though? There must be a comon method that turns the h into a 1 and the i into a 4 - or is that completely random?
It makes sense, but if you don't know all the passwords to everyone and someone forgets theirs, then you are unable to help and they have to start a new account?
Posted by
Grim..., 14:53, 18th June 2003:
Nov - you could assign a new one.
Jlittle - Yes there's a common method, but it's very difficult to work backwards because a completely different password (say 'who is your daddy') could also equal 14.
Posted by
beargod, 14:57, 18th June 2003:
Nov if someone looses their password they will ask the forum to make them anotherone sent to their email address that they signed up to it through, and they then can change their password again
Posted by
beargod, 15:00, 18th June 2003:
I swear the yes has gone up one on this thread
Posted by
Sul, 15:02, 18th June 2003:
I quite like the idea of using the password as the seed/salt.
Posted by
beargod, 15:04, 18th June 2003:
seasalt?
Posted by
cal, 15:06, 18th June 2003:
grim: your method is NOT secure. encryption is more complicated than you think. php has the crypt() function built in for a reason. use it.
Posted by
jlittle, 15:08, 18th June 2003:
grim: your method is NOT secure. encryption is more complicated than you think. php has the crypt() function built in for a reason. use it.
That's what I was thinking :-S
Posted by
Grim..., 15:11, 18th June 2003:
Cal: Assuming, of course, that you have a version of PHP with crypt built in.
And my method is lovely and secure, thanks.
Fog: What are you laughing at?
Posted by
Grim..., 15:12, 18th June 2003:
encryption is more complicated than you think
I am in charge of the encryption of all the hardware and software passwords for my company.
I can assure you that it isn't.
Posted by
jlittle, 15:46, 18th June 2003:
Grim - your encription is flawed though - can you not see that?
Assuming there were people out that that *really* wanted the passwords, with a method like that, they could probally find them out.
Posted by
cal, 15:48, 18th June 2003:
yeah - using this function written in 10 minutes:
www.iamcal.com/files/cal_crypt.txt
your method is VERY insecure.
Posted by
cal, 15:48, 18th June 2003:
using that library and yours, the follow code:
echo crack_gcrypt(gcrypt("this is a test"));
will, sure enough, print "this is a test"
Posted by
beargod, 15:51, 18th June 2003:
I have to admit Grim... It does seem unsafe, but I never really understood how the crypt function was that safe because could you not use it and enter every word into it and get the encryption, then look at the database they are attacking and find the exact word
Posted by
cal, 15:52, 18th June 2003:
Cal: Assuming, of course, that you have a version of PHP with crypt built in.
according to the manual, crypt() has been built into php since the first release of php3. it's built in to mysql aswell, as the PASSWORD() SQL function.
Posted by
cal, 15:53, 18th June 2003:
beargod - with crypt you can't do that because of the salt. sure, you can generate a library of crypted words to use against a single crypted password, but then you couldn't resue it. and it would take a LONG time to do it.
Posted by
beargod, 15:54, 18th June 2003:
oh ok then
Posted by
Grim..., 16:00, 18th June 2003:
Some builds of PHP don't support Crypt.
Mine, for instance =[
However, nothing is mentioned in the manual about it not being supported in this (and some other) versions.
And although your function looks like it could work, I can't make it =[
Posted by
Grim..., 16:10, 18th June 2003:
It works if you change the numbers in the array to be correct, but I don't know how you'd know what they were...
Posted by
cal, 16:11, 18th June 2003:
your build doesn't support crypt? what version/platform and what happens when you call crypt?
use this code:
<?php
include("gcrypt.php");
include("cal_crypt.txt");
print crack_gcrypt(gcrypt("this is a test"))."<br>\n";
?>
Posted by
cal, 16:13, 18th June 2003:
It works if you change the numbers in the array to be correct, but I don't know how you'd know what they were...
which array? what correct numbers?
Posted by
Grim..., 16:20, 18th June 2003:
I have version 4.0 of PHP running on Apache 1.3.14 (win32).
If I use crypt I get: Crypt function is not supported in this build.
And when I run that code I get "ta ta s a", but it
does work if you get the letter - number corrilation correct in the starting array, but I don't see how you could possibly do that.
Posted by
cal, 16:22, 18th June 2003:
"number corrilation correct in the starting array, but I don't see how you could possibly do that."
explain yourself here. i have downloaded your crypt library. whatever i encrypt with it i can decrypt with my function.
Posted by
Grim..., 16:24, 18th June 2003:
'F' => 42,
'G' => 43,
'H' => 44,
'I' => 45,
'J' => 46,
etc...
The numbers you use aren't the same as the numbers I use.
Posted by
Grim..., 16:25, 18th June 2003:
Ak!
I meant to say in the readme file that people should jumble the letter - number codes up, and I forgot *hits head on desk*
Posted by
Grim..., 16:25, 18th June 2003:
unless you can code some sort of uber-funtion to unjumble them, if so just tell me and I will give up now...
Posted by
cal, 16:27, 18th June 2003:
all i have to do is create a password a la, "abcdefghijklmnop" and i can see what it's turned into. besides that, you distribute this code with those values HARD CODED IN.
Posted by
cal, 16:27, 18th June 2003:
oh, so the answer to your question is yes, easily.
Posted by
cal, 16:28, 18th June 2003:
buy this book:
www.amazon.co.uk/exec/obidos/ASIN/047111...
it is very good
Posted by
Grim..., 16:35, 18th June 2003:
How would you see what it has been encrypted into?
Posted by
Grim..., 16:36, 18th June 2003:
I have that book =]
I also have
this book, which I see is now it's 'perfect partner', which it wasn't a while ago.
Posted by
cal, 16:43, 18th June 2003:
"How would you see what it has been encrypted into?"
err, that's a really dumb question. if you can't see what it's been encrypted into, then why bother encrypting it at all?
Posted by
Grim..., 16:45, 18th June 2003:
Sorry - how would the user (or attacker) see what it's been encrypted into, unless he has database access?
Posted by
cal, 16:55, 18th June 2003:
no, that's the same question again.
why bother encrypting it at all in that case? the reason to encrypt passwords you store is incase someone DOES see them.
Posted by
Grim..., 17:05, 18th June 2003:
Okay, so lets assume someone does see them
Without knowing what the original function was that encrypted them, whould the nasty cracker be able to decrypt?
Not easily, me thinks.
Plus, it's a whole fuck-load better than having no encryption...
Posted by
cal, 09:15, 19th June 2003:
well, then it's a VERY simple case of crypto analysis, assuming that the user can't just register with a known password and see what the ciphertext comes out as. bottom line is, that this isn't encryption, it's simple substitution with a checksum on top. telling people that this is encryption and that it protects their data is a "bad thing" (tm).
it's very slow too. infact, 'cracking' it is faster than encoding it:
--------------------------------------------------------------------------------
1000 iterations of gcrypt() in 33.6457090378 seconds
= 29.7214720271 iterations per second
--------------------------------------------------------------------------------
1000 iterations of crack_gcrypt() in 0.847792983055 seconds
= 1179.5332351 iterations per second
--------------------------------------------------------------------------------
Posted by
jlittle, 10:49, 19th June 2003:
I'm still in agreement with cal here.