@intuned/runtime-dev 1.1.5-fingerprint.7 → 1.1.5-fingerprint.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fingerprint": {
|
|
3
|
+
"screen": {
|
|
4
|
+
"availHeight": 1080,
|
|
5
|
+
"availWidth": 1920,
|
|
6
|
+
"pixelDepth": 24,
|
|
7
|
+
"height": 1080,
|
|
8
|
+
"width": 1920,
|
|
9
|
+
"availTop": 0,
|
|
10
|
+
"availLeft": 0,
|
|
11
|
+
"colorDepth": 24,
|
|
12
|
+
"innerHeight": 969,
|
|
13
|
+
"outerHeight": 1080,
|
|
14
|
+
"outerWidth": 1920,
|
|
15
|
+
"innerWidth": 1920,
|
|
16
|
+
"screenX": 0,
|
|
17
|
+
"pageXOffset": 0,
|
|
18
|
+
"pageYOffset": 0,
|
|
19
|
+
"devicePixelRatio": 1,
|
|
20
|
+
"clientWidth": 1920,
|
|
21
|
+
"clientHeight": 969,
|
|
22
|
+
"hasHDR": false
|
|
23
|
+
},
|
|
24
|
+
"navigator": {
|
|
25
|
+
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36",
|
|
26
|
+
"userAgentData": {
|
|
27
|
+
"brands": [
|
|
28
|
+
{
|
|
29
|
+
"brand": "Chromium",
|
|
30
|
+
"version": "136"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"brand": "Not;A=Brand",
|
|
34
|
+
"version": "24"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"brand": "Google Chrome",
|
|
38
|
+
"version": "136"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"mobile": false,
|
|
42
|
+
"platform": "Linux",
|
|
43
|
+
"architecture": "x86",
|
|
44
|
+
"bitness": "64",
|
|
45
|
+
"fullVersionList": [
|
|
46
|
+
{
|
|
47
|
+
"brand": "Chromium",
|
|
48
|
+
"version": "136.0.6613.138"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"brand": "Not;A=Brand",
|
|
52
|
+
"version": "24.0.0.0"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"brand": "Google Chrome",
|
|
56
|
+
"version": "136.0.6613.138"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"model": "",
|
|
60
|
+
"platformVersion": "",
|
|
61
|
+
"uaFullVersion": "136.0.6613.138"
|
|
62
|
+
},
|
|
63
|
+
"language": "en-US",
|
|
64
|
+
"languages": ["en-US", "en"],
|
|
65
|
+
"platform": "Linux x86_64",
|
|
66
|
+
"deviceMemory": 8,
|
|
67
|
+
"hardwareConcurrency": 8,
|
|
68
|
+
"maxTouchPoints": 0,
|
|
69
|
+
"product": "Gecko",
|
|
70
|
+
"productSub": "20100101",
|
|
71
|
+
"vendor": "",
|
|
72
|
+
"vendorSub": "",
|
|
73
|
+
"doNotTrack": "1",
|
|
74
|
+
"appCodeName": "Mozilla",
|
|
75
|
+
"appName": "Netscape",
|
|
76
|
+
"appVersion": "5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36",
|
|
77
|
+
"oscpu": "Linux x86_64",
|
|
78
|
+
"extraProperties": {
|
|
79
|
+
"vendorFlavors": [],
|
|
80
|
+
"globalPrivacyControl": false,
|
|
81
|
+
"pdfViewerEnabled": true,
|
|
82
|
+
"installedApps": []
|
|
83
|
+
},
|
|
84
|
+
"webdriver": false
|
|
85
|
+
},
|
|
86
|
+
"audioCodecs": {
|
|
87
|
+
"ogg": "probably",
|
|
88
|
+
"mp3": "maybe",
|
|
89
|
+
"wav": "probably",
|
|
90
|
+
"m4a": "maybe",
|
|
91
|
+
"aac": "maybe"
|
|
92
|
+
},
|
|
93
|
+
"videoCodecs": {
|
|
94
|
+
"ogg": "probably",
|
|
95
|
+
"h264": "probably",
|
|
96
|
+
"webm": "probably"
|
|
97
|
+
},
|
|
98
|
+
"pluginsData": {
|
|
99
|
+
"plugins": [
|
|
100
|
+
{
|
|
101
|
+
"name": "Chromium PDF Plugin",
|
|
102
|
+
"description": "Portable Document Format",
|
|
103
|
+
"filename": "internal-pdf-viewer",
|
|
104
|
+
"mimeTypes": [
|
|
105
|
+
{
|
|
106
|
+
"type": "application/pdf",
|
|
107
|
+
"suffixes": "pdf",
|
|
108
|
+
"description": "Portable Document Format",
|
|
109
|
+
"enabledPlugin": "Chromium PDF Plugin"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"mimeTypes": ["Portable Document Format~~application/pdf~~pdf"]
|
|
115
|
+
},
|
|
116
|
+
"battery": null,
|
|
117
|
+
"videoCard": {
|
|
118
|
+
"webGLVendor": "Intel",
|
|
119
|
+
"webGLRenderer": "Mesa Intel(R) UHD Graphics 620 (KBL GT2)"
|
|
120
|
+
},
|
|
121
|
+
"multimediaDevices": {
|
|
122
|
+
"speakers": [
|
|
123
|
+
{
|
|
124
|
+
"deviceId": "default",
|
|
125
|
+
"kind": "audiooutput",
|
|
126
|
+
"label": "Built-in Audio Analog Stereo",
|
|
127
|
+
"groupId": "alsa-audio-group"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"micros": [
|
|
131
|
+
{
|
|
132
|
+
"deviceId": "default",
|
|
133
|
+
"kind": "audioinput",
|
|
134
|
+
"label": "Built-in Audio Analog Stereo",
|
|
135
|
+
"groupId": "alsa-audio-group"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
"webcams": [
|
|
139
|
+
{
|
|
140
|
+
"deviceId": "video0",
|
|
141
|
+
"kind": "videoinput",
|
|
142
|
+
"label": "Integrated Camera: Integrated C",
|
|
143
|
+
"groupId": "usb-camera-group"
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"fonts": [
|
|
148
|
+
"DejaVu Sans",
|
|
149
|
+
"DejaVu Serif",
|
|
150
|
+
"DejaVu Sans Mono",
|
|
151
|
+
"Liberation Sans",
|
|
152
|
+
"Liberation Serif",
|
|
153
|
+
"Liberation Mono",
|
|
154
|
+
"Ubuntu",
|
|
155
|
+
"Ubuntu Mono",
|
|
156
|
+
"Ubuntu Light",
|
|
157
|
+
"Ubuntu Condensed",
|
|
158
|
+
"Noto Sans",
|
|
159
|
+
"Noto Serif",
|
|
160
|
+
"Noto Sans Mono",
|
|
161
|
+
"Source Sans Pro",
|
|
162
|
+
"Source Code Pro",
|
|
163
|
+
"Source Serif Pro",
|
|
164
|
+
"Cantarell",
|
|
165
|
+
"Droid Sans",
|
|
166
|
+
"Droid Serif",
|
|
167
|
+
"Droid Sans Mono",
|
|
168
|
+
"Roboto",
|
|
169
|
+
"Roboto Mono",
|
|
170
|
+
"Open Sans",
|
|
171
|
+
"Open Sans Condensed",
|
|
172
|
+
"Lato",
|
|
173
|
+
"FreeSans",
|
|
174
|
+
"FreeMono",
|
|
175
|
+
"FreeSerif",
|
|
176
|
+
"Nimbus Sans",
|
|
177
|
+
"Nimbus Roman",
|
|
178
|
+
"Nimbus Mono PS"
|
|
179
|
+
],
|
|
180
|
+
"mockWebRTC": false,
|
|
181
|
+
"slim": false
|
|
182
|
+
},
|
|
183
|
+
"headers": {
|
|
184
|
+
"user-agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36",
|
|
185
|
+
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
|
|
186
|
+
"accept-language": "en-US,en;q=0.9",
|
|
187
|
+
"accept-encoding": "gzip, deflate, br, zstd",
|
|
188
|
+
"upgrade-insecure-requests": "1",
|
|
189
|
+
"sec-ch-ua": "\"Chromium\";v=\"136\", \"Not;A=Brand\";v=\"24\", \"Google Chrome\";v=\"136\"",
|
|
190
|
+
"sec-ch-ua-mobile": "?0",
|
|
191
|
+
"sec-ch-ua-platform": "\"Linux\"",
|
|
192
|
+
"sec-fetch-dest": "document",
|
|
193
|
+
"sec-fetch-mode": "navigate",
|
|
194
|
+
"sec-fetch-site": "none",
|
|
195
|
+
"sec-fetch-user": "?1"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -70,10 +70,6 @@ async function getProductionPlaywrightConstructs({
|
|
|
70
70
|
}
|
|
71
71
|
const userDataDir = await createUserDirWithPreferences();
|
|
72
72
|
const generator = new _fingerprintGenerator.FingerprintGenerator();
|
|
73
|
-
const fingerprint = generator.getFingerprint({
|
|
74
|
-
devices: ["desktop"],
|
|
75
|
-
operatingSystems: ["linux"]
|
|
76
|
-
});
|
|
77
73
|
const extensionPath = _path.default.join(__dirname, "./assets/nopecha-extension");
|
|
78
74
|
const context = await playwright.chromium.launchPersistentContext(userDataDir, {
|
|
79
75
|
headless,
|
|
@@ -83,8 +79,9 @@ async function getProductionPlaywrightConstructs({
|
|
|
83
79
|
args: ["--load-extension=" + extensionPath]
|
|
84
80
|
});
|
|
85
81
|
const injector = new _fingerprintInjector.FingerprintInjector();
|
|
86
|
-
|
|
87
|
-
await
|
|
82
|
+
const loadedFingerprintFile = _path.default.join(__dirname, "./assets/fingerprint.json");
|
|
83
|
+
const loadedFingerprint = await fs.readJson(loadedFingerprintFile);
|
|
84
|
+
await injector.attachFingerprintToPlaywright(context, loadedFingerprint);
|
|
88
85
|
context.once("close", async () => {
|
|
89
86
|
try {
|
|
90
87
|
await (0, _fsExtra.rm)(userDataDir, {
|