Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 1 --
- a)
- GET / HTTP/1.1
- host: student.pl
- b)
- GET /index.html HTTP/1.1
- host: student.pl
- c)
- GET /index.html HTTP/1.1
- host: student.pl
- d)
- GET /null.html HTTP/1.1
- host: student.pl
- # https://www.base64encode.org/
- # admin:pass
- authorization: Basic YWRtaW46cGFzcw==
- e)
- HEAD / HTTP/1.1
- host: student.pl
- f)
- GET /image.gif HTTP/1.1
- host: student.pl
- -- 2 --
- a) (port: 25)
- HELO student.pl
- MAIL FROM: GR311A@student.pl
- RCPT TO: GR312A@student.pl
- DATA
- Treść maila tutaj
- .
- QUIT
- b)
- HELO student.pl
- MAIL FROM: GR311A@student.pl
- RCPT TO: nieistniejacy@uzytkownik.pl
- DATA
- Treść maila tutaj
- .
- QUIT
- c)
- HELO student.pl
- MAIL FROM: nieistniejacy@uzytkownik.pl
- RCPT TO: GR312A@student.pl
- DATA
- Treść maila tutaj
- .
- QUIT
- d)
- HELO student.pl
- MAIL FROM: nieistniejacy@uzytkownik.pl
- RCPT TO: GR312A@student.pl
- DATA
- From: Grupa311A <GR311A@student.pl>
- To: Grupa312A <GR312A@student.pl>
- Subject: Mail z naglowkami
- Zawartosc maila z naglowkami
- .
- QUIT
- e) (port: 110)
- USER GR312A@student.pl
- PASS pass
- STAT
- LIST
- QUIT
- f)
- USER GR312A@student.pl
- PASS pass
- LIST
- TOP 1
- TOP 2
- TOP 3
- QUIT
- g)
- USER GR312A@student.pl
- PASS pass
- LIST
- RETR 10
- QUIT
- h)
- USER GR312A@student.pl
- PASS pass
- LIST
- DELE 1
- DELE 2
- DELE 3
- LIST
- QUIT
- -- 3 --
- a, b, c, d) (cmd)
- OPEN 127.0.0.1 21
- LS
- SEND G311A.txt G311A_SERWER.txt
- RECV G311A_SERWER.txt G311A_PC.txt
- LS
- QUIT
- -- 4 --
- a) (putty - 127.0.0.1:21)
- USER admin
- PASS pass
- PASV (127, 0, 0, 1, 233, 251) --> 233*256+251 -- port, otwieramy drugi terminal z tym portem
- LIST
- MKD TMP
- RETR TEST_FILE.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement