tsa_laptop
asked on
decrypt http headers
I am writing a web server and I have run into a problem. OK, here goes:
I want to authenticate a user,
so I send the following header to the client:
========SNIP============
HTTP/1.0 401 Unauthorized
Server: ZeroAdmin/1.0
Date: Thu 2 Mar 2000 04:34:29 GMT
WWW-authenticate: Basic realm="ZeroAdmin WebAdministrative Plugin"
Content-type: text/html
Connection: close
=========SNIP==========
The browser gets the authentication box, and I type in a username/password, and then it sends back this header:
=========SNIP==========
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
Host: localhost:99
Connection: Keep-Alive
Authorize: QWaIuaLWZpaIF
=========SNIP==========
The Authorize tag holds the password
encrypted and stuff. (The exact header may be different).
Is there any way to decrypt??
HELP! Any commentary is appreaticated!!
I want to authenticate a user,
so I send the following header to the client:
========SNIP============
HTTP/1.0 401 Unauthorized
Server: ZeroAdmin/1.0
Date: Thu 2 Mar 2000 04:34:29 GMT
WWW-authenticate: Basic realm="ZeroAdmin WebAdministrative Plugin"
Content-type: text/html
Connection: close
=========SNIP==========
The browser gets the authentication box, and I type in a username/password, and then it sends back this header:
=========SNIP==========
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
Host: localhost:99
Connection: Keep-Alive
Authorize: QWaIuaLWZpaIF
=========SNIP==========
The Authorize tag holds the password
encrypted and stuff. (The exact header may be different).
Is there any way to decrypt??
HELP! Any commentary is appreaticated!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
here it is: http://sevillaonline.com/ActiveX/Base64.zip
Is there an API call to decrypt quickly, or some function you/anyone can give me that will do it for me?