![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2006
Posts: 24
|
Hey,
I need to generate new passwords in whole database, so i need also to send them to account owners. Doing it manually would take years... I'm lookin for script which would read passwords from MSSQL database and send them at e-mails which people used while registering..I don't have enough experience to make one... Thank you for any help. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jul 2006
Posts: 77
|
do you got $$$? if so lets talk
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2006
Posts: 54
|
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Oct 2006
Posts: 24
|
Well, i can understand that someone spent his time to write such script but maybe someone has it already written and could simply share it ...
It's a HELP section isn't it? Like for me it's a section made for people which looking for some advice provided by people which like to help others unselfishly, definitively you're not one of them. |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Feb 2005
Posts: 307
|
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Oct 2006
Posts: 4
|
i have a php script for that...
but it works like, the user go on the page, there he write his/her name in it, if its real then the script generate a new password fpr him/her and show it on the page..or send it in email... Unfortunately, i don'th ave smtp server so could't test the email sender, but it have to work... if i have some time, i will post it soooooon. |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
I just made a script to do just what you need. It changes all passwords in the database to randomly generated passwords. Yes, I did take the encrypt() function directly from L2CP.
NOTE: Someone else should check my work before it's used. passgen.php PHP Code:
PHP Code:
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
This wouldnt fit on the other post...(just under 10000 characters, lol):
You got to be kidding me, such an easy script to make and you were going to charge him for it. For shame. This is a *SHARING* community. I can understand if you spent many hours on a project, then wanting a little money. But for such a short project, no payment is necessary. |
|
|
|
|
#9 |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
If you do not have an smtp server, I have (somewhere) a free (legal) smtp server. Also, tomorrow, I will add the ability to change the SMTP port.
I am a forgetful person. You will need these files as well: Вложения из исходного сообщения (сами файлы в копии отсутствуют): phpmailer.zip — 55291 байт |
|
|
|
|
#10 |
|
Архивный участник
Join Date: Oct 2006
Posts: 24
|
Thank You a lot guys. I reallly appreciate it.
|
|
|
|
|
#11 |
|
Архивный участник
Join Date: Feb 2005
Posts: 200
|
notice - think you will face to trouble sending so much letters per time - lot of ppl will not receive them for sure.
it is much better to reset all passwords and let users push "Send me password" button to spread letter sending for longer time. |
|
|
|
|
#12 |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
Maybe I could do that too...good idea. I gotta do my calculus homework first though :/
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Oct 2006
Posts: 24
|
Someone know PHP at enough stage to make script with this "Send me currently password" ?
Also how can i rest passwords in database? |
|
|
|
|
#14 |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
Sending current passwords would require a database containing all the current passwords...which is a secrity issue (which is also why the passwords are hashed in the first place). A send new password button would be a little more reasonable, and easier thing to do..
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Oct 2006
Posts: 24
|
Yeah, that's good idea also..Someone could try to make it?
|
|
|
|
|
#16 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 10
|
Quote:
0x0ffffff890ffffffcb0ffffffd40ffffffba0ffffff030ff ffffa00ffffffde0ffffffc60fffffff30ffffff6a0ffffff4 c0ffffff4c0ffffff810ffffff1b0ffffff3d0ffffff3d and not : 0xb18e86b70a7a3ea99c052323ee745252 so i recommand to include the generation and encryption in a while till the lenght is ok : PHP Code:
|
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
well, I took that encrypt password method right out of L2CP (php). I'll check to be sure I copied and pasted the right code.
|
|
|
|
|
#18 | |
|
Архивный участник
Join Date: Feb 2006
Posts: 10
|
Quote:
PHP Code:
|
|
|
|
|
|
#19 |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
i see what you mean...hmmm methinks ill need to look for a new function...
|
|
|
|
|
#20 | |
|
Архивный участник
Join Date: Sep 2006
Posts: 81
|
Quote:
|
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|