Просмотр исходного кода

Refactor snapshot files

tags/v2.0.0-rc1
9seconds 5 лет назад
Родитель
Сommit
3076c52adb

+ 1
- 1
mtglib/internal/obfuscated2/client_handshake_test.go Просмотреть файл

17
 }
17
 }
18
 
18
 
19
 func (suite *ClientHandshakeTestSuite) SetupSuite() {
19
 func (suite *ClientHandshakeTestSuite) SetupSuite() {
20
-	suite.NoError(suite.IngestSnapshots("client_snapshots", "snapshot-ok-"))
20
+	suite.NoError(suite.IngestSnapshots(".", "client-handshake-snapshot-"))
21
 }
21
 }
22
 
22
 
23
 func (suite *ClientHandshakeTestSuite) TestCannotRead() {
23
 func (suite *ClientHandshakeTestSuite) TestCannotRead() {

mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-4529d55776e2d427 → mtglib/internal/obfuscated2/testdata/client-handshake-snapshot-4529d55776e2d427.json Просмотреть файл


mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-585c944d672f60a2 → mtglib/internal/obfuscated2/testdata/client-handshake-snapshot-585c944d672f60a2.json Просмотреть файл


+ 0
- 13
mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-e3cedb3c8b05c39d Просмотреть файл

1
-{
2
-  "secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
3
-  "frame": "ZEZY1K3SZZgHX2MgMeYMMVoIPYR6eP+bgKxjI7IHl6sPLhfH2jRitS7/VA6Kz8E2L+uLqVom7x4zO+D5Q5iARA",
4
-  "dc": 1,
5
-  "encrypted": {
6
-    "text": "AQIDBAUGBwgJCg",
7
-    "cipher": "WptF2u4ZSDMZxQ"
8
-  },
9
-  "decrypted": {
10
-    "text": "DT+Ob9yGWA",
11
-    "cipher": "YWJjZGVmZw"
12
-  }
13
-}

+ 0
- 13
mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-e7d2a1e5e479cf50 Просмотреть файл

1
-{
2
-  "secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
3
-  "frame": "/rbO1fCVLR7o28nrc9inrdDU+4Z4uOqbC2kMnNnzItv0fJmn4hcUXK6YBJQZVI01i7rFlgiCtTgrHtyfQp9p9w",
4
-  "dc": 1,
5
-  "encrypted": {
6
-    "text": "AQIDBAUGBwgJCg",
7
-    "cipher": "jKZzALBemf72Cw"
8
-  },
9
-  "decrypted": {
10
-    "text": "fMOlRiN20A",
11
-    "cipher": "YWJjZGVmZw"
12
-  }
13
-}

+ 0
- 13
mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-eae4de34f1ab0bdf Просмотреть файл

1
-{
2
-  "secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
3
-  "frame": "SfqaPWt1F8WTfrTkTl06s7F1nUcBR6AUp5uniCcYpVCJvgYpOO3TQHUZbLaFbI5qYRjJBQDe9OpXDJjR/5z4lg",
4
-  "dc": 1,
5
-  "encrypted": {
6
-    "text": "AQIDBAUGBwgJCg",
7
-    "cipher": "0DtHeQPN2bv7Qw"
8
-  },
9
-  "decrypted": {
10
-    "text": "BWPiYKe4bA",
11
-    "cipher": "YWJjZGVmZw"
12
-  }
13
-}

+ 0
- 13
mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-ec9c53fa17f4b39b Просмотреть файл

1
-{
2
-  "secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
3
-  "frame": "MF6BfhvxyI61vFHZN/ecrDF1sZux/JdgVjKX1Yzy7SmBhYu+8bS25ta8iFsj/4y2moBpeNFp7rqekCE3FRb29A",
4
-  "dc": 1,
5
-  "encrypted": {
6
-    "text": "AQIDBAUGBwgJCg",
7
-    "cipher": "MujITanGx9xf9g"
8
-  },
9
-  "decrypted": {
10
-    "text": "0xVTx0JKug",
11
-    "cipher": "YWJjZGVmZw"
12
-  }
13
-}

+ 0
- 13
mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-ee4b5ad981dcce87 Просмотреть файл

1
-{
2
-  "secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
3
-  "frame": "YY3y0amcDqggxeNbnyyacKl++b3Q7X0XL9coxctXxJOYZQ/uXIaWFm1KD3s0VIKQ6C7NqJ8hnnJOcpp2Bdau6A",
4
-  "dc": 1,
5
-  "encrypted": {
6
-    "text": "AQIDBAUGBwgJCg",
7
-    "cipher": "mni7eHb24tufLQ"
8
-  },
9
-  "decrypted": {
10
-    "text": "Aqi/2cgHXA",
11
-    "cipher": "YWJjZGVmZw"
12
-  }
13
-}

+ 0
- 13
mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-f122ea426238564c Просмотреть файл

1
-{
2
-  "secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
3
-  "frame": "k0f9Sv7V7svvxmHlIP4Ajg0sTGb0NXHfJDk1h6VgAnV0my1F+NU8KPG35kqXC9IDQZK/6fOABb7npO8/TCHEzQ",
4
-  "dc": 1,
5
-  "encrypted": {
6
-    "text": "AQIDBAUGBwgJCg",
7
-    "cipher": "efUzYxRvqEYPlw"
8
-  },
9
-  "decrypted": {
10
-    "text": "FFPwzZkL2A",
11
-    "cipher": "YWJjZGVmZw"
12
-  }
13
-}

+ 0
- 13
mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-f3e117d7ac4e44f9 Просмотреть файл

1
-{
2
-  "secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
3
-  "frame": "NiK5AnDAJw+fsytYBnxOmcDl6jx3uQECznBS4WIaHXGWP0tcioPikE1mVtkp33aXT7bCfFlst+b0PvcldGSARw",
4
-  "dc": 1,
5
-  "encrypted": {
6
-    "text": "AQIDBAUGBwgJCg",
7
-    "cipher": "56aF+oauHVDbPQ"
8
-  },
9
-  "decrypted": {
10
-    "text": "KycK+00LvQ",
11
-    "cipher": "YWJjZGVmZw"
12
-  }
13
-}

+ 0
- 13
mtglib/internal/obfuscated2/testdata/client_snapshots/snapshot-ok-f5e00132a81f7a61 Просмотреть файл

1
-{
2
-  "secret": "NnoYmu4Y+jHBkAVO/UqOlQ",
3
-  "frame": "nYvAavvf0TywZ4hkfGEgf6ZmnIUsDWjRKzLktqF65D+3ha/LqViPdpvsexguXBd5HClDaY6YNXjb1TbjWWfYGQ",
4
-  "dc": 1,
5
-  "encrypted": {
6
-    "text": "AQIDBAUGBwgJCg",
7
-    "cipher": "t4GyXOdaa/phBw"
8
-  },
9
-  "decrypted": {
10
-    "text": "lWNj5kAaug",
11
-    "cipher": "YWJjZGVmZw"
12
-  }
13
-}

Загрузка…
Отмена
Сохранить