HTTP
:
1. - - . .html. , :
hotels.travel.ru ,
/sochi/almira.html .
( http://www.koreamuseum.ru/chya.html
http://www.greekroman.ru/gallery/mus_hermitage.htm)
2. telnet . MS-DOS, > > > . :
telnet <host name> <port number>
: <host name> , hotels.travel.ru;
<port number> , () 80;
, , :
telnet hotels.travel.ru 80
, .
3. - GET. , html- www. hotels.travel.ru - :
GET /sochi/almira.html HTTP/1.1
Enter. .
4. 2 3 HEAD.
5. ( ) .
1. GET HEAD?
2. -, HTTP-.
1.2.2. : SMTP POP
yandex.ru :
/
[email protected] s11111
spavd2@ mail.ru s22222
spavd3@ mail.ru s33333
spavd4@ mail.ru s44444
spavd5@ mail.ru s55555
SMTP server: smtp. mail.ru
POP3 server: pop. mail.ru
1. telnet TCP- SMTP yandex.ru. . 1.1
.1.1. SMTP
2. auth login. ( Base64). , , Base64. .
3. : spavd <#> @yandex.ru : spavd <#+1>@ yandex.ru, <#> .
: telnet , .
, .
4. , quit.
:
|
|
helo yandex.ru
250 smtp18.yandex.ru expected "HELO s2.liki.spb.ru.203.226.194.in-addr.arpa"
auth login
334 VXNlcm5hbWU6 // Username
c3BhdmQzQHlhbmRleC5ydQ== // // , // Base64
334 UGFzc3dvcmQ6 //Password
MzMzMzMz // , // Base64
235 Authentication successful.
mail from: [email protected]
250 2.1.0 Sender syntax Ok;
rcpt to: [email protected]
250 2.1.5 Recipient address syntax Ok; rcpt=<[email protected]>
Data
354 Start mail input; end with <CRLF>.<CRLF>
Seti peredachi
AVD
Privet!
.
250 2.0.0 accepted; S10436870AbYLJLvN
quit
221 2.0.0 smtp18.yandex.ru Out
5. TCP pop.yandex.ru. 1.2.
.1.2. POP
6. spavd <#+1>@ yandex.ru, , 1.3.
.1.3.
7. list.
8. retr N (N ) 1: retr 1. ( PrintScreen) .
9. , , .
10. , , .
3. ?
4. ?
5. MIME- ( ) , ?
6. , , , MS Excel. ( MIME )?
2
Wireshark
Wireshark , .
Wireshark , , . , , : , , , . , 2.1.
1 2 3
. 2.1. Wireshark
:
1.
File (Open ), (Close), (Save Save as ), (Reload) (Print ) , (Print Packet), (Quit).
Edit (Find Frame ), (Go to Frame), (Mark Frame, Unmark Frame Mark All Frames ), (Preferences), (Capture Filters), (Display Filters ), (Protocols ).
|
|
Capture (Start ) (Stop).
Display (Options ), (Match Selected), (Colorize Display), (Expand All Collapse All), (Show Packet in New Window), (User Specified Decodes).
Tools (plugins), TCP- (Follow TCP Stream), (Decode As ), (Summary Protocol Hierarchy).
2. .
3. .
Filter . . . Reset . Apply . Apply , , . , , . , , .
, :
1. Capture > Options. , 2.2.
. 2.2.
Interface , ( , .). , . (IP , , )
, Capture packets in promiscuous mode, . , , , , .
Limit each packet to ____ bytes , . 65535 , .
Filter . . Filter, .
Capture File(s) . - File , (, ). use multiple files , .
Stop Capture after : , .
Display Options - . Update list of packets in real time . Automatic scrolling in live capture .
Name Resolution : MAC name resolution MAC- . Enable network name resolution IP- . , . Enable transport name resolution .
|
|
OK,
2. Capture>Start. , 2.3. :
.
() , .
, , , .
. 2.3 Wireshark