Re: User/pass with tcpconnect

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28034
interpreted = N
texte = I checked it out on session watcher and it looks like it should work. Here is what my browswer sends and my encoded user/pass combo matches.<00000000< GET / HTTP/1.1 <00000010< Host: www.blah.com:8000 <0000002E< Accept: */* <0000003B< Accept-Language: en <00000050< Connection: Keep-Alive <00000068< User-Agent: Mozilla/4.0 (compatible; MSIE 4.5; Mac_PowerPC) <000000A5< UA-OS: MacOS <000000B3< UA-CPU: PPC <000000C0< Extension: Security/Remote-Passphrase <000000E7< Authorization: Basic YWRtaW46Y20xMjY0MA==I tried it on another site as well and it did not work either.It would be nice if it was reported by SM if this should work.Here is the exact code with obvious alterations. Pop it on your server and see if it works, of course point to the server of your choice in the realm of your choice. Stats run Administration [TCPConnect host=www.yourdomain.com&port=8000] [TCPSend]GET /webcatalog/admin/index.tpl HTTP/1.0 [UnURL]%0D%0A%0D%0A[/UnURL]Extension: Security/Remote-Passphrase[UnURL]%0D%0A%0D%0A[/UnURL]Authorization: Basic [encrypt method=base64]youruser:yourpass[/encrypt][UnURL]%0D%0A%0D%0A[/UnURL][/TCPSen d] [/TCPConnect] Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.> From: Rob Marquardt > Reply-To: (WebCatalog Talk) > Date: Thu, 24 Feb 2000 12:09:03 -0600 > To: (WebCatalog Talk) > Subject: Re: User/pass with tcpconnect > > On 2/23/00 10:12 pm, Bob Minor so noted... > >> On 2/21/00 8:49 PM, Kenneth Grome wrote: >> >>> http://username:password@www.whatever.com >> >> Yes but how do I send it with the TCP connect, I need to send a username >> and password as this one is protected. >> >> [loop start=1&end=3] >> [TCPConnect host=www[index].blah.com&port=8000] >> [TCPSend]GET /process HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] >> [/TCPConnect] >> [/loop] > > You can also include it as one of the lines you're passing to the server > via [TCPsend]: > > Authorization: Basic [encrypt > method=base64]username:password[/encrypt][UnURL]%0D%0A%0D%0A[/UnURL] > > Rob Marquardt > Designer/Resident Wirehead > Toast Design > > 800 Washington Avenue North > Minneapolis MN 55401 > 612.330.9863 v > 612.321.9424 f > www.toastdesign.com > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > 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 > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: User/pass with tcpconnect (Overland 2000)
  2. Re: User/pass with tcpconnect (WebDNA Support 2000)
  3. Re: User/pass with tcpconnect (Britt T. 2000)
  4. Re: User/pass with tcpconnect (Rob Marquardt 2000)
  5. Re: User/pass with tcpconnect (Bob Minor 2000)
  6. Re: User/pass with tcpconnect (Bob Minor 2000)
  7. Re: User/pass with tcpconnect (Rob Marquardt 2000)
  8. Re: User/pass with tcpconnect (Kenneth Grome 2000)
  9. Re: User/pass with tcpconnect (Bob Minor 2000)
  10. Re: User/pass with tcpconnect (Rob Marquardt 2000)
  11. Re: User/pass with tcpconnect (Kenneth Grome 2000)
  12. Re: User/pass with tcpconnect (Bob Minor 2000)
  13. User/pass with tcpconnect (Kenneth Grome 2000)
I checked it out on session watcher and it looks like it should work. Here is what my browswer sends and my encoded user/pass combo matches.<00000000< GET / HTTP/1.1 <00000010< Host: www.blah.com:8000 <0000002E< Accept: */* <0000003B< Accept-Language: en <00000050< Connection: Keep-Alive <00000068< User-Agent: Mozilla/4.0 (compatible; MSIE 4.5; Mac_PowerPC) <000000A5< UA-OS: MacOS <000000B3< UA-CPU: PPC <000000C0< Extension: Security/Remote-Passphrase <000000E7< Authorization: Basic YWRtaW46Y20xMjY0MA==I tried it on another site as well and it did not work either.It would be nice if it was reported by SM if this should work.Here is the exact code with obvious alterations. Pop it on your server and see if it works, of course point to the server of your choice in the realm of your choice. Stats run Administration [TCPConnect host=www.yourdomain.com&port=8000] [tcpsend]GET /webcatalog/admin/index.tpl HTTP/1.0 [unurl]%0D%0A%0D%0A[/UnURL]Extension: Security/Remote-Passphrase[unurl]%0D%0A%0D%0A[/UnURL]Authorization: Basic [encrypt method=base64]youruser:yourpass[/encrypt][unurl]%0D%0A%0D%0A[/UnURL][/TCPSen d] [/TCPConnect] Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.> From: Rob Marquardt > Reply-To: (WebCatalog Talk) > Date: Thu, 24 Feb 2000 12:09:03 -0600 > To: (WebCatalog Talk) > Subject: Re: User/pass with tcpconnect > > On 2/23/00 10:12 pm, Bob Minor so noted... > >> On 2/21/00 8:49 PM, Kenneth Grome wrote: >> >>> http://username:password@www.whatever.com >> >> Yes but how do I send it with the TCP connect, I need to send a username >> and password as this one is protected. >> >> [loop start=1&end=3] >> [TCPConnect host=www[index].blah.com&port=8000] >> [tcpsend]GET /process HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] >> [/TCPConnect] >> [/loop] > > You can also include it as one of the lines you're passing to the server > via [tcpsend]: > > Authorization: Basic [encrypt > method=base64]username:password[/encrypt][unurl]%0D%0A%0D%0A[/UnURL] > > Rob Marquardt > Designer/Resident Wirehead > Toast Design > > 800 Washington Avenue North > Minneapolis MN 55401 > 612.330.9863 v > 612.321.9424 f > www.toastdesign.com > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > 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 > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Bob Minor

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:

Deleting Orders (1997) Strange error (2000) Re[3]: 2nd WebCatalog2 Feature Request (1996) WebDNA 6.0 backwards compatible? (2004) autosensing lanague selection (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) rename a file (1997) [WebDNA] Domain upgrade questions (2009) Dreamweaver (2002) Re[2]: Encrypted links ... (2000) Forcing a NEWCART (1997) Shipping costs again (1998) TCPConnect to Telnet (2003) [sendmail] possible modification needed... (2000) Separate SSL Server (1997) PSC recommends what date format yr 2000??? (1997) Separate SSL Server (1997) Multiple Pulldowns (1997) Help! I've fallen in Structured Query Language and can'tget (2002) UNSUBSCRIBE ME (2004)