Except where otherwise noted, the contents of this presentation are © Copyright 2007 Marty Stepp and are licensed under the Creative Commons Attribution 2.5 License.
ipconfig
(Windows) or ifconfig
(Mac/Linux)www.cs.washington.edu
→ 128.208.3.88
C:\Windows\system32\drivers\etc\hosts
/private/etc/hosts
/etc/hosts
GET filename
: downloadPOST filename
: send a web form responsePUT filename
: upload$ telnet www.cs.washington.edu 80 Trying 128.208.3.88... Connected to 128.208.3.88 (128.208.3.88). Escape character is '^]'. GET /index.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 ..."> <html> ...
Number | Meaning |
---|---|
200 | OK |
301-303 | page has moved (permanently or temporarily) |
403 | you are forbidden to access this page |
404 | page not found |
500 | internal server error |
http://www.aw-bc.com/info/regesstepp/index.html ~~~~ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol host path
www.aw-bc.com
GET /info/regesstepp/index.html
http://www.textpad.com/download/index.html#downloads
index.html
and then jumps downward to a part of the page labeled downloads
http://www.cs.washington.edu:8080/secret/money.txt
http://www.google.com/search?q=miserable+failure&start=10
www.google.com
to run the program named search
and pass it two parameters:
q
(set to "miserable+failure"
)start
(set to 10
)