RE: [WebDNA] SHA-512 How To Do It
This WebDNA talk-list message is from 2014
It keeps the original formatting.
numero = 111555
interpreted = N
texte = Hi Stuart,Thanks mate. I did not know that the [DOS] tag had an inner element called "scriptid " which allows one to call a file. I always thought that [DOS] tagwas very much like [Shell] tag ...no internal elements or parameters. Wheredid you get this from? It is not in the docs.For that matter, the online WedDNA docs had as an example ..... [DOS]dir c:[/DOS]Sticking that in as is at the root of the server actually listed the filesin the wwwroot directory and not the c: directory which command promptwould. That is why I got lost.That said ....have not tried that yet ....could I create a text file calledSHA512.bat in the root of www folder and called that file instead.Do not know what you mean by SANDBOX SCRIPTS ...sorry ....really slow today.Thank Stuart .....TDn-----Original Message-----From: Stuart Tremain [mailto:webdna@idfk.com.au] Sent: Friday, August 29, 2014 16:30To: WebDNA Talk ListSubject: Re: [WebDNA] SHA-512 How To Do ItTerriFirst of all get it to work in the command line.Then you will need to set it up in SANDBOX SCRIPTSThis is what I did to decrypt Base64 files to pdf:c:&&cd \&&cd program files\base64&&base64.exe -d [DOCSPATH][DC-THISFILE] [DOCSPATH][DC-THISFILE].pdf&&You can see the paths in the process start at c: change to the \ directorychange to the program's directory run the commandSo give it a name in SANDBOX SCRIPTS, SHA512 for example and then on thepage[TEXT]DOCSPATH=path-to-the-file[/TEXT][TEXT]DC-THISFILE=name-of-the-file.txt[/TEXT][TEXT]QUIET=[DOS scriptid= SHA512][/DOS][/TEXT]I always put it in a text var as sometime the return can cause problems withthe HTMLRegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 29 Aug 2014, at 6:13 pm, Terry Nair
wrote:> Thanks for helping and sorry to be a bother. Have tried the link below > and using [DOS] tag, I think I screwed up somewhere.> > This is the command I want executed ....> > HashConsole.exe -t "password"> > I know you are the guru of sorts on Windows in the past ....so could > you tell me how to use [DOS] tag correctly in this case.> > Thanks mate ....TDn> > -----Original Message-----> From: Stuart Tremain [mailto:webdna@idfk.com.au]> Sent: Friday, August 29, 2014 15:49> To: WebDNA Talk List> Subject: Re: [WebDNA] SHA-512 How To Do It> > > http://securityxploded.com/hash-console.php> > > Regards> > Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au> > > > > On 29 Aug 2014, at 5:43 pm, Terry Nair wrote:> >> Thanks so much Donovan ...;-) It works great on CentosOS, exactly as >> you had it.>> >> Now I need a workaround for Windows Server 2003. Any takers?>> >> Cheers TDn>> >> -----Original Message----->> From: Donovan Brooke [mailto:dbrooke@euca.us]>> Sent: Friday, August 29, 2014 10:05>> To: talk@webdna.us>> Subject: Re: [WebDNA] SHA-512 How To Do It>> >> Hi Terry,>> >> [shell]echo -n foobar | sha512sum[/shell]>> >> This should work on Debian-based linux.>> For CentOS, you may have to use another checksum command. but the >> format should be the same.>> >> Sincerely,>> Donovan>> >> >> >> >> On Aug 28, 2014, at 8:40 PM, Terry Nair wrote:>> >>> Hi All,>>> >>> Need some help on encryption. I need to encrypt a given string using>>> SHA-512 on a WebDNA server (one is Windows Server 2003 and the other >>> Centos). How can I do it via WebDNA ....the [encrypt] tag does not >>> facilitate this format?>>> >>> If I cannot do it directly via WebDNA, is there any other clever way >>> to get it done ....maybe using [shell] or [dos] through an installed >>> program. I am in the dark here. Has anyone written a [function] to >>> generate this using WebDNA?>>> >>> Thank for the assist folks.>>> >>> Cheers Terry Nair>>> >>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to the >>> mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> Bug Reporting: support@webdna.us>> >> --------------------------------------------------------->> This message is sent to you because you are subscribed to the mailing >> list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>> >> --------------------------------------------------------->> This message is sent to you because you are subscribed to the mailing >> list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us> > ---------------------------------------------------------> This message is sent to you because you are subscribed to the mailing > list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us> > ---------------------------------------------------------> This message is sent to you because you are subscribed to the mailing > list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed to the mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
Hi Stuart,Thanks mate. I did not know that the [DOS] tag had an inner element called "scriptid " which allows one to call a file. I always thought that [DOS] tagwas very much like [shell] tag ...no internal elements or parameters. Wheredid you get this from? It is not in the docs.For that matter, the online WedDNA docs had as an example ..... [DOS]dir c:[/DOS]Sticking that in as is at the root of the server actually listed the filesin the wwwroot directory and not the c: directory which command promptwould. That is why I got lost.That said ....have not tried that yet ....could I create a text file calledSHA512.bat in the root of www folder and called that file instead.Do not know what you mean by SANDBOX SCRIPTS ...sorry ....really slow today.Thank Stuart .....TDn-----Original Message-----From: Stuart Tremain [mailto:webdna@idfk.com.au] Sent: Friday, August 29, 2014 16:30To: WebDNA Talk ListSubject: Re: [WebDNA] SHA-512 How To Do ItTerriFirst of all get it to work in the command line.Then you will need to set it up in SANDBOX SCRIPTSThis is what I did to decrypt Base64 files to pdf:c:&&cd \&&cd program files\base64&&base64.exe -d [DOCSPATH][DC-THISFILE] [DOCSPATH][DC-THISFILE].pdf&&You can see the paths in the process start at c: change to the \ directorychange to the program's directory run the commandSo give it a name in SANDBOX SCRIPTS, SHA512 for example and then on thepage[text]DOCSPATH=path-to-the-file[/TEXT][text]DC-THISFILE=name-of-the-file.txt[/TEXT][text]QUIET=[DOS scriptid= SHA512][/DOS][/TEXT]I always put it in a text var as sometime the return can cause problems withthe HTMLRegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 29 Aug 2014, at 6:13 pm, Terry Nair wrote:> Thanks for helping and sorry to be a bother. Have tried the link below > and using [DOS] tag, I think I screwed up somewhere.> > This is the command I want executed ....> > HashConsole.exe -t "password"> > I know you are the guru of sorts on Windows in the past ....so could > you tell me how to use [DOS] tag correctly in this case.> > Thanks mate ....TDn> > -----Original Message-----> From: Stuart Tremain [mailto:webdna@idfk.com.au]> Sent: Friday, August 29, 2014 15:49> To: WebDNA Talk List> Subject: Re: [WebDNA] SHA-512 How To Do It> > > http://securityxploded.com/hash-console.php> > > Regards> > Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au> > > > > On 29 Aug 2014, at 5:43 pm, Terry Nair wrote:> >> Thanks so much Donovan ...;-) It works great on CentosOS, exactly as >> you had it.>> >> Now I need a workaround for Windows Server 2003. Any takers?>> >> Cheers TDn>> >> -----Original Message----->> From: Donovan Brooke [mailto:dbrooke@euca.us]>> Sent: Friday, August 29, 2014 10:05>> To: talk@webdna.us>> Subject: Re: [WebDNA] SHA-512 How To Do It>> >> Hi Terry,>> >> [shell]echo -n foobar | sha512sum[/shell]>> >> This should work on Debian-based linux.>> For CentOS, you may have to use another checksum command. but the >> format should be the same.>> >> Sincerely,>> Donovan>> >> >> >> >> On Aug 28, 2014, at 8:40 PM, Terry Nair wrote:>> >>> Hi All,>>> >>> Need some help on encryption. I need to encrypt a given string using>>> SHA-512 on a WebDNA server (one is Windows Server 2003 and the other >>> Centos). How can I do it via WebDNA ....the [encrypt] tag does not >>> facilitate this format?>>> >>> If I cannot do it directly via WebDNA, is there any other clever way >>> to get it done ....maybe using [shell] or [DOS] through an installed >>> program. I am in the dark here. Has anyone written a [function] to >>> generate this using WebDNA?>>> >>> Thank for the assist folks.>>> >>> Cheers Terry Nair>>> >>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to the >>> mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> Bug Reporting: support@webdna.us>> >> --------------------------------------------------------->> This message is sent to you because you are subscribed to the mailing >> list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>> >> --------------------------------------------------------->> This message is sent to you because you are subscribed to the mailing >> list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us> > ---------------------------------------------------------> This message is sent to you because you are subscribed to the mailing > list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us> > ---------------------------------------------------------> This message is sent to you because you are subscribed to the mailing > list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed to the mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
"Terry Nair"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Summary search -- speed (1997)
More on the email templates (1997)
searching multiple databases in single search (1997)
New Command prefs ... (1997)
newbies to web, spaces in email address (1998)
WebCommerce: Folder organization ? (1997)
problem serving foreign languages text (1997)
Further on formula.db failure to calculate shipCost (1997)
second question of the day... (2004)
Waitfor file (2000)
Generating Report Totals (1997)
PLEASE REMOVE MY EMAIL ADDRESS (1997)
WC2b15 File Corruption (1997)
Repeating Fields (1997)
[WebDNA] Bueller? Bueller? (2011)
Adding Message to Order (1997)
Ampersand Character (&) (1997)
Help name our technology! (1997)
Date fun with MySQL (2004)
Question on the sandbox (2003)