What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: tcpconnect - username/password

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63014
interpreted = N
texte = Interarchy can do this (and almost nearly everything else but making coffee = :-)) >Thanks Christer, I'm sure your code will work, but I didn't use it yet, >although I will some day. > >I finally found a software (Eavesdrop) that gives me the same data that >OTSessionWatcher used to give me on MacOS9, but Eavesdrop runs on OS X. > So now (finally) I once again have a tool that displays the exact >ASCII data that's sent via HTTP. > >I just started the Eavesdrop software listening, then I requested my >page that requires the username and password, which made the browser >open its authentication dialog box. I entered the proper username and >password and received the requested page, then I just found the ASCII >text for that post in Eavesdrop and copy/pasted it into my tcpconnect >page -- including that "Authorization: Basic" line with its already >encrypted value -- and it worked like a charm! > >If you're running OS X and need a tool that listens to network traffic >and shows you what's being sent and received, Eavesdrop might be worth >a look, it's on versiontracker.com and probably lots of other shareware >/ download sites. It certainly makes writing the proper tcpconnect / >tcpsend contexts easier ... :) > >Sincerely, >Kenneth Grome >www.kengrome.com > > > > > > > >On Sep 13, 2005, at 16:39, Christer Olsson wrote: > >>> How do I make tcpconnect send a username and password like the browser >>> does ... it so I can access a page that normally needs to be logged >>> into via the browser's authentication dialog? In other words, what >>> must I add to this code to make it work? >>> >>> [TCPConnect host=3D192.168.1.1&port=3D80] >>> [tcpsend]GET /index.tpl HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend] >>> [/TCPConnect] >> >> You need to add a "Authorization" HTTP header to your request: >> >> [TCPConnect host=3D192.168.1.1&port=3D80] >> [tcpsend]GET /index.tpl HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl] >> Authorization: Basic [Encrypt >> method=3DBase64]Username:Password[/Encrypt] >> [unurl]%0D%0A%0D%0A[/unurl][/tcpsend] >> [/TCPConnect] >> >> (Change Username and Password to your actual values) >> -- >> >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >> Kantyxegatan 5 Sweden http://www.ljusaideer.se >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Web Archive of this list is at: http://webdna.smithmicro.com/ -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: tcpconnect - username/password ( Christer Olsson 2005)
  2. Re: tcpconnect - username/password ( Kenneth Grome 2005)
  3. Re: tcpconnect - username/password ( Christer Olsson 2005)
  4. tcpconnect - username/password ( Kenneth Grome 2005)
Interarchy can do this (and almost nearly everything else but making coffee = :-)) >Thanks Christer, I'm sure your code will work, but I didn't use it yet, >although I will some day. > >I finally found a software (Eavesdrop) that gives me the same data that >OTSessionWatcher used to give me on MacOS9, but Eavesdrop runs on OS X. > So now (finally) I once again have a tool that displays the exact >ASCII data that's sent via HTTP. > >I just started the Eavesdrop software listening, then I requested my >page that requires the username and password, which made the browser >open its authentication dialog box. I entered the proper username and >password and received the requested page, then I just found the ASCII >text for that post in Eavesdrop and copy/pasted it into my tcpconnect >page -- including that "Authorization: Basic" line with its already >encrypted value -- and it worked like a charm! > >If you're running OS X and need a tool that listens to network traffic >and shows you what's being sent and received, Eavesdrop might be worth >a look, it's on versiontracker.com and probably lots of other shareware >/ download sites. It certainly makes writing the proper tcpconnect / >tcpsend contexts easier ... :) > >Sincerely, >Kenneth Grome >www.kengrome.com > > > > > > > >On Sep 13, 2005, at 16:39, Christer Olsson wrote: > >>> How do I make tcpconnect send a username and password like the browser >>> does ... it so I can access a page that normally needs to be logged >>> into via the browser's authentication dialog? In other words, what >>> must I add to this code to make it work? >>> >>> [TCPConnect host=3D192.168.1.1&port=3D80] >>> [tcpsend]GET /index.tpl HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend] >>> [/TCPConnect] >> >> You need to add a "Authorization" HTTP header to your request: >> >> [TCPConnect host=3D192.168.1.1&port=3D80] >> [tcpsend]GET /index.tpl HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl] >> Authorization: Basic [Encrypt >> method=3DBase64]Username:Password[/Encrypt] >> [unurl]%0D%0A%0D%0A[/unurl][/tcpsend] >> [/TCPConnect] >> >> (Change Username and Password to your actual values) >> -- >> >> ************************************************************* >> Christer Olsson PO Box 9160 Phone +46 40 25 85 85 >> Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 >> Kantyxegatan 5 Sweden http://www.ljusaideer.se >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >Web Archive of this list is at: http://webdna.smithmicro.com/ -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmo Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Christer Olsson

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:

Today's suggestions (1998) [OT] SSL security in browser (2005) Organisation website (2005) calculating ShipCost depending on weight (1997) WebCat2 as a chat server? (1997) Country & Ship-to address & other fields ? (1997) return missing item (was:WebCat Sales) (1997) Re:my First Ship table (1998) Itools, WEBCAT OSX (2003) WebDNA 5.x Deployment? (2003) searchable list archive (1997) Hiding Brands (2004) [Sum] function? (1997) StoreBuilder (retitled) (2002) hmmm (2006) WebCatalog dying in NT (1998) DBCOMMITER (2004) emailer error type 103 (1997) PCS Frames (1997) More questions about serial number dishing (1997)