Go Back   FlashFXP Forums > FlashFXP > Release Archive > Website

Website Comments, Suggestions, Questions, Concerns, Fan mail, Hate mail, Whatever goes.

 
 
Thread Tools
Old 01-15-2005, 09:24 AM   #1
Junior Member
 
Join Date: Nov 2003
Posts: 28
Default io & db SQL

hi guys !

I've just a question for u.

I have a db MySQL where there are all users with thier password and ip.

But password are in MD5. So i can't add them directly. Is There no way to add them ? ioFTPD doesn't have a cmd to add users with a md5 password ? Or is there an other solution ?

Thx you for reply !
jason is offline  
Old 01-15-2005, 09:37 AM   #2
Junior Member
 
Join Date: Nov 2004
Posts: 5
Default

As far as i know, ioFTPD can't do what you ask.

What you can do, is add all the users with a default password, and then manually copy/paste the passwords from your database into the userfiles of the users (the passwords in the userfiles are also stored as md5 encrypted values).
gurken is offline  
Old 01-15-2005, 09:44 AM   #3
Junior Member
 
Join Date: Nov 2003
Posts: 28
Default

no..in fact i have a db of user with their password wich are encrypted in MD5 and i would can add them. But i cant because the pass are in MD5 and we cant decrypt them and in ioFTPD we can adduser only with the real password not with the MD5 encrypted password.

Do you understand ?
jason is offline  
Old 01-15-2005, 11:03 AM   #4
Junior Member
 
Join Date: Nov 2004
Posts: 5
Default

As I said, you can add all the users in your database with the site adduser command. You just give them for example the password 'ioftpd'. After you added all the users with password 'ioftpd', you can open their userfiles (in /iofptd/users) and paste the md5 value from the database in the password field of the matching userfile.
If you don't understand what I mean, maybe you should read this.
gurken is offline  
Old 01-15-2005, 11:03 AM   #5
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 521
Default

Quote:
Originally posted by gurken
(the passwords in the userfiles are also stored as md5 encrypted values).
they are not stored as MD5 hashes but as SHA1 hashes.
ADDiCT is offline  
 
Create a free account to browse our forums without ads



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 01:37 AM.