Re: [WebDNA] SHA-512 How To Do It

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111558
interpreted = N
texte = If you are in a sandbox then you need to have your scripts approved by = the server admin, hence SANDBOX SCRIPTS which are administered at the = top level of the WebDNA admin panel Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 29 Aug 2014, at 7:29 pm, Terry Nair wrote: > Hi Stuart, >=20 > 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] tag > was very much like [Shell] tag ...no internal elements or parameters. = Where > did you get this from? It is not in the docs. >=20 > For that matter, the online WedDNA docs had as an example .....=20 >=20 > [DOS]dir c:[/DOS] >=20 > Sticking that in as is at the root of the server actually listed the = files > in the wwwroot directory and not the c: directory which command prompt > would. That is why I got lost. >=20 > That said ....have not tried that yet ....could I create a text file = called > SHA512.bat in the root of www folder and called that file instead. >=20 > Do not know what you mean by SANDBOX SCRIPTS ...sorry ....really slow = today. >=20 > Thank Stuart .....TDn >=20 >=20 > -----Original Message----- > From: Stuart Tremain [mailto:webdna@idfk.com.au]=20 > Sent: Friday, August 29, 2014 16:30 > To: WebDNA Talk List > Subject: Re: [WebDNA] SHA-512 How To Do It >=20 > Terri >=20 > First of all get it to work in the command line. >=20 > Then you will need to set it up in SANDBOX SCRIPTS >=20 > This is what I did to decrypt Base64 files to pdf: >=20 > c:&& > cd \&& > cd program files\base64&& > base64.exe -d [DOCSPATH][DC-THISFILE] [DOCSPATH][DC-THISFILE].pdf&& >=20 >=20 >=20 > You can see the paths in the process start at c: change to the \ = directory > change to the program's directory run the command >=20 >=20 > So give it a name in SANDBOX SCRIPTS, SHA512 for example and then on = the > page >=20 > [TEXT]DOCSPATH=3Dpath-to-the-file[/TEXT] > [TEXT]DC-THISFILE=3Dname-of-the-file.txt[/TEXT] > [TEXT]QUIET=3D[DOS scriptid=3D SHA512][/DOS][/TEXT] >=20 > I always put it in a text var as sometime the return can cause = problems with > the HTML >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > On 29 Aug 2014, at 6:13 pm, Terry Nair wrote: >=20 >> Thanks for helping and sorry to be a bother. Have tried the link = below=20 >> and using [DOS] tag, I think I screwed up somewhere. >>=20 >> This is the command I want executed .... >>=20 >> HashConsole.exe -t "password" >>=20 >> I know you are the guru of sorts on Windows in the past ....so could=20= >> you tell me how to use [DOS] tag correctly in this case. >>=20 >> Thanks mate ....TDn >>=20 >> -----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 >>=20 >>=20 >> http://securityxploded.com/hash-console.php >>=20 >>=20 >> Regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >> On 29 Aug 2014, at 5:43 pm, Terry Nair wrote: >>=20 >>> Thanks so much Donovan ...;-) It works great on CentosOS, exactly as=20= >>> you had it. >>>=20 >>> Now I need a workaround for Windows Server 2003. Any takers? >>>=20 >>> Cheers TDn >>>=20 >>> -----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 >>>=20 >>> Hi Terry, >>>=20 >>> [shell]echo -n foobar | sha512sum[/shell] >>>=20 >>> This should work on Debian-based linux. >>> For CentOS, you may have to use another checksum command. but the=20 >>> format should be the same. >>>=20 >>> Sincerely, >>> Donovan >>>=20 >>>=20 >>>=20 >>>=20 >>> On Aug 28, 2014, at 8:40 PM, Terry Nair = wrote: >>>=20 >>>> Hi All, >>>>=20 >>>> 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=20 >>>> Centos). How can I do it via WebDNA ....the [encrypt] tag does not=20= >>>> facilitate this format? >>>>=20 >>>> If I cannot do it directly via WebDNA, is there any other clever = way=20 >>>> to get it done ....maybe using [shell] or [dos] through an = installed=20 >>>> program. I am in the dark here. Has anyone written a [function] to=20= >>>> generate this using WebDNA? >>>>=20 >>>> Thank for the assist folks. >>>>=20 >>>> Cheers Terry Nair >>>>=20 >>>> --------------------------------------------------------- >>>> This message is sent to you because you are subscribed to the=20 >>>> mailing list . >>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us >>>> Bug Reporting: support@webdna.us >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to the = mailing=20 >>> list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to the = mailing=20 >>> list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to the mailing=20= >> list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to the mailing=20= >> list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > 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 >=20 > --------------------------------------------------------- > 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] SHA-512 How To Do It (Tom Duke 2014)
  2. Re: [WebDNA] SHA-512 How To Do It (Stuart Tremain 2014)
  3. Re: [WebDNA] SHA-512 How To Do It (Stuart Tremain 2014)
  4. Re: [WebDNA] SHA-512 How To Do It (Tom Duke 2014)
  5. Re: [WebDNA] SHA-512 How To Do It (Stuart Tremain 2014)
  6. RE: [WebDNA] SHA-512 How To Do It ("Terry Nair" 2014)
  7. Re: [WebDNA] SHA-512 How To Do It (Stuart Tremain 2014)
  8. RE: [WebDNA] SHA-512 How To Do It ("Terry Nair" 2014)
  9. Re: [WebDNA] SHA-512 How To Do It (Stuart Tremain 2014)
  10. Re: [WebDNA] SHA-512 How To Do It (Stuart Tremain 2014)
  11. RE: [WebDNA] SHA-512 How To Do It ("Terry Nair" 2014)
  12. Re: [WebDNA] SHA-512 How To Do It (Donovan Brooke 2014)
  13. [WebDNA] SHA-512 How To Do It ("Terry Nair" 2014)
