Go Back   FlashFXP Forums > Community Chatter > Programming

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread
Old 02-03-2005, 08:59 AM   #1
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 507
Default [TCL]sha1

is there a way to see real passwd of user

with tcl script that decrypt users passwd

i want to make a users update script that auto add all users to new site in ring
and i need real passwd of user because script uses ftp connection to new site and adds users trough site gadduser ....
jeza is offline  
Old 02-03-2005, 09:21 AM   #2
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 113
Default

The whole idea of encrypting passwords is that they cannot be decrypted... so no, there is no such script.
esmandil is offline  
Old 02-03-2005, 10:36 AM   #3
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Aug 2003
Posts: 521
Default

U could make an extra "site setpasswordhash 101 xxxxxxxxx" command that sets the SHA1 encrypted password for userid 101. (write it literally to the userfile)

Send that command after adding the user with "site gadduser"
(Preferably over an encrypted connection )
ADDiCT is offline  
Old 02-03-2005, 11:35 AM   #4
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 507
Default

i think i iwll set random pass on site gadduser when updating userdb to one site and users can than change it on HUB
jeza is offline  
Closed Thread
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

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 12:54 PM.