home *** CD-ROM | disk | FTP | other *** search
/ Hacks & Cracks / Hacks_and_Cracks.iso / hackersclub / km / library / hack / http-1.txt < prev    next >
Text File  |  1998-03-25  |  3KB  |  65 lines

  1. Author: PlahZma
  2. Organization: LOU
  3. Please Send Question's and comment's to: 
  4. plahzma@geocities.com    (all l-case)
  5. PlahZma@Juno.Com         (Doesn't Matter)
  6.  
  7.  
  8. FIRST INSTALLMENT: Getting URLs through Telnet.
  9.  
  10. Preface:
  11.  
  12. Hey Whatsup!  This is your Vato Loco back again with another installment of
  13.  knowledge.  This Time I will be talking about HTTP.  That's right Hyper Text
  14.  Transfer Protocol!  Before I dive into the subject at hand I would like to 
  15. take some time to thank a few people out there.  A special thanks goes out to
  16.  Optik Lenz,  He's the one who read some of my work, liked it, and helped me 
  17. become a member of LOU.  I would like to thank Tetralite for hookin' me up 
  18. with Vizual Sea Plus + .  Also  A big SHOUT OUT to Gamma and Dreamer7, Keep 
  19. chasin those clouds boy!  Alright Now that that's out of the way, lets get 
  20. to the good stuff!
  21.  
  22.  
  23. Http Has been utilized by the World Wide Web since 1990 starting out with
  24.  version 0.9.  This version was only capable of transmitting RAW data.  
  25. The next release of the Http was 1.0 .  This version supported messages 
  26. in a MIME (Multipurpose Internet Mail Extensions) format. However it does 
  27. not take into consideration a valid respect for hierarchical proxies, 
  28. caching, and persistend connection.  Now the latest as to my knowledge 
  29. is version 1.1 it has a lot more respect for these previously stated elements.
  30.  
  31.  
  32.  
  33. Alright since this is my first installment of HTTP I will limit it to 
  34. something easy.  I will tell you what your browser sends to a server when
  35. you type in a URL.  Then I will show you how to Mimic that with Telnet.
  36.  
  37. Lets say your using netscape.  You type this URL into the location box:
  38.  http://www.well.com/user/woa/ With that Netscape sends (i believe) A ping 
  39. to make sure the server is alive.  This is what is meant by the Contacting 
  40. www.well.... That you will see on the bottom of the netscape browser.  
  41. www.well.com says "Im alive, whatyah want?"  Now Netscape says I want
  42.  www.well.com/user/woa The server processes this URI
  43.  (Universal Resource Identifier)  finds the URL you are looking for and sends
  44.  the source to you.  Netscape translates it into the format the media was 
  45. intended to look like.   With telnet we can do this same thing! (wow)  To 
  46. view that same url This is what I do: Telnet www.well.com :80 
  47. (telnetting to well.com port 80 which is the http port, usually) :
  48.  the server will give you its little spiele about being 'alive'   
  49. now I type this in: GET /user/woa/ HTTP/1.1 Host: www.well.com 
  50. Then Press enter twice and the HTML source code will be sent to you. 
  51.  Since I have just started dabling in http I will have to leave it at 
  52. that. I have noticed, for your information, that when you visit a site
  53.  such as www.cnet.com or www.yahoo.com they have no reference to a document.  The servers automaticaly look for the host file. Which is usually index.html  .  If this is the case, just leave the path name with a "/" designating root. (i.e.   GET / HTTP/1.1)
  54.  
  55. Well thats all I have for now, I will be writing more on http soon as time
  56. permits.    I can be reached with ICQ, my UIN is: 1019826 Please send any
  57. questions/comments and IDEAS for further txt files. 
  58.  
  59. A devision of LOU
  60.  
  61. -PlahZma
  62. Legions Of the Underground
  63. http://www.hackersclub.com/lou
  64.  
  65.