Why need track that?

there is new way, when login generate random value string for $login_key and save it in cookie with the double hashed password
and before compare with hashed password fetched form database

[this not real code just to explaining]

$login_key=randome key
$cookie_double_hashed_password=pun_hash($login_key.$hashed_password)
setcookie('password_hash',$cookie_double_hashed_password);
setcookie('login_key',$login_key);

now checking passowrds

$login_key=$_COOKIES['login_key'];
$database_double_hashed_password=pun_hash($login_key.$database_hashed_password)
if ($database_double_hashed_password!=$_COOKIES['password_hash'])
    login fail

627

(1,382 replies, posted in General discussion)

why?

No, user just need relogin,
you must hash the hashed_password and put in cookie,  not the password in database, and when login we compare the "hashed password cookie" with hashed hashed_password 
[we need a new smile for that face  &-(   ]

that mean double hash for cookie password,
in other way, you must not save hased_password directly in cookiy as in database..

I like who find a bug in my code for me,
in my job i have 3 employee testing and reporting errors, so thay call me Mr Bugs.

Bug -> its same in arabic pronunciation in same meaning smile

630

(1,382 replies, posted in General discussion)

are

1-  Your are admin in your forum
2- You are a user in my forum
3- you have the same password

I can hack your forum, easy with small tools (i can build one in delphi).

so i try to add an idea (dont hate me if i not understand you, read my sign)

adding to config.php

$login_key = 'any string';//every forum must define it and be secrete;

and modify some files (i am not test it just for an idea)

//line 54 in login.php
//after 
    $form_password_hash = pun_hash($form_password);
//add
    $cookie_form_password_hash = pun_hash($login_key.$form_password_hash) //hash the saved  hashed password

//in line 75
    setcookie($cookie_name, serialize(array($db_username, $form_password_hash)), $expire, $cookie_path, $cookie_domain, $cookie_secure);
//change
    $form_password_hash 
    to 
    $cookie_form_password_hash


//in function.php
//line 42
    $result = $db->query('SELECT * FROM '.$db->prefix.'users WHERE username=\''.addslashes($cookie['username']).'\' AND password=\''.addslashes($cookie['password_hash']).'\'') or error('Unable to fetch user information', __FILE__, __LINE__, $db->error());
    $cur_user = $db->fetch_assoc($result);

//remove the condition 
    AND password=\''.addslashes($cookie['password_hash']).'\''

//and add after
// for compare saved double hashed password look at $login_key here
 if ((pun_hash($login_key.$cur_user['password'] != $cookie['password_hash']))
    die error('Unable to fetch user information', __FILE__, __LINE__, null);

Waw, like building Setup program :-o

633

(10 replies, posted in Feature requests)

Post Rating MOD has opened

It's like phpBB,
but i hate make my script directory write permissions.
Good when you converted from phpBB.

635

(11 replies, posted in General discussion)

Chacmool wrote:

  Welcome to the real world.

NO, real world is worse than that world

I think is must say

Welcome to the hidden world, virtual world, mind world.
i like mind world smile

636

(22 replies, posted in General discussion)

Yes, there was a small battle about that name, i was in Firebid SQL side not mozila.

Firebird SQL 1.5 Database
I am used in my "Delphi" projects, it's easy like mysql, Have triggers and stored procedures, one file of database.

637

(1 replies, posted in General discussion)

try Build another Extern.php depend on it, It's very easy.

638

(10 replies, posted in Feature requests)

"et" france language (i try to detect you language) smile

dont apologizes

639

(9 replies, posted in PunBB 1.2 discussion)

Is there any reward big_smile

1 - PunBB Syntax Highlighter
2 - Digest Mailer

640

(10 replies, posted in Feature requests)

ameenullah wrote:

  I feel its better to rate the post and answer

I have opened that MOD project, i will name it as "grades" or "Post Rating"

Rickard wrote:

Yes, Rickard roll

Rod: "et" mean tu est parle france

http://miramax.com/shaolin_soccer/

It's good when you have anger from some one (BOSS) or have Bad competition (War) with other company.

642

(10 replies, posted in Feature requests)

I see it in vBulltein, it's age of user since registered (Days) div post count, the result i in percent like (30 post / 90 days) *100 = 33%

it's simple MOD

Corrected, try again

644

(21 replies, posted in PunBB 1.2 discussion)

No one here can doing that, it is taked as a treason smile

645

(6 replies, posted in Feature requests)

Same

http://punbb.org/forums/viewtopic.php?id=4368

Rickard, Paul:
Programmers sites have Question and Answers not just discusses or social discusses, so we need more Actions, i am building my site for that.

646

(4 replies, posted in Feature requests)

My first post
http://punbb.org/forums/viewtopic.php?id=3305

I can make a MOD for that.

647

(21 replies, posted in PunBB 1.2 discussion)

maybe must ask 6epcepk why not interested with PunBB,.

648

(21 replies, posted in PunBB 1.2 discussion)

it's good when PunBB have this question, that mean PunBB more cooperation, trust, power than others  roll

649

(1,382 replies, posted in General discussion)

Lower

650

(1,382 replies, posted in General discussion)

Death