User Tools

Site Tools


sk2:http

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sk2:http [2026/01/08 18:04] – [Nowsze wersje HTTP] jkonczaksk2:http [2026/11/07 22:08] (current) – jkonczak
Line 4: Line 4:
    p + p   { margin-top: 1.4em }    p + p   { margin-top: 1.4em }
    pre     { margin: 0.1em 0 0 0; padding-top: 0.2em; padding-bottom: 0.2em; line-height: 1em }    pre     { margin: 0.1em 0 0 0; padding-top: 0.2em; padding-bottom: 0.2em; line-height: 1em }
-   pre     { user-select: all } +   //pre     { user-select: all } 
-   code    { user-select: all }+   //code    { user-select: all }
    pre+pre { margin-top: 0.2em }    pre+pre { margin-top: 0.2em }
    .sel    { user-select: all; background-color:#77f1; white-space: nowrap }    .sel    { user-select: all; background-color:#77f1; white-space: nowrap }
Line 299: Line 299:
 i podaj różne wartości nagłówka //Host//: raz <html><span class="sel">www.mpu.pl</span></html>, i podaj różne wartości nagłówka //Host//: raz <html><span class="sel">www.mpu.pl</span></html>,
 raz  <html><span class="sel">pbo26.um.poznan.pl</span></html>. Porównaj odpowiedzi. raz  <html><span class="sel">pbo26.um.poznan.pl</span></html>. Porównaj odpowiedzi.
-<html><pre>+<html><pre class="code">
 openssl s_client -quiet -verify_quiet -crlf <b>150.254.186.176</b>:https << EOF \ openssl s_client -quiet -verify_quiet -crlf <b>150.254.186.176</b>:https << EOF \
        | awk '{if(p)print;else print>"/dev/stderr"};/^\r$/{p=1}' | w3m -T text/html -dump -        | awk '{if(p)print;else print>"/dev/stderr"};/^\r$/{p=1}' | w3m -T text/html -dump -
Line 306: Line 306:
  
 EOF</pre></html> EOF</pre></html>
-<html><pre>+<html><pre class="code">
 openssl s_client -quiet -verify_quiet -crlf <b>150.254.186.176</b>:https << EOF \ openssl s_client -quiet -verify_quiet -crlf <b>150.254.186.176</b>:https << EOF \
        | awk '{if(p)print;else print>"/dev/stderr"};/^\r$/{p=1}' | w3m -T text/html -dump -        | awk '{if(p)print;else print>"/dev/stderr"};/^\r$/{p=1}' | w3m -T text/html -dump -
Line 938: Line 938:
 Sprawdź czy nagłówki zapytań / odpowiedzi różnią się. Sprawdź czy nagłówki zapytań / odpowiedzi różnią się.
 <code> <code>
-my_curl -sv --http2      --parallel https://nghttp2.org https://nghttp2.org/documentation/ https://nghttp2.org/blog/ >/dev/null 2> http_2 +curl -sv --http2      --parallel https://nghttp2.org https://nghttp2.org/documentation/ https://nghttp2.org/blog/ >/dev/null 2> http_2 
-my_curl -sv --http3-only --parallel https://nghttp2.org https://nghttp2.org/documentation/ https://nghttp2.org/blog/ >/dev/null 2> http_3+curl -sv --http3-only --parallel https://nghttp2.org https://nghttp2.org/documentation/ https://nghttp2.org/blog/ >/dev/null 2> http_3
 git diff --color-words --no-index http_2 http_3 git diff --color-words --no-index http_2 http_3
 </code> </code>
Line 948: Line 948:
 Stwórz pusty plik o nazwie ''sslkey.log'' w katalogu ''/tmp'' np. komendą: Stwórz pusty plik o nazwie ''sslkey.log'' w katalogu ''/tmp'' np. komendą:
 <code> <code>
-touch /tmp/sslkey.log+touch /tmp/sslkey.log && chmod a+rw /tmp/sslkey.log
 </code> </code>
 Następnie w wiresharku wejdź, wybierając z menu //Edycja// pozycję //Preferencje//, Następnie w wiresharku wejdź, wybierając z menu //Edycja// pozycję //Preferencje//,
Line 963: Line 963:
 Rozpocznij nasłuchiwanie w wiresharku i wykonaj komendy: Rozpocznij nasłuchiwanie w wiresharku i wykonaj komendy:
 <code> <code>
-SSLKEYLOGFILE=/tmp/sslkey.log my_curl -v --http2      --parallel https://nghttp2.org/documentation/ https://nghttp2.org/blog/ +SSLKEYLOGFILE=/tmp/sslkey.log curl -v --http2      --parallel https://nghttp2.org/documentation/ https://nghttp2.org/blog/ 
-SSLKEYLOGFILE=/tmp/sslkey.log my_curl -v --http3-only --parallel https://nghttp2.org/documentation/ https://nghttp2.org/blog/+SSLKEYLOGFILE=/tmp/sslkey.log curl -v --http3-only --parallel https://nghttp2.org/documentation/ https://nghttp2.org/blog/
 </code> </code>
 Zastosuj kolejno filtry ''http2'' i ''quic'' i prześledź żądanie o podstronę Zastosuj kolejno filtry ''http2'' i ''quic'' i prześledź żądanie o podstronę
sk2/http.1767895447.txt.gz · Last modified: (external edit)