If you are in a sandbox then you need to have your scripts approved by = the server admin, hence SANDBOX SCRIPTS which are administered at the = top level of the WebDNA admin panel Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 29 Aug 2014, at 7:29 pm, Terry Nair wrote: > Hi Stuart, >=20 > 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] tag > was very much like [shell] tag ...no internal elements or parameters. = Where > did you get this from? It is not in the docs. >=20 > For that matter, the online WedDNA docs had as an example .....=20 >=20 > [DOS]dir c:[/DOS] >=20 > Sticking that in as is at the root of the server actually listed the = files > in the wwwroot directory and not the c: directory which command prompt > would. That is why I got lost. >=20 > That said ....have not tried that yet ....could I create a text file = called > SHA512.bat in the root of www folder and called that file instead. >=20 > Do not know what you mean by SANDBOX SCRIPTS ...sorry ....really slow = today. >=20 > Thank Stuart .....TDn >=20 >=20 > -----Original Message----- > From: Stuart Tremain [mailto:webdna@idfk.com.au]=20 > Sent: Friday, August 29, 2014 16:30 > To: WebDNA Talk List > Subject: Re: [WebDNA] SHA-512 How To Do It >=20 > Terri >=20 > First of all get it to work in the command line. >=20 > Then you will need to set it up in SANDBOX SCRIPTS >=20 > This is what I did to decrypt Base64 files to pdf: >=20 > c:&& > cd \&& > cd program files\base64&& > base64.exe -d [DOCSPATH][DC-THISFILE] [DOCSPATH][DC-THISFILE].pdf&& >=20 >=20 >=20 > You can see the paths in the process start at c: change to the \ = directory > change to the program's directory run the command >=20 >=20 > So give it a name in SANDBOX SCRIPTS, SHA512 for example and then on = the > page >=20 > [text]DOCSPATH=3Dpath-to-the-file[/TEXT] > [text]DC-THISFILE=3Dname-of-the-file.txt[/TEXT] > [text]QUIET=3D[DOS scriptid=3D SHA512][/DOS][/TEXT] >=20 > I always put it in a text var as sometime the return can cause = problems with > the HTML >=20 >=20 > Regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 > On 29 Aug 2014, at 6:13 pm, Terry Nair wrote: >=20 >> Thanks for helping and sorry to be a bother. Have tried the link = below=20 >> and using [DOS] tag, I think I screwed up somewhere. >>=20 >> This is the command I want executed .... >>=20 >> HashConsole.exe -t "password" >>=20 >> I know you are the guru of sorts on Windows in the past ....so could=20= >> you tell me how to use [DOS] tag correctly in this case. >>=20 >> Thanks mate ....TDn >>=20 >> -----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 >>=20 >>=20 >> http://securityxploded.com/hash-console.php >>=20 >>=20 >> Regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >> On 29 Aug 2014, at 5:43 pm, Terry Nair wrote: >>=20 >>> Thanks so much Donovan ...;-) It works great on CentosOS, exactly as=20= >>> you had it. >>>=20 >>> Now I need a workaround for Windows Server 2003. Any takers? >>>=20 >>> Cheers TDn >>>=20 >>> -----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 >>>=20 >>> Hi Terry, >>>=20 >>> [shell]echo -n foobar | sha512sum[/shell] >>>=20 >>> This should work on Debian-based linux. >>> For CentOS, you may have to use another checksum command. but the=20 >>> format should be the same. >>>=20 >>> Sincerely, >>> Donovan >>>=20 >>>=20 >>>=20 >>>=20 >>> On Aug 28, 2014, at 8:40 PM, Terry Nair = wrote: >>>=20 >>>> Hi All, >>>>=20 >>>> 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=20 >>>> Centos). How can I do it via WebDNA ....the [encrypt] tag does not=20= >>>> facilitate this format? >>>>=20 >>>> If I cannot do it directly via WebDNA, is there any other clever = way=20 >>>> to get it done ....maybe using [shell] or [DOS] through an = installed=20 >>>> program. I am in the dark here. Has anyone written a [function] to=20= >>>> generate this using WebDNA? >>>>=20 >>>> Thank for the assist folks. >>>>=20 >>>> Cheers Terry Nair >>>>=20 >>>> --------------------------------------------------------- >>>> This message is sent to you because you are subscribed to the=20 >>>> mailing list . >>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us >>>> Bug Reporting: support@webdna.us >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to the = mailing=20 >>> list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to the = mailing=20 >>> list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to the mailing=20= >> list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to the mailing=20= >> list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > 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 >=20 > --------------------------------------------------------- > 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 Stuart Tremain

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:

SQLResult chokes on null values? (2006) form crasehes server (1997) Nesting WebDNA in JavaScript (2003) apostrophe in search item (1997) RE: creating writefile data from a nested search (1997) Layers,Dreamweaver and WebCat Code (2000) mySQL numfound (2006) send mail problem? (1997) Emailer setup (1997) [Reload mydata.db] (1998) Re:2nd WebCatalog2 Feature Request (1996) Waitfor file (2000) [ShowIf] and empty fields (1997) Cart Question: The Epic Saga (1998) updating with ProductEditor (1998) RE: Languages (1997) Problem with CC problem ? (1997) Frames and WebCat (1997) how do we turn off staticpages page creation? (2003) Quitting WebMerchant ? (1997)