View previous topic :: View next topic |
Author |
Message |
hongchuanz87
Joined: 16 Mar 2007 Posts: 18
|
Posted: Wed Apr 18, 2007 7:03 am Post subject: Question about having an external program |
|
|
Hi all, is there a possiblity of running a program along with Firstspot to control certain elements? My plan here is to experiment a new method of payment rather than the traditional modes of paypal and credit cards...
I am trying to design a program to generate a unique password and overwrite the original for every new self sign-up user and store it in fsusr.dbf. Upon physical payment, the password will be sent to the user's mail. Then, typing the assigned password, the user would be then able to sign in and use the allocated air time.
Just my idea, do you all think this feasible? Thanks in advanced! _________________ Im teh uber haxo0r! |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Apr 18, 2007 7:20 am Post subject: |
|
|
Yes, it is possible. In fact, FirstSpot is designed so that you can update the fsusr table by yourself. Keep in mind that you need to encrypt the password using encrypt_pwd.exe first before putting it in the fsusr table. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
hongchuanz87
Joined: 16 Mar 2007 Posts: 18
|
Posted: Fri Apr 20, 2007 12:52 am Post subject: |
|
|
Hey Alan, I noticed that encrypt_pwd.exe closes as it is being esecuted. How am I supposed to use it? Thanks. _________________ Im teh uber haxo0r! |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Fri Apr 20, 2007 3:20 am Post subject: |
|
|
It is a command line tool, that why it will close immediately when you double-click on it.
It will encrypt the clear password (in the first argument) and output the result to the standard output. Somehow you have to capture it and insert it to the SQL table.
Try to run it in the Command Prompt window and you will understand it much better. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
lealmtz
Joined: 12 Jul 2007 Posts: 3
|
Posted: Thu Jul 12, 2007 5:23 pm Post subject: Hello how i can.... |
|
|
Well my cuestion is, how can i do a script for use de encrypt_pwd.exe? U can send me some tutorial o some thing? because a need encrypt like 3000 user and aim not want do one by one....
Thanks for your help...
Sorry for my write, a'm mexican =) |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
|
Back to top |
|
|
lealmtz
Joined: 12 Jul 2007 Posts: 3
|
Posted: Tue Jul 31, 2007 6:39 pm Post subject: thanks!!!! |
|
|
well tanks, my cuestion was how can i used the encryt pass?, the solution was something like this:
FOR /F %%B IN (pass.txt) DO (encrypt_pwd.exe %%B >> jeje.txt)
i hope this help to someone else, of course is not ready, do you have to separate every 32 character's whit excel
well i hope this help =) and sorry for my english, i only write in spanish =) bytes |
|
Back to top |
|
|
alan Forum facilitator
Joined: 26 Sep 2003 Posts: 4435
|
Posted: Wed Aug 01, 2007 7:32 am Post subject: |
|
|
Thanks, lealmtz.
One can also check out ftp://garbo.uwasa.fi/pc/link/tscmd.zip . There are tons of examples. _________________ ~ Patronsoft Limited ~ |
|
Back to top |
|
|
|