Skip to content

Commit 197b308

Browse files
committed
Use HTTP/1.1 instead of HTTP/2
1 parent 647b83f commit 197b308

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

trainingportal/qna.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ let analysisEnc = (mes) => {
208208
}
209209
let keyInfoB64 = util.btoa(JSON.stringify(keyInfo));
210210
let postData = `kmb64=${keyInfoB64}`;
211-
let post = `POST / HTTP/2\n`;
211+
let post = `POST / HTTP/1.1\n`;
212212
post+=`Host: finance.biznis\n`;
213213
post+=`Content-length: ${postData.length}\n\n`;
214214
post+= postData;

trainingportal/static/lessons/cryptoBreaker/crypto_xor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ If the attacker controls the input, they may easily derive the key by feeding th
3939

4040
Even if the attacker doesn't control the input, if they can guess one message and have the cipher for that message, then they will be able to obtain the key and decrypt all subsequent messages.
4141

42-
For example if XOR was used for encrypting HTTP traffic, the first line of an HTTP request to a website will most likely be:
42+
For example if XOR was used for encrypting HTTP 1.1 traffic, the first line of an HTTP request to a website will most likely be:
4343

44-
GET / HTTP/2
44+
GET / HTTP/1.1
4545

4646
Similarly the first line of the HTTP response will be:
4747

0 commit comments

Comments
 (0)