├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── app ├── .env ├── api │ ├── error │ │ └── index.js │ ├── index.js │ ├── middlewares │ │ ├── checkApiKey.js │ │ └── checkAuthKey.js │ └── routes │ │ ├── AdminRoute.js │ │ ├── GenRoute.js │ │ └── TestRoute.js ├── config │ └── index.js ├── index.js ├── loaders │ ├── express.js │ ├── index.js │ └── mongo.js ├── models │ ├── Blacklist.js │ ├── Client.js │ ├── Key.js │ └── Request.js ├── services │ ├── .gitkeep │ ├── AdminService.js │ └── GenService.js └── utils │ ├── Detection.js │ ├── Logger.js │ └── Timeout.js ├── darkroots.js ├── docker-compose.yml ├── index.html ├── index.js ├── libs └── logger │ └── index.js ├── package-lock.json ├── package.json ├── proxy.txt ├── sample.js ├── test.js ├── websites.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | /abck.txt 2 | /node_modules 3 | /footpatrol_abck.txt 4 | /darkroots.js 5 | /data.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | ARG IMAGE_VERSION 2 | 3 | FROM node:${IMAGE_VERSION} 4 | 5 | # main wrkdir 6 | WORKDIR /usr/src/app 7 | 8 | # copy pkg 9 | COPY package*.json ./ 10 | 11 | # install pkg 12 | RUN npm install 13 | 14 | # copy everything over to wrkdir 15 | COPY . . 16 | 17 | EXPOSE 3000 18 | 19 | CMD ["npm", "run", "server"] -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Akamai Sensor Generator 2 | This repository is for research purposes only. It is a functional Akamai sensor generator, however is on version 1.52 of Akamai Anti-bot. In order to function on the newest Akamai version, it must be revamped, and some portions must be rewritten. 3 | 4 | ## Setup 5 | 1. Clone the repository 6 | 2. Install the necessary dependencies 7 | 3. Run the command `npm run electron` 8 | 9 | ## Methodology 10 | The Akamai Sensor Generator was created by reversing the obfuscated Akamai Collector script, which can be found [here.](https://us.louisvuitton.com/bundles/f07e41afui210f89b730060204942b) 11 | 12 | Using [de4js](https://lelinhtinh.github.io/de4js/) and selecting array, you are able to view the raw JS code that Akamai uses to determine if you are a human or not. 13 | 14 | The Sensor Generator works like this: 15 | 1. Visit website to obtain temporary Akamai cookie 16 | 2. Using temp akamai cookie, spoof values for the sensor string 17 | 3. Submit cookie + spoofed values to akamai collector url 18 | 4. Receive valid Akamai cookie 19 | 20 | Cookies are valid for a year, except some websites may choose to clear them at any time. 21 | 22 | ## Notes 23 | This Sensor generator is in fact, considered outdated. Akamai implemented ja3 ssl/tls checks as well as several new functions to their updated versions to prevent this code from running at scale. Yet this is not meant to be used for large scale Akamai cookie genning, but rather for research and a guide for future generators. 24 | 25 | P.S. It is missing the MACT function for mouse tracking. For any relevant tests you can replace that function with [Ghost cursor](https://www.npmjs.com/package/ghost-cursor). 26 | 27 | ## Reflections 28 | Thank you to [Eric](https://github.com/ericz99) and [Zed](https://github.com/zedd3v) for making this possible. This was a fun project and hopefully will find new life in guiding others. 29 | -------------------------------------------------------------------------------- /app/.env: -------------------------------------------------------------------------------- 1 | MONGO_URI= 2 | MONGO_INITDB_DATABASE= 3 | ADMIN_SECRET= -------------------------------------------------------------------------------- /app/api/error/index.js: -------------------------------------------------------------------------------- 1 | module.exports = class ErrorHandler extends Error { 2 | constructor(status, message) { 3 | super(); 4 | this.status = status; 5 | this.message = message; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/api/index.js: -------------------------------------------------------------------------------- 1 | const { Router } = require('express'); 2 | const GenRoute = require('./routes/GenRoute'); 3 | const AdminRoute = require('./routes/AdminRoute'); 4 | const TestRoute = require('./routes/TestRoute'); 5 | 6 | const app = Router(); 7 | GenRoute(app); 8 | AdminRoute(app); 9 | TestRoute(app); 10 | 11 | module.exports = app; 12 | -------------------------------------------------------------------------------- /app/api/middlewares/checkApiKey.js: -------------------------------------------------------------------------------- 1 | const config = require('../../config'); 2 | const ErrorHandler = require('../error'); 3 | const GenService = require('../../services/GenService'); 4 | const KeyModel = require('../../models/Key'); 5 | 6 | module.exports = async (req, res, next) => { 7 | const { token, clientid } = req.query; 8 | const { authorization } = req.headers; 9 | const key = authorization.substring(7); 10 | 11 | // # no api key presented in header 12 | if (!key || !await KeyModel.findOne({ secret: key })) { 13 | return next(new ErrorHandler(403, 'Invalid credential')); 14 | } 15 | 16 | const keyData = await KeyModel.findOne({ secret: key }); 17 | 18 | if (keyData.key == token && keyData.client == clientid) { 19 | return next(); 20 | } 21 | 22 | return next(new ErrorHandler(403, 'Invalid credential')); 23 | } -------------------------------------------------------------------------------- /app/api/middlewares/checkAuthKey.js: -------------------------------------------------------------------------------- 1 | // # TODO 2 | const config = require('../../config'); 3 | const ErrorHandler = require('../error'); 4 | 5 | module.exports = async (req, res, next) => { 6 | const { authorization } = req.headers; 7 | 8 | if (authorization) { 9 | const key = authorization.substring(7); 10 | // # no api key presented in header 11 | if (!key || key !== config.adminSecret) { 12 | return next(new ErrorHandler(403, 'Invalid credential, please check your secret key!')); 13 | } 14 | 15 | return next(); 16 | } 17 | 18 | // # simply return if no authorization 19 | return next(new ErrorHandler(403, 'Unauthorized access!')); 20 | } -------------------------------------------------------------------------------- /app/api/routes/AdminRoute.js: -------------------------------------------------------------------------------- 1 | const { Router } = require('express'); 2 | const AdminService = require('../../services/AdminService'); 3 | const checkAuthKey = require('../middlewares/checkAuthKey'); 4 | 5 | const route = Router(); 6 | 7 | module.exports = app => { 8 | app.use("/admin", route); 9 | 10 | // # generate api keys 11 | route.get('/generate', checkAuthKey, async (req, res, next) => { 12 | const apiKey = await AdminService.generateApiKey(); 13 | 14 | if (apiKey) { 15 | return res.status(200).json({ 16 | statusCode: 200, 17 | errors: [], 18 | data: { 19 | status: 'success', 20 | res: apiKey 21 | } 22 | }); 23 | } 24 | }); 25 | }; 26 | -------------------------------------------------------------------------------- /app/api/routes/GenRoute.js: -------------------------------------------------------------------------------- 1 | const { Router } = require('express'); 2 | const GenService = require('../../services/GenService'); 3 | const validateApiKey = require('../middlewares/checkApiKey'); 4 | const ErrorHandler = require('../error'); 5 | 6 | const route = Router(); 7 | 8 | module.exports = app => { 9 | app.use("/gen", route); 10 | 11 | // # gen cookies 12 | route.get('/', validateApiKey, async (req, res, next) => { 13 | const { token, site } = req.query; 14 | const { proxy } = req.headers; 15 | const data = await GenService.genCookie(token, site, proxy); 16 | 17 | // # if no data, means limit has been reached 18 | if (!data.hasOwnProperty('success') || !data.hasOwnProperty('abck')) { 19 | // # return user response 20 | return next(new ErrorHandler(403, 'Maximum limit reached on your api key. Contact admin to renew!')); 21 | } 22 | 23 | // # return user response 24 | return res.status(200).json({ 25 | status: 200, 26 | error: null, 27 | data: { 28 | success: data.success, 29 | '_abck': data.abck 30 | } 31 | }); 32 | }); 33 | }; 34 | -------------------------------------------------------------------------------- /app/api/routes/TestRoute.js: -------------------------------------------------------------------------------- 1 | const { Router } = require('express'); 2 | 3 | const route = Router(); 4 | 5 | module.exports = app => { 6 | app.use("/test", route); 7 | 8 | // # test route 9 | route.get("/", (req, res, next) => { 10 | return res.status(200).json({ 11 | status: 200, 12 | error: null, 13 | data: { 14 | msg: "Success!", 15 | ip: req.connection.remoteAddress 16 | } 17 | }); 18 | }); 19 | }; 20 | -------------------------------------------------------------------------------- /app/config/index.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config(); 2 | 3 | module.exports = { 4 | mongoUri: process.env.MONGO_URI, 5 | mongoDatabase: process.env.MONGO_INITDB_DATABASE, 6 | adminSecret: process.env.ADMIN_SECRET, 7 | api: { 8 | 'prefix': '/api' 9 | } 10 | } -------------------------------------------------------------------------------- /app/index.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const http = require('http'); 3 | 4 | const config = require('./config'); 5 | const PORT = process.env.PORT || 3000; 6 | 7 | (async () => { 8 | // # create app 9 | const app = express(); 10 | // # import loaders 11 | require("./loaders")(app); 12 | // # create httpserver 13 | const httpServer = http.createServer(app); 14 | 15 | // # listen to server port 16 | httpServer.listen(PORT, "0.0.0.0", e => { 17 | if (e) { 18 | console.log(e); 19 | process.exit(1); 20 | } 21 | 22 | console.log(`Server running on port ${PORT}`); 23 | }); 24 | })(); 25 | -------------------------------------------------------------------------------- /app/loaders/express.js: -------------------------------------------------------------------------------- 1 | const cors = require('cors'); 2 | const morgan = require('morgan'); 3 | const helmet = require('helmet'); 4 | const Detection = require('../utils/Detection'); 5 | const Timeout = require('../utils/Timeout'); 6 | 7 | // # import config 8 | const config = require('../config'); 9 | 10 | // # import api routes 11 | const api = require('../api'); 12 | 13 | // # import logger 14 | const Logger = require('../utils/Logger'); 15 | 16 | // # import request model 17 | const RequestModel = require('../models/Request'); 18 | 19 | module.exports = app => { 20 | app.enable("trust proxy"); 21 | // # init middlewares 22 | app.use(cors()); 23 | app.use(morgan("dev")); 24 | app.use(helmet()); 25 | 26 | // # end user if they try using scriptshell attack 27 | app.use(Timeout); 28 | 29 | // # whitelists ip only allow access 30 | app.use(Detection); 31 | 32 | // # catch and log each request 33 | app.use(async (req, res, next) => { 34 | try { 35 | if (req) { 36 | const userAgent = req.headers['user-agent']; 37 | const ipAddress = req.connection.remoteAddress; 38 | const logRequestString = new Logger(req, res).log("info"); 39 | 40 | const requestLog = new RequestModel({ 41 | ipAddress, 42 | userAgent, 43 | logRequestString 44 | }); 45 | 46 | // # save to request collection 47 | await requestLog.save(); 48 | } 49 | 50 | // # return next middleware 51 | return next(); 52 | } catch (e) { 53 | if (e) return next(e); 54 | } 55 | }); 56 | 57 | // # use our api rotes 58 | app.use(config.api.prefix, api); 59 | 60 | // # error handling routes 61 | app.use((req, res, next) => { 62 | const err = new Error("Not Found"); 63 | err.status = 404; 64 | res.status(err.status).json({ 65 | status: err.status, 66 | request_url: req.originalUrl, 67 | message: err.message, 68 | }); 69 | }); 70 | 71 | // # catching global error 72 | app.use((err, req, res, next) => { 73 | if (err) { 74 | const status = err.status || 500; 75 | return res.status(status).json({ 76 | status: err.status, 77 | request_url: req.originalUrl, 78 | message: err.message, 79 | }); 80 | } 81 | }); 82 | }; 83 | -------------------------------------------------------------------------------- /app/loaders/index.js: -------------------------------------------------------------------------------- 1 | const express = require('./express'); 2 | const mongo = require('./mongo'); 3 | 4 | module.exports = async app => { 5 | await express(app); 6 | await mongo(); 7 | }; 8 | -------------------------------------------------------------------------------- /app/loaders/mongo.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | 3 | // # IMPORT CONFIG 4 | const config = require('../config'); 5 | 6 | module.exports = () => { 7 | mongoose.connect(config.mongoUri, { 8 | useCreateIndex: true, 9 | useNewUrlParser: true, 10 | useUnifiedTopology: true 11 | }); 12 | 13 | mongoose.connection.on("connected", () => { 14 | console.log("Successfully connected to database!"); 15 | }); 16 | 17 | mongoose.connection.on("error", err => { 18 | console.log(`Failed to connecto mongodb: ${err}`); 19 | }); 20 | 21 | // When the connection is disconnected 22 | mongoose.connection.on("disconnected", () => { 23 | console.log("Mongoose default connection disconnected"); 24 | }); 25 | 26 | // If the Node process ends, close the Mongoose connection 27 | process.on("SIGINT", () => { 28 | mongoose.connection.close(() => { 29 | console.log( 30 | "Mongoose default connection disconnected through app termination" 31 | ); 32 | throw new Error("Connection terminated through APP."); 33 | }); 34 | }); 35 | }; 36 | -------------------------------------------------------------------------------- /app/models/Blacklist.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | 3 | const blacklistSchema = new mongoose.Schema({ 4 | ipAddress: String, 5 | isBlackList: Boolean, 6 | date: { 7 | type: Date, 8 | default: Date.now 9 | } 10 | }); 11 | 12 | module.exports = mongoose.model('blacklist', blacklistSchema); -------------------------------------------------------------------------------- /app/models/Client.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | 3 | const clientSchema = new mongoose.Schema({ 4 | clientID: String, 5 | key: { type: mongoose.Schema.Types.ObjectId, ref: "key" }, 6 | createdAt: { 7 | type: Date, 8 | default: Date.now 9 | } 10 | }); 11 | 12 | module.exports = mongoose.model('client', clientSchema); -------------------------------------------------------------------------------- /app/models/Key.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | const crypto = require('crypto'); 3 | 4 | const ClientModel = require('./Client'); 5 | 6 | const keySchema = new mongoose.Schema({ 7 | keyID: String, 8 | client: { type: mongoose.Schema.Types.ObjectId, ref: 'client', default: null }, 9 | key: { 10 | type: String, 11 | unique: true 12 | }, 13 | secret: { 14 | type: String, 15 | unique: true 16 | }, 17 | limit: { 18 | type: Number, 19 | default: 10000 20 | } 21 | }); 22 | 23 | keySchema.pre('save', function (next) { 24 | const user = this; 25 | 26 | if (!user.secret && !user.client) { 27 | // # new client 28 | const client = new ClientModel({ 29 | id: Math.random().toString(36).substring(2, 15), 30 | key: user._id 31 | }); 32 | 33 | // # save 34 | client.save(); 35 | 36 | return crypto.randomBytes(48, (err, buffer) => { 37 | let token = buffer.toString('hex'); 38 | user.secret = token; 39 | user.client = client._id; 40 | return next(); 41 | }); 42 | } 43 | 44 | return next(); 45 | }); 46 | 47 | module.exports = mongoose.model('key', keySchema); -------------------------------------------------------------------------------- /app/models/Request.js: -------------------------------------------------------------------------------- 1 | const mongoose = require('mongoose'); 2 | 3 | const requestSchema = new mongoose.Schema({ 4 | ipAddress: String, 5 | userAgent: String, 6 | logRequestString: String, 7 | date: { 8 | type: Date, 9 | default: Date.now 10 | } 11 | }); 12 | 13 | module.exports = mongoose.model('request', requestSchema); -------------------------------------------------------------------------------- /app/services/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HypePhilosophy/Akamai_Sensor_Generator/27b0191c187a76645a12aeb0e3cdefbb831b351b/app/services/.gitkeep -------------------------------------------------------------------------------- /app/services/AdminService.js: -------------------------------------------------------------------------------- 1 | const crypto = require('crypto'); 2 | const uuid = require('uuid/v4'); 3 | const config = require('../config'); 4 | 5 | const KeyModel = require('../models/Key'); 6 | const ClientModel = require('../models/Client'); 7 | 8 | module.exports = { 9 | generateApiKey: async () => { 10 | // # create new key 11 | const newKey = await KeyModel.create({ 12 | keyID: Math.random().toString(36).substring(2, 15), 13 | key: uuid() 14 | }) 15 | 16 | // # return user api key 17 | return { 18 | key: newKey.key, 19 | secret: newKey.secret, 20 | clientID: newKey.client 21 | }; 22 | } 23 | } -------------------------------------------------------------------------------- /app/services/GenService.js: -------------------------------------------------------------------------------- 1 | const config = require('../config'); 2 | const genAbck = require('../../'); 3 | const KeyModel = require('../models/Key'); 4 | 5 | module.exports = { 6 | genCookie: async (apiKey, site, proxy) => { 7 | const isKey = await KeyModel.findOne({ key: apiKey }); 8 | 9 | // # check for key limit 10 | if (isKey && isKey.limit == 0) { 11 | // # max limit reached 12 | return false; 13 | } 14 | 15 | isKey.limit -= 1; 16 | await isKey.save(); 17 | return await genAbck(site, proxy); 18 | } 19 | } -------------------------------------------------------------------------------- /app/utils/Detection.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const path = require('path'); 3 | const Logger = require('./Logger'); 4 | 5 | module.exports = (req, res, next) => { 6 | const ipAddress = req.headers['x-forwarded-for'] || req.connection.remoteAddress; 7 | const logRequestString = new Logger(req, res).log("info"); 8 | let invalidIp = true; 9 | 10 | // # import whitelist ips only 11 | fs.readFile(path.join(process.cwd(), 'whitelists.txt'), "utf8", (err, data) => { 12 | 13 | if (!err) { 14 | // # format ips 15 | const formatIps = data.replace(/\r/g, '').trim().split("\n"); 16 | 17 | for (let i = 0; i < formatIps.length; i++) { 18 | if (formatIps[i] == ipAddress) { 19 | invalidIp = false; 20 | return next(); 21 | } 22 | } 23 | 24 | if (invalidIp) { 25 | // # end response from user 26 | return res.status(403).end(); 27 | } 28 | } 29 | 30 | return next(err); 31 | }); 32 | } -------------------------------------------------------------------------------- /app/utils/Logger.js: -------------------------------------------------------------------------------- 1 | const qs = require('querystring'); 2 | 3 | class Logger { 4 | constructor(req, res) { 5 | this.req = req; 6 | this.res = res; 7 | this.requestImprint = ""; 8 | 9 | if (req) { 10 | const userAgent = req.headers['user-agent']; 11 | const ipAddress = req.connection.remoteAddress; 12 | const queries = qs.parse(req.originalUrl.replace(/^.*\?/, '')); 13 | const imprint = [userAgent, ipAddress]; 14 | 15 | for (const k in queries) { 16 | imprint.push(queries[k]); 17 | } 18 | 19 | this.requestImprint = imprint.filter(x => !!x).join(", "); 20 | } 21 | } 22 | 23 | 24 | log(level, ...args) { 25 | return `[${new Date().toISOString()}] [${level}] [${this.requestImprint}] ${this.req.method} ${this.req.originalUrl} ${this.res.statusCode}` 26 | } 27 | } 28 | 29 | module.exports = Logger; -------------------------------------------------------------------------------- /app/utils/Timeout.js: -------------------------------------------------------------------------------- 1 | module.exports = (req, res, next) => { 2 | const currentUrl = req.originalUrl; 3 | 4 | // # block all shellshock script attack 5 | if (currentUrl.indexOf('/shell') > -1) { 6 | return res.status(403).end(); 7 | } 8 | 9 | return next(); 10 | } -------------------------------------------------------------------------------- /darkroots.js: -------------------------------------------------------------------------------- 1 | var _cf = _cf || [], 2 | bmak = bmak || { 3 | ver: 1.54, 4 | ke_cnt_lmt: 150, 5 | mme_cnt_lmt: 100, 6 | mduce_cnt_lmt: 75, 7 | pme_cnt_lmt: 25, 8 | pduce_cnt_lmt: 25, 9 | tme_cnt_lmt: 25, 10 | tduce_cnt_lmt: 25, 11 | doe_cnt_lmt: 10, 12 | dme_cnt_lmt: 10, 13 | vc_cnt_lmt: 100, 14 | doa_throttle: 0, 15 | dma_throttle: 0, 16 | session_id: "default_session", 17 | js_post: !1, 18 | loc: "", 19 | cf_url: ("https:" === document.location.protocol ? "https://" : "http://") + "apid.cformanalytics.com/api/v1/attempt", 20 | params_url: ("https:" === document.location.protocol ? "https://" : "http://") + document.location.hostname + "/get_params", 21 | auth: "", 22 | api_public_key: "afSbep8yjnZUjq3aL010jO15Sawj2VZfdYK8uY90uxq", 23 | aj_lmt_doact: 1, 24 | aj_lmt_dmact: 1, 25 | aj_lmt_tact: 1, 26 | ce_js_post: 0, 27 | init_time: 0, 28 | informinfo: "", 29 | prevfid: -1, 30 | fidcnt: 0, 31 | sensor_data: 0, 32 | ins: null, 33 | cns: null, 34 | enGetLoc: 0, 35 | enReadDocUrl: 1, 36 | disFpCalOnTimeout: 0, 37 | xagg: -1, 38 | pen: -1, 39 | brow: "", 40 | browver: "", 41 | psub: "-", 42 | lang: "-", 43 | prod: "-", 44 | plen: -1, 45 | doadma_en: 0, 46 | sdfn: [], 47 | d2: 0, 48 | d3: 0, 49 | thr: 0, 50 | cs: "0a46G5m17Vrp4o4c", 51 | hn: "unk", 52 | z1: 0, 53 | o9: 0, 54 | vc: "", 55 | y1: 2016, 56 | ta: 0, 57 | tst: -1, 58 | t_tst: 0, 59 | ckie: "_abck", 60 | n_ck: "0", 61 | ckurl: 0, 62 | bm: !1, 63 | mr: "-1", 64 | altFonts: !1, 65 | rst: !1, 66 | runFonts: !1, 67 | fsp: !1, 68 | firstLoad: !0, 69 | pstate: !1, 70 | mn_mc_lmt: 10, 71 | mn_state: 0, 72 | mn_mc_indx: 0, 73 | mn_sen: 0, 74 | mn_tout: 100, 75 | mn_stout: 1e3, 76 | mn_ct: 1, 77 | mn_cc: "", 78 | mn_cd: 1e4, 79 | mn_lc: [], 80 | mn_ld: [], 81 | mn_lcl: 0, 82 | mn_al: [], 83 | mn_il: [], 84 | mn_tcl: [], 85 | mn_r: [], 86 | mn_abck: "", 87 | mn_psn: "", 88 | mn_ts: "", 89 | mn_lg: [], 90 | ir: function () { 91 | bmak.start_ts = Date.now ? Date.now() : +new Date, bmak.kact = "", bmak.ke_cnt = 0, bmak.ke_vel = 0, bmak.mact = "", bmak.mme_cnt = 0, bmak.mduce_cnt = 0, bmak.me_vel = 0, bmak.pact = "", bmak.pme_cnt = 0, bmak.pduce_cnt = 0, bmak.pe_vel = 0, bmak.tact = "", bmak.tme_cnt = 0, bmak.tduce_cnt = 0, bmak.te_vel = 0, bmak.doact = "", bmak.doe_cnt = 0, bmak.doe_vel = 0, bmak.dmact = "", bmak.dme_cnt = 0, bmak.dme_vel = 0, bmak.vcact = "", bmak.vc_cnt = 0, bmak.aj_indx = 0, bmak.aj_ss = 0, bmak.aj_type = -1, bmak.aj_indx_doact = 0, bmak.aj_indx_dmact = 0, bmak.aj_indx_tact = 0, bmak.me_cnt = 0, bmak.pe_cnt = 0, bmak.te_cnt = 0, bmak.nav_perm = "" 92 | }, 93 | get_cf_date: function () { 94 | return Date.now ? Date.now() : +new Date 95 | }, 96 | sd_debug: function (a) { 97 | //console.log(a); 98 | if (!bmak.js_post) { 99 | var t = a; 100 | // "string" == typeof _sd_trace ? _sd_trace += t : _sd_trace = t 101 | } 102 | }, 103 | pi: function (a) { 104 | return parseInt(a) 105 | }, 106 | uar: function () { 107 | return window.navigator.userAgent.replace(/\\|"/g, "") 108 | }, 109 | gd: function () { 110 | var a = bmak.uar(), 111 | t = "" + bmak.ab(a), 112 | e = bmak.start_ts / 2, 113 | n = window.screen ? window.screen.availWidth : -1, 114 | o = window.screen ? window.screen.availHeight : -1, 115 | m = window.screen ? window.screen.width : -1, 116 | r = window.screen ? window.screen.height : -1, 117 | i = window.innerWidth || document.body.clientWidth, 118 | c = window.innerHeight || document.body.clientHeight, 119 | b = window.outerWidth || document.body.outerWidth; 120 | bmak.z1 = bmak.pi(bmak.start_ts / (bmak.y1 * bmak.y1)); 121 | var d = Math.random(), 122 | k = bmak.pi(1e3 * d / 2), 123 | s = d + ""; 124 | return s = s.slice(0, 11) + k, bmak.get_browser(), bmak.bc(), bmak.bmisc(), a + ",uaend," + bmak.xagg + "," + bmak.psub + "," + bmak.lang + "," + bmak.prod + "," + bmak.plen + "," + bmak.pen + "," + bmak.wen + "," + bmak.den + "," + bmak.z1 + "," + bmak.d3 + "," + n + "," + o + "," + m + "," + r + "," + i + "," + c + "," + b + "," + bmak.bd() + "," + t + "," + s + "," + e + ",loc:" + bmak.loc 125 | }, 126 | get_browser: function () { 127 | navigator.productSub && (bmak.psub = navigator.productSub), navigator.language && (bmak.lang = navigator.language), navigator.product && (bmak.prod = navigator.product), bmak.plen = void 0 !== navigator.plugins ? navigator.plugins.length : -1 128 | }, 129 | bc: function () { 130 | var a = window.addEventListener ? 1 : 0, 131 | t = window.XMLHttpRequest ? 1 : 0, 132 | e = window.XDomainRequest ? 1 : 0, 133 | n = window.emit ? 1 : 0, 134 | o = window.DeviceOrientationEvent ? 1 : 0, 135 | m = window.DeviceMotionEvent ? 1 : 0, 136 | r = window.TouchEvent ? 1 : 0, 137 | i = window.spawn ? 1 : 0, 138 | c = window.innerWidth ? 1 : 0, 139 | b = window.outerWidth ? 1 : 0, 140 | d = window.chrome ? 1 : 0, 141 | k = Function.prototype.bind ? 1 : 0, 142 | s = window.Buffer ? 1 : 0, 143 | l = window.PointerEvent ? 1 : 0; 144 | bmak.xagg = a + (t << 1) + (e << 2) + (n << 3) + (o << 4) + (m << 5) + (r << 6) + (i << 7) + (c << 8) + (b << 9) + (d << 10) + (k << 11) + (s << 12) + (l << 13) 145 | }, 146 | bmisc: function () { 147 | bmak.pen = window._phantom ? 1 : 0, bmak.wen = window.webdriver ? 1 : 0, bmak.den = window.domAutomation ? 1 : 0 148 | }, 149 | bd: function () { 150 | var a = [], 151 | t = window.callPhantom ? 1 : 0; 152 | a.push(",cpen:" + t); 153 | try { 154 | var e = new Function("return/\*@cc_on!@\*/!1")() ? 1 : 0 155 | } catch (a) { 156 | var e = 0 157 | } 158 | a.push("i1:" + e); 159 | var n = "number" == typeof document.documentMode ? 1 : 0; 160 | a.push("dm:" + n); 161 | var o = window.chrome && window.chrome.webstore ? 1 : 0; 162 | a.push("cwen:" + o); 163 | var m = navigator.onLine ? 1 : 0; 164 | a.push("non:" + m); 165 | var r = window.opera ? 1 : 0; 166 | a.push("opc:" + r); 167 | var i = "undefined" != typeof InstallTrigger ? 1 : 0; 168 | a.push("fc:" + i); 169 | var c = window.HTMLElement && Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor") > 0 ? 1 : 0; 170 | a.push("sc:" + c); 171 | var b = "function" == typeof window.RTCPeerConnection || "function" == typeof window.mozRTCPeerConnection || "function" == typeof window.webkitRTCPeerConnection ? 1 : 0; 172 | a.push("wrc:" + b); 173 | var d = "mozInnerScreenY" in window ? window.mozInnerScreenY : 0; 174 | a.push("isc:" + d), bmak.d2 = bmak.pi(bmak.z1 / 23); 175 | var k = "function" == typeof navigator.vibrate ? 1 : 0; 176 | a.push("vib:" + k); 177 | var s = "function" == typeof navigator.getBattery ? 1 : 0; 178 | a.push("bat:" + s); 179 | var l = Array.prototype.forEach ? 0 : 1; 180 | a.push("x11:" + l); 181 | var u = "FileReader" in window ? 1 : 0; 182 | return a.push("x12:" + u), a.join(",") 183 | }, 184 | fas: function () { 185 | try { 186 | return Boolean(navigator.credentials) + (Boolean(navigator.appMinorVersion) << 1) + (Boolean(navigator.bluetooth) << 2) + (Boolean(navigator.storage) << 3) + (Boolean(Math.imul) << 4) + (Boolean(navigator.getGamepads) << 5) + (Boolean(navigator.getStorageUpdates) << 6) + (Boolean(navigator.hardwareConcurrency) << 7) + (Boolean(navigator.mediaDevices) << 8) + (Boolean(navigator.mozAlarms) << 9) + (Boolean(navigator.mozConnection) << 10) + (Boolean(navigator.mozIsLocallyAvailable) << 11) + (Boolean(navigator.mozPhoneNumberService) << 12) + (Boolean(navigator.msManipulationViewsEnabled) << 13) + (Boolean(navigator.permissions) << 14) + (Boolean(navigator.registerProtocolHandler) << 15) + (Boolean(navigator.requestMediaKeySystemAccess) << 16) + (Boolean(navigator.requestWakeLock) << 17) + (Boolean(navigator.sendBeacon) << 18) + (Boolean(navigator.serviceWorker) << 19) + (Boolean(navigator.storeWebWideTrackingException) << 20) + (Boolean(navigator.webkitGetGamepads) << 21) + (Boolean(navigator.webkitTemporaryStorage) << 22) + (Boolean(Number.parseInt) << 23) + (Boolean(Math.hypot) << 24) 187 | } catch (a) { 188 | return 0 189 | } 190 | }, 191 | getmr: function () { 192 | try { 193 | if ("undefined" == typeof performance || void 0 === performance.now || "undefined" == typeof JSON) return void(bmak.mr = "undef"); 194 | for (var a = "", t = 1e3, e = [Math.abs, Math.acos, Math.asin, Math.atanh, Math.cbrt, Math.exp, Math.random, Math.round, Math.sqrt, isFinite, isNaN, parseFloat, parseInt, JSON.parse], n = 0; n < e.length; n++) { 195 | var o = [], 196 | m = 0, 197 | r = performance.now(), 198 | i = 0, 199 | c = 0; 200 | if (void 0 !== e[n]) { 201 | for (i = 0; i < t && m < .6; i++) { 202 | for (var b = performance.now(), d = 0; d < 4e3; d++) e[n](3.14); 203 | var k = performance.now(); 204 | o.push(Math.round(1e3 * (k - b))), m = k - r 205 | } 206 | var s = o.sort(); 207 | c = s[Math.floor(s.length / 2)] / 5 208 | } 209 | a = a + c + "," 210 | } 211 | bmak.mr = a 212 | } catch (a) { 213 | bmak.mr = "exception" 214 | } 215 | }, 216 | sed: function () { 217 | var a; 218 | a = window["\$cdc_asdjflasutopfhvcZLmcfl_"] || document["\$cdc_asdjflasutopfhvcZLmcfl_"] ? "1" : "0"; 219 | var t; 220 | t = null != window.document.documentElement.getAttribute("webdriver") ? "1" : "0"; 221 | var e; 222 | e = void 0 !== navigator.webdriver && navigator.webdriver ? "1" : "0"; 223 | var n; 224 | n = void 0 !== window.webdriver ? "1" : "0"; 225 | var o; 226 | o = void 0 !== window.XPathResult || void 0 !== document.XPathResult ? "1" : "0"; 227 | var m; 228 | m = null != window.document.documentElement.getAttribute("driver") ? "1" : "0"; 229 | var r; 230 | return r = null != window.document.documentElement.getAttribute("selenium") ? "1" : "0", [a, t, e, n, o, m, r].join(",") 231 | }, 232 | cma: function (a, t) { 233 | try { 234 | if (1 == t && bmak.mme_cnt < bmak.mme_cnt_lmt || 1 != t && bmak.mduce_cnt < bmak.mduce_cnt_lmt) { 235 | var e = a || window.event, 236 | n = -1, 237 | o = -1; 238 | e && e.pageX && e.pageY ? (n = Math.floor(e.pageX), o = Math.floor(e.pageY)) : e && e.clientX && e.clientY && (n = Math.floor(e.clientX), o = Math.floor(e.clientY)); 239 | var m = e.toElement; 240 | null == m && (m = e.target); 241 | var r = bmak.gf(m), 242 | i = bmak.get_cf_date() - bmak.start_ts, 243 | c = bmak.me_cnt + "," + t + "," + i + "," + n + "," + o; 244 | if (1 != t) { 245 | c = c + "," + r; 246 | var b = void 0 !== e.which ? e.which : e.button; 247 | null != b && 1 != b && (c = c + "," + b) 248 | } 249 | void 0 !== e.isTrusted && !1 === e.isTrusted && (c += ",it0"), c += ";", bmak.me_vel = bmak.me_vel + bmak.me_cnt + t + i + n + o, bmak.mact = bmak.mact + c, bmak.ta += i 250 | } 251 | 1 == t ? bmak.mme_cnt++ : bmak.mduce_cnt++, bmak.me_cnt++, bmak.js_post && 3 == t && (bmak.aj_type = 1, bmak.bpd(), bmak.pd(!0), bmak.ce_js_post = 1) 252 | } catch (a) {} 253 | }, 254 | x2: function () { 255 | var a = bmak.ff, 256 | t = a(98) + a(109) + a(97) + a(107) + a(46) + a(103) + a(101) + a(116); 257 | return t = t + a(95) + a(99) + a(102) + a(95), t = "return " + t + a(100) + a(97) + a(116) + a(101) + a(40) + a(41), t += ";", new Function(t)() 258 | }, 259 | np: function () { 260 | var a = [], 261 | t = ["geolocation", "notifications", "push", "midi", "camera", "microphone", "speaker", "device-info", "background-sync", "bluetooth", "persistent-storage", "ambient-light-sensor", "accelerometer", "gyroscope", "magnetometer", "clipboard", "accessibility-events", "clipboard-read", "clipboard-write", "payment-handler"]; 262 | try { 263 | if (!navigator.permissions) return 6; 264 | var e = function (t, e) { 265 | return navigator.permissions.query({ 266 | name: t 267 | }).then(function (t) { 268 | switch (t.state) { 269 | case "prompt": 270 | a[e] = 1; 271 | break; 272 | case "granted": 273 | a[e] = 2; 274 | break; 275 | case "denied": 276 | a[e] = 0; 277 | break; 278 | default: 279 | a[e] = 5 280 | } 281 | }).catch(function (t) { 282 | a[e] = -1 !== t.message.indexOf("is not a valid enum value of type PermissionName") ? 4 : 3 283 | }) 284 | }, 285 | n = t.map(function (a, t) { 286 | return e(a, t) 287 | }); 288 | Promise.all(n).then(function () { 289 | bmak.nav_perm = a.join("") 290 | }) 291 | } catch (a) { 292 | return 7 293 | } 294 | }, 295 | cpa: function (a, t) { 296 | try { 297 | var e = !1; 298 | if (1 == t && bmak.pme_cnt < bmak.pme_cnt_lmt || 1 != t && bmak.pduce_cnt < bmak.pduce_cnt_lmt) { 299 | var n = a || window.event; 300 | if (n && "mouse" != n.pointerType) { 301 | e = !0; 302 | var o = -1, 303 | m = -1; 304 | n && n.pageX && n.pageY ? (o = Math.floor(n.pageX), m = Math.floor(n.pageY)) : n && n.clientX && n.clientY && (o = Math.floor(n.clientX), m = Math.floor(n.clientY)); 305 | var r = bmak.get_cf_date() - bmak.start_ts, 306 | i = bmak.pe_cnt + "," + t + "," + r + "," + o + "," + m; 307 | void 0 !== n.isTrusted && !1 === n.isTrusted && (i += ",0"), bmak.pe_vel = bmak.pe_vel + bmak.pe_cnt + t + r + o + m, bmak.pact = bmak.pact + i + ";", bmak.ta += r, 1 == t ? bmak.pme_cnt++ : bmak.pduce_cnt++ 308 | } 309 | } 310 | 1 == t ? bmak.pme_cnt++ : bmak.pduce_cnt++, bmak.pe_cnt++, bmak.js_post && 3 == t && e && (bmak.aj_type = 2, bmak.bpd(), bmak.pd(!0), bmak.ce_js_post = 1) 311 | } catch (a) {} 312 | }, 313 | ab: function (a) { 314 | if (null == a) return -1; 315 | try { 316 | for (var t = 0, e = 0; e < a.length; e++) { 317 | var n = a.charCodeAt(e); 318 | n < 128 && (t += n) 319 | } 320 | return t 321 | } catch (a) { 322 | return -2 323 | } 324 | }, 325 | ff: function (a) { 326 | return String.fromCharCode(a) 327 | }, 328 | to: function () { 329 | var a = bmak.x2() % 1e7; 330 | bmak.d3 = a; 331 | for (var t = a, e = 0; e < 5; e++) { 332 | var n = parseInt(a / Math.pow(10, e)) % 10, 333 | o = n + 1, 334 | m = "return a" + bmak.cc(n) + o + ";"; 335 | t = new Function("a", m)(t) 336 | } 337 | bmak.o9 = t 338 | }, 339 | gf: function (a) { 340 | var t; 341 | if (t = null == a ? document.activeElement : a, null == document.activeElement) return -1; 342 | var e = t.getAttribute("name"); 343 | if (null == e) { 344 | var n = t.getAttribute("id"); 345 | return null == n ? -1 : bmak.ab(n) 346 | } 347 | return bmak.ab(e) 348 | }, 349 | cc: function (a) { 350 | var t = a % 4; 351 | 2 == t && (t = 3); 352 | var e = 42 + t; 353 | return String.fromCharCode(e) 354 | }, 355 | isIgn: function (a) { 356 | var t = document.activeElement; 357 | if (null == document.activeElement) return 0; 358 | var e = t.getAttribute("type"); 359 | return 1 == (null == e ? -1 : bmak.get_type(e)) && bmak.fidcnt > 12 && -2 == a ? 1 : 0 360 | }, 361 | cka: function (a, t) { 362 | try { 363 | var e = a || window.event, 364 | n = -1, 365 | o = 1; 366 | if (bmak.ke_cnt < bmak.ke_cnt_lmt && e) { 367 | n = e.keyCode; 368 | var m = e.charCode, 369 | r = e.shiftKey ? 1 : 0, 370 | i = e.ctrlKey ? 1 : 0, 371 | c = e.metaKey ? 1 : 0, 372 | b = e.altKey ? 1 : 0, 373 | d = 8 * r + 4 * i + 2 * c + b, 374 | k = bmak.get_cf_date() - bmak.start_ts, 375 | s = bmak.gf(null), 376 | l = 0; 377 | m && n && (n = 0 != m && 0 != n && m != n ? -1 : 0 != n ? n : m), 0 == i && 0 == c && 0 == b && n >= 32 && (n = 3 == t && n >= 32 && n <= 126 ? -2 : n >= 33 && n <= 47 ? -3 : n >= 112 && n <= 123 ? -4 : -2), s != bmak.prevfid ? (bmak.fidcnt = 0, bmak.prevfid = s) : bmak.fidcnt = bmak.fidcnt + 1; 378 | if (0 == bmak.isIgn(n)) { 379 | var u = bmak.ke_cnt + "," + t + "," + k + "," + n + "," + l + "," + d + "," + s; 380 | void 0 !== e.isTrusted && !1 === e.isTrusted && (u += ",0"), u += ";", bmak.kact = bmak.kact + u, bmak.ke_vel = bmak.ke_vel + bmak.ke_cnt + t + k + n + d + s, bmak.ta += k 381 | } else o = 0 382 | } 383 | o && e && bmak.ke_cnt++, !bmak.js_post || 1 != t || 13 != n && 9 != n || (bmak.aj_type = 3, bmak.bpd(), bmak.pd(!0), bmak.ce_js_post = 1) 384 | } catch (a) {} 385 | }, 386 | cta: function (a, t) { 387 | try { 388 | if (1 == t && bmak.tme_cnt < bmak.tme_cnt_lmt || 1 != t && bmak.tduce_cnt < bmak.tduce_cnt_lmt) { 389 | var e = a || window.event, 390 | n = -1, 391 | o = -1; 392 | e && e.pageX && e.pageY ? (n = Math.floor(e.pageX), o = Math.floor(e.pageY)) : e && e.clientX && e.clientY && (n = Math.floor(e.clientX), o = Math.floor(e.clientY)); 393 | var m = bmak.get_cf_date() - bmak.start_ts, 394 | r = bmak.te_cnt + "," + t + "," + m + "," + n + "," + o; 395 | void 0 !== e.isTrusted && !1 === e.isTrusted && (r += ",0"), bmak.tact = bmak.tact + r + ";", bmak.ta += m, bmak.te_vel = bmak.te_vel + bmak.te_cnt + t + m + n + o, bmak.doa_throttle = 0, bmak.dma_throttle = 0 396 | } 397 | 1 == t ? bmak.tme_cnt++ : bmak.tduce_cnt++, bmak.te_cnt++, bmak.js_post && 2 == t && bmak.aj_indx_tact < bmak.aj_lmt_tact && (bmak.aj_type = 5, bmak.bpd(), bmak.pd(!0), bmak.ce_js_post = 1, bmak.aj_indx_tact++) 398 | } catch (a) {} 399 | }, 400 | getFloatVal: function (a) { 401 | try { 402 | if (-1 != bmak.chknull(a) && !isNaN(a)) { 403 | var t = parseFloat(a); 404 | if (!isNaN(t)) return t.toFixed(2) 405 | } 406 | } catch (a) {} 407 | return -1 408 | }, 409 | cdoa: function (a) { 410 | try { 411 | if (bmak.doe_cnt < bmak.doe_cnt_lmt && bmak.doa_throttle < 2 && a) { 412 | var t = bmak.get_cf_date() - bmak.start_ts, 413 | e = bmak.getFloatVal(a.alpha), 414 | n = bmak.getFloatVal(a.beta), 415 | o = bmak.getFloatVal(a.gamma), 416 | m = bmak.doe_cnt + "," + t + "," + e + "," + n + "," + o; 417 | void 0 !== a.isTrusted && !1 === a.isTrusted && (m += ",0"), bmak.doact = bmak.doact + m + ";", bmak.ta += t, bmak.doe_vel = bmak.doe_vel + bmak.doe_cnt + t, bmak.doe_cnt++ 418 | } 419 | bmak.js_post && bmak.doe_cnt > 1 && bmak.aj_indx_doact < bmak.aj_lmt_doact && (bmak.aj_type = 6, bmak.bpd(), bmak.pd(!0), bmak.ce_js_post = 1, bmak.aj_indx_doact++), bmak.doa_throttle++ 420 | } catch (a) {} 421 | }, 422 | cdma: function (a) { 423 | try { 424 | if (bmak.dme_cnt < bmak.dme_cnt_lmt && bmak.dma_throttle < 2 && a) { 425 | var t = bmak.get_cf_date() - bmak.start_ts, 426 | e = -1, 427 | n = -1, 428 | o = -1; 429 | a.acceleration && (e = bmak.getFloatVal(a.acceleration.x), n = bmak.getFloatVal(a.acceleration.y), o = bmak.getFloatVal(a.acceleration.z)); 430 | var m = -1, 431 | r = -1, 432 | i = -1; 433 | a.accelerationIncludingGravity && (m = bmak.getFloatVal(a.accelerationIncludingGravity.x), r = bmak.getFloatVal(a.accelerationIncludingGravity.y), i = bmak.getFloatVal(a.accelerationIncludingGravity.z)); 434 | var c = -1, 435 | b = -1, 436 | d = 1; 437 | a.rotationRate && (c = bmak.getFloatVal(a.rotationRate.alpha), b = bmak.getFloatVal(a.rotationRate.beta), d = bmak.getFloatVal(a.rotationRate.gamma)); 438 | var k = bmak.dme_cnt + "," + t + "," + e + "," + n + "," + o + "," + m + "," + r + "," + i + "," + c + "," + b + "," + d; 439 | void 0 !== a.isTrusted && !1 === a.isTrusted && (k += ",0"), bmak.dmact = bmak.dmact + k + ";", bmak.ta += t, bmak.dme_vel = bmak.dme_vel + bmak.dme_cnt + t, bmak.dme_cnt++ 440 | } 441 | bmak.js_post && bmak.dme_cnt > 1 && bmak.aj_indx_dmact < bmak.aj_lmt_dmact && (bmak.aj_type = 7, bmak.bpd(), bmak.pd(!0), bmak.ce_js_post = 1, bmak.aj_indx_dmact++), bmak.dma_throttle++ 442 | } catch (a) {} 443 | }, 444 | get_type: function (a) { 445 | return a = a.toLowerCase(), "text" == a || "search" == a || "url" == a || "email" == a || "tel" == a || "number" == a ? 0 : "password" == a ? 1 : 2 446 | }, 447 | chknull: function (a) { 448 | return null == a ? -1 : a 449 | }, 450 | getforminfo: function () { 451 | for (var a = "", t = "", e = document.getElementsByTagName("input"), n = -1, o = 0; o < e.length; o++) { 452 | var m = e[o], 453 | r = bmak.ab(m.getAttribute("name")), 454 | i = bmak.ab(m.getAttribute("id")), 455 | c = m.getAttribute("required"), 456 | b = null == c ? 0 : 1, 457 | d = m.getAttribute("type"), 458 | k = null == d ? -1 : bmak.get_type(d), 459 | s = m.getAttribute("autocomplete"); 460 | null == s ? n = -1 : (s = s.toLowerCase(), n = ( s == "off" ? 0 : "on" == s ? 1 : 2) ); 461 | var l = m.defaultValue, 462 | u = m.value, 463 | _ = 0, 464 | f = 0; 465 | l && 0 != l.length && (f = 1), !u || 0 == u.length || f && u == l || (_ = 1), 2 != k && (a = a + k + "," + n + "," + _ + "," + b + "," + i + "," + r + "," + f + ";"), t = t + _ + ";" 466 | } 467 | return null == bmak.ins && (bmak.ins = t), bmak.cns = t, a 468 | }, 469 | startdoadma: function () { 470 | 0 == bmak.doadma_en && window.addEventListener && (window.addEventListener("deviceorientation", bmak.cdoa, !0), window.addEventListener("devicemotion", bmak.cdma, !0), bmak.doadma_en = 1), bmak.doa_throttle = 0, bmak.dma_throttle = 0 471 | }, 472 | updatet: function () { 473 | return bmak.get_cf_date() - bmak.start_ts 474 | }, 475 | htm: function (a) { 476 | bmak.cta(a, 1) 477 | }, 478 | hts: function (a) { 479 | bmak.cta(a, 2) 480 | }, 481 | hte: function (a) { 482 | bmak.cta(a, 3) 483 | }, 484 | htc: function (a) { 485 | bmak.cta(a, 4) 486 | }, 487 | hmm: function (a) { 488 | bmak.cma(a, 1) 489 | }, 490 | hc: function (a) { 491 | bmak.cma(a, 2) 492 | }, 493 | hmd: function (a) { 494 | bmak.cma(a, 3) 495 | }, 496 | hmu: function (a) { 497 | bmak.cma(a, 4) 498 | }, 499 | hpd: function (a) { 500 | bmak.cpa(a, 3) 501 | }, 502 | hpu: function (a) { 503 | bmak.cpa(a, 4) 504 | }, 505 | hkd: function (a) { 506 | bmak.cka(a, 1) 507 | }, 508 | hku: function (a) { 509 | bmak.cka(a, 2) 510 | }, 511 | hkp: function (a) { 512 | bmak.cka(a, 3) 513 | }, 514 | form_submit: function () { 515 | try { 516 | if (bmak.bpd(), 0 == bmak.sdfn.length) { 517 | if (document.getElementById("bm-telemetry") && (document.getElementById("bm-telemetry").value = bmak.sensor_data), void 0 !== document.getElementsByName("bm-telemetry")) 518 | for (var a = document.getElementsByName("bm-telemetry"), t = 0; t < a.length; t++) a[t].value = bmak.sensor_data 519 | } else 520 | for (var t = 0; t < bmak.sdfn.length; t++) document.getElementById(bmak.sdfn[t]) && (document.getElementById(bmak.sdfn[t]).value = bmak.sensor_data) 521 | } catch (a) { 522 | bmak.sd_debug(",s7:" + a + "," + bmak.sensor_data) 523 | } 524 | }, 525 | get_telemetry: function () { 526 | return bmak.bpd(), bmak.sensor_data 527 | }, 528 | getdurl: function () { 529 | return bmak.enReadDocUrl ? document.URL.replace(/\\|"/g, "") : "" 530 | }, 531 | x1: function () { 532 | return Math.floor(16777216 * (1 + Math.random())).toString(36) 533 | }, 534 | gck: function () { 535 | var a = bmak.x1() + bmak.x1() + bmak.x1() + bmak.x1(); 536 | return bmak.set_cookie(bmak.ckie, a + "_" + bmak.ab(a)), a 537 | }, 538 | set_cookie: function (a, t) { 539 | void 0 !== document.cookie && (document.cookie = a + "=" + t + "; path=/; expires=Fri, 01 Feb 2025 08:00:00 GMT;") 540 | }, 541 | get_cookie: function () { 542 | var a = "0"; 543 | try { 544 | var a = bmak.cookie_chk_read(bmak.ckie); 545 | a || (bmak.n_ck = 1, a = bmak.bm ? "2" : "1") 546 | } catch (a) {} 547 | return a 548 | }, 549 | cookie_chk_read: function (a) { 550 | if (document.cookie) 551 | for (var t = a + "=", e = document.cookie.split("; "), n = 0; n < e.length; n++) { 552 | var o = e[n]; 553 | if (0 === o.indexOf(t)) { 554 | var m = o.substring(t.length, o.length); 555 | if (-1 != m.indexOf("~") || -1 != decodeURIComponent(m).indexOf("~")) return m 556 | } 557 | } 558 | //default 559 | return '071F4459EDD5674624062926B1318F1C~-1~YAAQNgbYF8YCi3VxAQAA6K5FgwOwQCMJFUQZXWWwgiB76VOu+AAxHPwmzr6UudenJpzr0mLotmdhVnaKYUlNvs+KzxR0PY3aCDXMq6b1uHFzh1NtoxaVO/S2y56AMSc/TUeMkK9eupmwCAKe777aslXBcQmFzhCpvnObTYj9y0Mmeq0tlGJmlkb9fRs5IQBZTCNm5xwNIr+m2pc2gcbaGjSfX4qhEfAK2b1QjfSieW5Kf5LavNv3ZFSE/+x0J5X0MZ+GqobWmmYYTiVPHsGYdNYcFmjBdxg9+HoVceqRnUImH+NmQv5Z/Pd+jF+fEZ2n0hbnrjzAXAD4ROAR7Na/w4q5EWTBeoPVDbc=~-1~||1-rJCeXCPFwL-2500-100-3000-2||~-1'; 560 | }, 561 | bpd: function () { 562 | bmak.sd_debug(""); 563 | var a = 0; 564 | try { 565 | a = bmak.get_cf_date(); 566 | var t = bmak.updatet(), 567 | e = "3"; 568 | bmak.ckie && (e = bmak.get_cookie()); 569 | var n = bmak.gd(), 570 | o = window.DeviceOrientationEvent ? "do_en" : "do_dis", 571 | m = window.DeviceMotionEvent ? "dm_en" : "dm_dis", 572 | r = window.TouchEvent ? "t_en" : "t_dis", 573 | i = o + "," + m + "," + r, 574 | c = bmak.getforminfo(), 575 | b = bmak.getdurl(), 576 | d = bmak.aj_type + "," + bmak.aj_indx; 577 | !bmak.fpcf.fpValCalculated && (0 == bmak.js_post || bmak.aj_indx > 0) && bmak.fpcf.fpVal(); 578 | var k = bmak.ke_vel + bmak.me_vel + bmak.doe_vel + bmak.dme_vel + bmak.te_vel + bmak.pe_vel, 579 | s = bmak.get_cf_date() - bmak.start_ts, 580 | l = bmak.pi(bmak.d2 / 6), 581 | u = bmak.fas(), 582 | /* Cookies -1,2,-94,-115, */ 583 | _ = [bmak.ke_vel + 1, bmak.me_vel + 32, bmak.te_vel + 32, bmak.doe_vel, bmak.dme_vel, bmak.pe_vel, k, t, bmak.init_time, bmak.start_ts, 584 | bmak.fpcf.td, bmak.d2, bmak.ke_cnt, bmak.me_cnt, l, bmak.pe_cnt, bmak.te_cnt, s, bmak.ta, bmak.n_ck, e, 585 | bmak.ab(e), bmak.fpcf.rVal, bmak.fpcf.rCFP, u], 586 | f = _.join(","), 587 | p = "" + bmak.ab(bmak.fpcf.fpValstr); 588 | bmak.np(); 589 | var v = bmak.sed(), 590 | h = bmak.mn_get_current_challenges(), 591 | g = "", 592 | w = "", 593 | y = ""; 594 | if (void 0 !== h[1]) { 595 | var C = h[1]; 596 | void 0 !== bmak.mn_r[C] && (g = bmak.mn_r[C]) 597 | } 598 | if (void 0 !== h[2]) { 599 | var E = h[2]; 600 | void 0 !== bmak.mn_r[E] && (w = bmak.mn_r[E]) 601 | } 602 | if (void 0 !== h[3]) { 603 | var S = h[3]; 604 | void 0 !== bmak.mn_r[S] && (y = bmak.mn_r[S]) 605 | } 606 | bmak.sensor_data = bmak.ver + "-1,2,-94,-100," + n + "-1,2,-94,-101," + i + "-1,2,-94,-105," + bmak.informinfo + "-1,2,-94,-102," + c + "-1,2,-94,-108," + bmak.kact + "-1,2,-94,-110," + bmak.mact + "-1,2,-94,-117," + bmak.tact + "-1,2,-94,-111," + bmak.doact + "-1,2,-94,-109," + bmak.dmact + "-1,2,-94,-114," + bmak.pact + "-1,2,-94,-103," + bmak.vcact + "-1,2,-94,-112," + b + "-1,2,-94,-115," + f + "-1,2,-94,-106," + d, 607 | bmak.sensor_data = bmak.sensor_data + "-1,2,-94,-119," + bmak.mr + "-1,2,-94,-122," + v + "-1,2,-94,-123," + g + "-1,2,-94,-124," + w + "-1,2,-94,-126," + y + "-1,2,-94,-127," + bmak.nav_perm; 608 | var j = 24 ^ bmak.ab(bmak.sensor_data); 609 | //console.log('j = ' + j + ' bmak.ab(' + bmak.sensor_data + ') = ' + bmak.ab(bmak.sensor_data)); 610 | bmak.sensor_data = bmak.sensor_data + "-1,2,-94,-70," + bmak.fpcf.fpValstr + "-1,2,-94,-80," + p + "-1,2,-94,-116," + bmak.o9 + "-1,2,-94,-118," + j + "-1,2,-94,-121,", bmak.sd_debug(",s1:" + bmak.sensor_data.slice(0, 10)) 611 | } catch (a) { 612 | try { 613 | bmak.sd_debug(",s2:" + a), bmak.sensor_data = bmak.ver + "-1,2,-94,-100," + bmak.uar() + "-1,2,-94,-120," + a.replace(/\"/g, "\\'") 614 | } catch (a) { 615 | bmak.sd_debug(",s3:" + a) 616 | } 617 | } 618 | try { 619 | var M = bmak.od(bmak.cs, bmak.api_public_key).slice(0, 16), 620 | x = Math.floor(bmak.get_cf_date() / 36e5), 621 | A = bmak.get_cf_date(), 622 | L = M + bmak.od(x, M) + bmak.sensor_data; 623 | bmak.sensor_data = L + ";" + (bmak.get_cf_date() - a) + ";" + bmak.tst + ";" + (bmak.get_cf_date() - A) 624 | console.log('sensor data ' + bmak.sensor_data); 625 | } catch (a) {} 626 | bmak.sd_debug("") 627 | }, 628 | od: function (a, t) { 629 | try { 630 | a = String(a), t = String(t); 631 | var e = [], 632 | n = t.length; 633 | if (n > 0) { 634 | for (var o = 0; o < a.length; o++) { 635 | var m = a.charCodeAt(o), 636 | r = a.charAt(o), 637 | i = t.charCodeAt(o % n); 638 | m = bmak.rir(m, 47, 57, i), m != a.charCodeAt(o) && (r = String.fromCharCode(m)), e.push(r) 639 | } 640 | if (e.length > 0) return e.join("") 641 | } 642 | } catch (a) {} 643 | return a 644 | }, 645 | rir: function (a, t, e, n) { 646 | return a > t && a <= e && (a += n % (e - t)) > e && (a = a - e + t), a 647 | }, 648 | lvc: function (a) { 649 | try { 650 | if (bmak.vc_cnt < bmak.vc_cnt_lmt) { 651 | var t = bmak.get_cf_date() - bmak.start_ts, 652 | e = a + "," + t + ";"; 653 | bmak.vcact = bmak.vcact + e 654 | } 655 | bmak.vc_cnt++ 656 | } catch (a) {} 657 | }, 658 | hvc: function () { 659 | try { 660 | var a = 1; 661 | document[bmak.hn] && (a = 0), bmak.lvc(a) 662 | } catch (a) {} 663 | }, 664 | hb: function (a) { 665 | bmak.lvc(2) 666 | }, 667 | hf: function (a) { 668 | bmak.lvc(3) 669 | }, 670 | rve: function () { 671 | void 0 !== document.hidden ? (bmak.hn = "hidden", bmak.vc = "visibilitychange") : void 0 !== document.mozHidden ? (bmak.hn = "mozHidden", bmak.vc = "mozvisibilitychange") : void 0 !== document.msHidden ? (bmak.hn = "msHidden", bmak.vc = "msvisibilitychange") : void 0 !== document.webkitHidden && (bmak.hn = "webkitHidden", bmak.vc = "webkitvisibilitychange"), document.addEventListener ? "unk" != bmak.hn && document.addEventListener(bmak.vc, bmak.hvc, !0) : document.attachEvent && "unk" != bmak.hn && document.attachEvent(bmak.vc, bmak.hvc), window.onblur = bmak.hb, window.onfocus = bmak.hf 672 | }, 673 | startTracking: function () { 674 | bmak.startdoadma(); 675 | try { 676 | bmak.to() 677 | } catch (a) { 678 | bmak.o9 = -654321 679 | } 680 | setInterval(function () { 681 | bmak.startdoadma() 682 | }, 3e3), document.addEventListener ? (document.addEventListener("touchmove", bmak.htm, !0), document.addEventListener("touchstart", bmak.hts, !0), document.addEventListener("touchend", bmak.hte, !0), document.addEventListener("touchcancel", bmak.htc, !0), document.addEventListener("mousemove", bmak.hmm, !0), document.addEventListener("click", bmak.hc, !0), document.addEventListener("mousedown", bmak.hmd, !0), document.addEventListener("mouseup", bmak.hmu, !0), document.addEventListener("pointerdown", bmak.hpd, !0), document.addEventListener("pointerup", bmak.hpu, !0), document.addEventListener("keydown", bmak.hkd, !0), document.addEventListener("keyup", bmak.hku, !0), document.addEventListener("keypress", bmak.hkp, !0)) : document.attachEvent && (document.attachEvent("touchmove", bmak.htm), document.attachEvent("touchstart", bmak.hts), document.attachEvent("touchend", bmak.hte), document.attachEvent("touchcancel", bmak.htc), document.attachEvent("onmousemove", bmak.hmm), document.attachEvent("onclick", bmak.hc), document.attachEvent("onmousedown", bmak.hmd), document.attachEvent("onmouseup", bmak.hmu), document.attachEvent("onpointerdown", bmak.hpd), document.attachEvent("onpointerup", bmak.hpu), document.attachEvent("onkeydown", bmak.hkd), document.attachEvent("onkeyup", bmak.hku), document.attachEvent("onkeypress", bmak.hkp)), bmak.rve(), bmak.informinfo = bmak.getforminfo(), bmak.js_post && (bmak.aj_type = 0, bmak.bpd(), bmak.pd(!0)), bmak.firstLoad = !1 683 | }, 684 | gb: function (a, t) { 685 | var e = a.charCodeAt(t); 686 | return e = e > 255 ? 0 : e 687 | }, 688 | encode: function (a) { 689 | if ("undefined" != typeof btoa) return btoa(a); 690 | for (var t, e, n, o, m, r, i, c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\+/", b = "", d = 3 * Math.floor(a.length / 3), k = 0; k < d; k += 3) t = bmak.gb(a, k), e = bmak.gb(a, k + 1), n = bmak.gb(a, k + 2), o = t >> 2, m = ((3 & t) << 4) + (e >> 4), r = ((15 & e) << 2) + (n >> 6), i = 63 & n, b = b + c.charAt(o) + c.charAt(m) + c.charAt(r) + c.charAt(i); 691 | return a.length % 3 == 1 && (t = bmak.gb(a, k), o = t >> 2, m = (3 & t) << 4, b = b + c.charAt(o) + c.charAt(m) + "=="), a.length % 3 == 2 && (t = bmak.gb(a, k), e = bmak.gb(a, k + 1), o = t >> 2, m = ((3 & t) << 4) + (e >> 4), r = (15 & e) << 2, b = b + c.charAt(o) + c.charAt(m) + c.charAt(r) + "="), b 692 | }, 693 | ie9OrLower: function () { 694 | try { 695 | if ("string" == typeof navigator.appVersion && -1 != navigator.appVersion.indexOf("MSIE")) { 696 | if (parseFloat(navigator.appVersion.split("MSIE")[1]) <= 9) return !0 697 | } 698 | } catch (a) {} 699 | return !1 700 | }, 701 | parse_gp: function (a) {}, 702 | call_gp: function () { 703 | var a; 704 | void 0 !== window.XMLHttpRequest ? a = new XMLHttpRequest : void 0 !== window.XDomainRequest ? (a = new XDomainRequest, a.onload = function () { 705 | this.readyState = 4, this.onreadystatechange instanceof Function && this.onreadystatechange() 706 | }) : a = new ActiveXObject("Microsoft.XMLHTTP"), a.open("GET", bmak.params_url, !0), a.onreadystatechange = function () { 707 | a.readyState > 3 && bmak.parse_gp && bmak.parse_gp(a) 708 | }, a.send() 709 | }, 710 | apicall: function (a, t) { 711 | var e; 712 | e = window.XDomainRequest ? new XDomainRequest : window.XMLHttpRequest ? new XMLHttpRequest : new ActiveXObject("Microsoft.XMLHTTP"), e.open("POST", a, t); 713 | var n = bmak.encode(bmak.api_public_key + ":"); 714 | bmak.auth = ',"auth" : "' + n + '"', e.setRequestHeader && (e.setRequestHeader("Content-type", "application/json"), e.setRequestHeader("Authorization", "Basic " + n), bmak.auth = ""); 715 | var o = '\{"session_id" : "' + bmak.session_id + '","sensor_data" : "' + bmak.sensor_data + '"' + bmak.auth + "\}"; 716 | e.send(o) 717 | }, 718 | apicall_bm: function (a, t, e) { 719 | var n; 720 | void 0 !== window.XMLHttpRequest ? n = new XMLHttpRequest : void 0 !== window.XDomainRequest ? (n = new XDomainRequest, n.onload = function () { 721 | this.readyState = 4, this.onreadystatechange instanceof Function && this.onreadystatechange() 722 | }) : n = new ActiveXObject("Microsoft.XMLHTTP"), n.open("POST", a, t), n.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'), void 0 !== n.withCredentials && (n.withCredentials = !0); 723 | var o = 's=' + bmak.session_id + '&d=' + bmak.sensor_data; 724 | n.onreadystatechange = function () { 725 | n.readyState > 3 && e && e(n) 726 | }, n.send(o) 727 | }, 728 | pd: function (a) { 729 | bmak.check_stop_protocol() && (bmak.apicall_bm(bmak.cf_url, a, bmak.patp), bmak.aj_indx = bmak.aj_indx + 1) 730 | }, 731 | check_stop_protocol: function () { 732 | var a = bmak.get_stop_signals(), 733 | t = a[0]; 734 | !bmak.rst && t > -1 && (bmak.ir(), bmak.rst = !0); 735 | var e = a[1]; 736 | return -1 == e || bmak.aj_ss < e 737 | }, 738 | get_stop_signals: function () { 739 | var a = [-1, -1], 740 | t = bmak.cookie_chk_read(bmak.ckie); 741 | if (!1 !== t) try { 742 | var e = decodeURIComponent(t).split("~"); 743 | if (e.length >= 4) { 744 | var n = bmak.pi(e[1]), 745 | o = bmak.pi(e[3]); 746 | n = isNaN(n) ? -1 : n, o = isNaN(o) ? -1 : o, a = [o, n] 747 | } 748 | } catch (a) {} 749 | return a 750 | }, 751 | patp: function (a) { 752 | bmak.aj_ss++, bmak.rst = !1 753 | }, 754 | get_mn_params_from_abck: function () { 755 | var a = [ 756 | [] 757 | ]; 758 | try { 759 | var t = bmak.cookie_chk_read(bmak.ckie); 760 | if (!1 !== t) { 761 | var e = decodeURIComponent(t).split("~"); 762 | if (e.length >= 5) { 763 | var n = e[0], 764 | o = e[4], 765 | m = o.split("\|\|"); 766 | if (m.length > 0) 767 | for (var r = 0; r < m.length; r++) { 768 | var i = m[r], 769 | c = i.split("-"); 770 | if (c.length >= 5) { 771 | var b = bmak.pi(c[0]), 772 | d = c[1], 773 | k = bmak.pi(c[2]), 774 | s = bmak.pi(c[3]), 775 | l = bmak.pi(c[4]), 776 | u = 1; 777 | c.length >= 6 && (u = bmak.pi(c[5])); 778 | var _ = [b, n, d, k, s, l, u]; 779 | 2 == u ? a.splice(0, 0, _) : a.push(_) 780 | } 781 | } 782 | } 783 | } 784 | } catch (a) {} 785 | return a 786 | }, 787 | mn_get_current_challenges: function () { 788 | var a = bmak.get_mn_params_from_abck(), 789 | t = []; 790 | if (null != a) 791 | for (var e = 0; e < a.length; e++) { 792 | var n = a[e]; 793 | if (n.length > 0) { 794 | var o = n[1] + n[2], 795 | m = n[6]; 796 | t[m] = o 797 | } 798 | } 799 | return t 800 | }, 801 | mn_update_challenge_details: function (a) { 802 | bmak.mn_sen = a[0], bmak.mn_abck = a[1], bmak.mn_psn = a[2], bmak.mn_cd = a[3], bmak.mn_tout = a[4], bmak.mn_stout = a[5], bmak.mn_ct = a[6], bmak.mn_ts = bmak.start_ts, bmak.mn_cc = bmak.mn_abck + bmak.start_ts + bmak.mn_psn 803 | }, 804 | mn_get_new_challenge_params: function (a) { 805 | var t = null, 806 | e = null, 807 | n = null; 808 | if (null != a) 809 | for (var o = 0; o < a.length; o++) { 810 | var m = a[o]; 811 | if (m.length > 0) { 812 | for (var r = m[0], i = bmak.mn_abck + bmak.start_ts + m[2], c = m[3], b = m[6], d = 0; d < bmak.mn_lcl && (1 == r && bmak.mn_lc[d] != i && bmak.mn_ld[d] != c); d++); 813 | d == bmak.mn_lcl && (t = o, 2 == b && (e = o), 3 == b && (n = o)) 814 | } 815 | } 816 | return null != n && bmak.pstate ? a[n] : null == e || bmak.pstate ? null == t || bmak.pstate ? null : a[t] : a[e] 817 | }, 818 | mn_poll: function () { 819 | if (0 == bmak.mn_state) { 820 | var a = bmak.get_mn_params_from_abck(), 821 | t = bmak.mn_get_new_challenge_params(a); 822 | null != t && (bmak.mn_update_challenge_details(t), bmak.mn_sen && (bmak.mn_state = 1, bmak.mn_mc_indx = 0, bmak.mn_al = [], bmak.mn_il = [], bmak.mn_tcl = [], bmak.mn_lg = [], setTimeout(bmak.mn_w, bmak.mn_tout))) 823 | } 824 | }, 825 | mn_init: function () { 826 | bmak.pstate ? setInterval(bmak.mn_poll, 500) : setInterval(bmak.mn_poll, 1e3) 827 | }, 828 | rotate_left: function (a, t) { 829 | return a << t | a >>> 32 - t 830 | }, 831 | encode_utf8: function (a) { 832 | return unescape(encodeURIComponent(a)) 833 | }, 834 | mn_h: function (a) { 835 | var t = 1732584193, 836 | e = 4023233417, 837 | n = 2562383102, 838 | o = 271733878, 839 | m = 3285377520, 840 | r = bmak.encode_utf8(a), 841 | i = 8 * r.length; 842 | r += String.fromCharCode(128); 843 | for (var c = r.length / 4 + 2, b = Math.ceil(c / 16), d = new Array(b), k = 0; k < b; k++) { 844 | d[k] = new Array(16); 845 | for (var s = 0; s < 16; s++) d[k][s] = r.charCodeAt(64 * k + 4 * s) << 24 | r.charCodeAt(64 * k + 4 * s + 1) << 16 | r.charCodeAt(64 * k + 4 * s + 2) << 8 | r.charCodeAt(64 * k + 4 * s + 3) << 0 846 | } 847 | var l = i / Math.pow(2, 32); 848 | d[b - 1][14] = Math.floor(l), d[b - 1][15] = 4294967295 & i; 849 | for (var u = 0; u < b; u++) { 850 | for (var _, f, p, v = new Array(80), h = t, g = e, w = n, y = o, C = m, k = 0; k < 80; k++) v[k] = k < 16 ? d[u][k] : bmak.rotate_left(v[k - 3] ^ v[k - 8] ^ v[k - 14] ^ v[k - 16], 1), k < 20 ? (_ = g & w | ~g & y, f = 1518500249) : k < 40 ? (_ = g ^ w ^ y, f = 1859775393) : k < 60 ? (_ = g & w | g & y | w & y, f = 2400959708) : (_ = g ^ w ^ y, f = 3395469782), p = bmak.rotate_left(h, 5) + _ + C + f + v[k], C = y, y = w, w = bmak.rotate_left(g, 30), g = h, h = p; 851 | t += h, e += g, n += w, o += y, m += C 852 | } 853 | return [t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, 255 & t, e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, 255 & e, n >> 24 & 255, n >> 16 & 255, n >> 8 & 255, 255 & n, o >> 24 & 255, o >> 16 & 255, o >> 8 & 255, 255 & o, m >> 24 & 255, m >> 16 & 255, m >> 8 & 255, 255 & m] 854 | }, 855 | bdm: function (a, t) { 856 | for (var e = 0, n = 0; n < a.length; ++n) e = (e << 8 | a[n]) >>> 0, e %= t; 857 | return e 858 | }, 859 | mn_w: function () { 860 | try { 861 | for (var a = 0, t = 0, e = 0, n = "", o = bmak.get_cf_date(), m = bmak.mn_cd + bmak.mn_mc_indx; 0 == a;) { 862 | n = Math.random().toString(16); 863 | var r = bmak.mn_cc + m.toString() + n, 864 | i = bmak.mn_h(r); 865 | if (0 == bmak.bdm(i, m)) a = 1, e = bmak.get_cf_date() - o, bmak.mn_al.push(n), bmak.mn_tcl.push(e), bmak.mn_il.push(t), 0 == bmak.mn_mc_indx && (bmak.mn_lg.push(bmak.mn_abck), bmak.mn_lg.push(bmak.mn_ts), bmak.mn_lg.push(bmak.mn_psn), bmak.mn_lg.push(bmak.mn_cc), bmak.mn_lg.push(bmak.mn_cd.toString()), bmak.mn_lg.push(m.toString()), bmak.mn_lg.push(n), bmak.mn_lg.push(r), bmak.mn_lg.push(i)); 866 | else if ((t += 1) % 1e3 == 0 && (e = bmak.get_cf_date() - o) > bmak.mn_stout) return void setTimeout(bmak.mn_w, 1e3 + bmak.mn_stout) 867 | } 868 | bmak.mn_mc_indx += 1, bmak.mn_mc_indx < bmak.mn_mc_lmt ? setTimeout(bmak.mn_w, bmak.mn_tout + e) : (bmak.mn_mc_indx = 0, bmak.mn_lc[bmak.mn_lcl] = bmak.mn_cc, bmak.mn_ld[bmak.mn_lcl] = bmak.mn_cd, bmak.mn_lcl = bmak.mn_lcl + 1, bmak.mn_state = 0, bmak.mn_r[bmak.mn_abck + bmak.mn_psn] = bmak.mn_pr(), bmak.js_post && (bmak.aj_type = 8, bmak.bpd(), bmak.pd(!0))) 869 | } catch (a) { 870 | bmak.sd_debug(",mn_w:" + a) 871 | } 872 | }, 873 | mn_pr: function () { 874 | console.log('mn_r challenge: ' + bmak.mn_al.join(",") + ";" + bmak.mn_tcl.join(",") + ";" + bmak.mn_il.join(",") + ";" + bmak.mn_lg.join(",") + ";"); 875 | return bmak.mn_al.join(",") + ";" + bmak.mn_tcl.join(",") + ";" + bmak.mn_il.join(",") + ";" + bmak.mn_lg.join(",") + ";" 876 | }, 877 | calc_fp: function () { 878 | bmak.fpcf.fpVal(), bmak.js_post && (bmak.aj_type = 9, bmak.bpd(), bmak.pd(!0)) 879 | }, 880 | listFunctions: { 881 | _setJsPost: function (a) { 882 | bmak.js_post = a, bmak.js_post && (bmak.enReadDocUrl = 1) 883 | }, 884 | _setSessionId: function (a) { 885 | bmak.session_id = a 886 | }, 887 | _setJavaScriptKey: function (a) { 888 | bmak.api_public_key = a 889 | }, 890 | _setEnAddHidden: function (a) { 891 | bmak.enAddHidden = a 892 | }, 893 | _setInitTime: function (a) { 894 | bmak.init_time = a 895 | }, 896 | _setApiUrl: function (a) { 897 | bmak.cf_url = a 898 | }, 899 | _setEnGetLoc: function (a) { 900 | bmak.enGetLoc = a 901 | }, 902 | _setEnReadDocUrl: function (a) { 903 | bmak.enReadDocUrl = a 904 | }, 905 | _setDisFpCalOnTimeout: function (a) { 906 | bmak.disFpCalOnTimeout = a 907 | }, 908 | _setCookie: function (a) { 909 | bmak.ckie = a 910 | }, 911 | _setCS: function (a) { 912 | bmak.cs = (String(a) + bmak.cs).slice(0, 16) 913 | }, 914 | _setFsp: function (a) { 915 | bmak.fsp = a, bmak.fsp && (bmak.cf_url = bmak.cf_url.replace(/^http:\/\//i, "https://")) 916 | }, 917 | _setBm: function (a) { 918 | bmak.bm = a, bmak.bm ? (bmak.cf_url = (bmak.fsp ? "https:" : document.location.protocol) + "//" + document.location.hostname + "/_bm/_data", bmak.js_post = !0) : bmak.params_url = (bmak.fsp ? "https:" : document.location.protocol) + "//" + document.location.hostname + "/get_params" 919 | }, 920 | _setAu: function (a) { 921 | "string" == typeof a && (0 === a.lastIndexOf("/", 0) ? bmak.cf_url = (bmak.fsp ? "https:" : document.location.protocol) + "//" + document.location.hostname + a : bmak.cf_url = a) 922 | }, 923 | _setSDFieldNames: function () { 924 | try { 925 | var a; 926 | for (a = 0; a < arguments.length; a += 1) bmak.sdfn.push(arguments[a]) 927 | } catch (a) { 928 | bmak.sd_debug(",setSDFN:" + a) 929 | } 930 | }, 931 | _setUseAltFonts: function (a) { 932 | bmak.altFonts = a 933 | }, 934 | _setPowState: function (a) { 935 | bmak.pstate = a 936 | }, 937 | _setPow: function (a) { 938 | bmak.pstate = a 939 | } 940 | }, 941 | applyFunc: function () { 942 | var a, t, e; 943 | for (a = 0; a < arguments.length; a += 1) e = arguments[a]; 944 | t = e.shift(), bmak.listFunctions[t] && bmak.listFunctions[t].apply(bmak.listFunctions, e) 945 | } 946 | }; 947 | if (function (a) { 948 | var t = {}; 949 | a.fpcf = t, t.sf4 = function () { 950 | var a = bmak.uar(); 951 | return !(!~a.indexOf("Version/4.0") || !(~a.indexOf("iPad;") || ~a.indexOf("iPhone") || ~a.indexOf("Mac OS X 10_5"))) 952 | }, t.fpValstr = "-1", t.fpValCalculated = !1, t.rVal = "-1", t.rCFP = "-1", t.cache = {}, t.td = -999999, t.clearCache = function () { 953 | t.cache = {} 954 | }, t.fpVal = function () { 955 | t.fpValCalculated = !0; 956 | try { 957 | var a = 0; 958 | a = Date.now ? Date.now() : +new Date; 959 | var e = t.data(); 960 | t.fpValstr = e.replace(/\"/g, '\\\\"'); 961 | var n = 0; 962 | n = Date.now ? Date.now() : +new Date, t.td = n - a 963 | } catch (a) {} 964 | }, t.timezoneOffsetKey = function () { 965 | return (new Date).getTimezoneOffset() 966 | }, t.data = function () { 967 | var a = screen.colorDepth ? screen.colorDepth : -1, 968 | e = screen.pixelDepth ? screen.pixelDepth : -1, 969 | n = navigator.cookieEnabled ? navigator.cookieEnabled : -1, 970 | o = navigator.javaEnabled ? navigator.javaEnabled() : -1, 971 | m = navigator.doNotTrack ? navigator.doNotTrack : -1, 972 | r = "default"; 973 | return r = bmak.runFonts ? bmak.altFonts ? t.fonts_optm() : t.fonts() : "dis", [t.canvas("<@nv45. F1n63r,Pr1n71n6!"), t.canvas("m,Ev!xV67BaU> eh2m a) return ""; 1028 | var d = ["Geneva", "Lobster", "New York", "Century", "Apple Gothic", "Minion Pro", "Apple LiGothic", "Century Gothic", "Monaco", "Lato", "Fantasque Sans Mono", "Adobe Braille", "Cambria", "Futura", "Bell MT", "Courier", "Courier New", "Calibri", "Avenir Next", "Birch Std", "Palatino", "Ubuntu Regular", "Oswald", "Batang", "Ubuntu Medium", "Cantarell", "Droid Serif", "Roboto", "Helvetica Neue", "Corsiva Hebrew", "Adobe Hebrew", "TI-Nspire", "Comic Neue", "Noto", "AlNile", "Palatino-Bold", "ArialHebrew-Light", "Avenir", "Papyrus", "Open Sans", "Times", "Quicksand", "Source Sans Pro", "Damascus", "Microsoft Sans Serif"], 1029 | k = document.createElement("div"); 1030 | k.style.cssText = "position: relative; left: -9999px; visibility: hidden; display: block !important"; 1031 | for (var s = [], l = 0; l < d.length; l++) { 1032 | var u = document.createElement("div"); 1033 | for (c = 0; c < o.length; c++) { 1034 | var b = document.createElement("span"); 1035 | b.innerHTML = "abcdefhijklmnopqrstuvxyz1234567890;\+-.", b.style.fontSize = "90px", b.style.fontFamily = d[l] + "," + o[c], u.appendChild(b) 1036 | } 1037 | k.appendChild(u) 1038 | } 1039 | if (bmak.get_cf_date() - e > a) return ""; 1040 | document.body.appendChild(k); 1041 | for (var l = 0; l < k.childNodes.length; l++) { 1042 | var _ = !1, 1043 | u = k.childNodes[l]; 1044 | for (c = 0; c < u.childNodes.length; c++) { 1045 | var b = u.childNodes[c]; 1046 | if (b.offsetWidth !== m[c] || b.offsetHeight !== r[c]) { 1047 | _ = !0; 1048 | break 1049 | } 1050 | } 1051 | if (_ && s.push(l), bmak.get_cf_date() - e > a) break 1052 | } 1053 | document.body.removeChild(k), n = s.sort() 1054 | } 1055 | return n.join(",") 1056 | }, t.fonts = function () { 1057 | var a = []; 1058 | if (!t.sf4()) { 1059 | var e = ["serif", "sans-serif", "monospace"], 1060 | n = [0, 0, 0], 1061 | o = [0, 0, 0], 1062 | m = document.createElement("span"); 1063 | m.innerHTML = "abcdefhijklmnopqrstuvxyz1234567890;\+-.", m.style.fontSize = "90px"; 1064 | var r; 1065 | for (r = 0; r < e.length; r++) m.style.fontFamily = e[r], document.body.appendChild(m), n[r] = m.offsetWidth, o[r] = m.offsetHeight, document.body.removeChild(m); 1066 | for (var i = ["Geneva", "Lobster", "New York", "Century", "Apple Gothic", "Minion Pro", "Apple LiGothic", "Century Gothic", "Monaco", "Lato", "Fantasque Sans Mono", "Adobe Braille", "Cambria", "Futura", "Bell MT", "Courier", "Courier New", "Calibri", "Avenir Next", "Birch Std", "Palatino", "Ubuntu Regular", "Oswald", "Batang", "Ubuntu Medium", "Cantarell", "Droid Serif", "Roboto", "Helvetica Neue", "Corsiva Hebrew", "Adobe Hebrew", "TI-Nspire", "Comic Neue", "Noto", "AlNile", "Palatino-Bold", "ArialHebrew-Light", "Avenir", "Papyrus", "Open Sans", "Times", "Quicksand", "Source Sans Pro", "Damascus", "Microsoft Sans Serif"], c = [], b = 0; b < i.length; b++) { 1067 | var d = !1; 1068 | for (r = 0; r < e.length; r++) 1069 | if (m.style.fontFamily = i[b] + "," + e[r], document.body.appendChild(m), m.offsetWidth === n[r] && m.offsetHeight === o[r] || (d = !0), document.body.removeChild(m), d) { 1070 | c.push(b); 1071 | break 1072 | } 1073 | } 1074 | a = c.sort() 1075 | } 1076 | return a.join(",") 1077 | }, t.webrtcKey = function () { 1078 | return "function" == typeof window.RTCPeerConnection || "function" == typeof window.mozRTCPeerConnection || "function" == typeof window.webkitRTCPeerConnection 1079 | }, t.indexedDbKey = function () { 1080 | return !!t.hasIndexedDB() 1081 | }, t.sessionStorageKey = function () { 1082 | return !!t.hasSessionStorage() 1083 | }, t.localStorageKey = function () { 1084 | return !!t.hasLocalStorage() 1085 | }, t.hasSessionStorage = function () { 1086 | try { 1087 | return !!window.sessionStorage 1088 | } catch (a) { 1089 | return !1 1090 | } 1091 | }, t.hasLocalStorage = function () { 1092 | try { 1093 | return !!window.localStorage 1094 | } catch (a) { 1095 | return !1 1096 | } 1097 | }, t.hasIndexedDB = function () { 1098 | return !!window.indexedDB 1099 | } 1100 | }(bmak), bmak.firstLoad) { 1101 | bmak.sd_debug(""); 1102 | //bmak.aj_indx = 66; 1103 | bmak.listFunctions._setSessionId(Math.random().toString(36).substring(2) + Date.now().toString(36)); 1104 | bmak.listFunctions._setJsPost(1); 1105 | //bmak.listFunctions._setDisFpCalOnTimeout(1); 1106 | bmak.listFunctions._setInitTime(Date.now()); 1107 | bmak.listFunctions._setAu('https://agile-caverns-58354.herokuapp.com/collector/akamai/sensor_data'); 1108 | 1109 | bmak.sd_debug("" + bmak.sdfn.join() + ""), _cf = { 1110 | push: bmak.applyFunc 1111 | }; 1112 | try { 1113 | bmak.ir(), bmak.t_tst = bmak.get_cf_date(), bmak.startTracking(), bmak.tst = bmak.get_cf_date() - bmak.t_tst, bmak.disFpCalOnTimeout || setTimeout(bmak.calc_fp, 500); 1114 | for (var i = 0; i < 3; i++) setTimeout(bmak.getmr, 400 + 5e3 * i); 1115 | setTimeout(bmak.mn_init, 1e3) 1116 | } catch (a) {} 1117 | } 1118 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3.7" 2 | services: 3 | app: 4 | container_name: akamai-server-api 5 | image: akamai-gen_app:latest 6 | build: 7 | context: . 8 | dockerfile: Dockerfile 9 | args: 10 | - IMAGE_VERSION=latest 11 | restart: always 12 | environment: 13 | MONGO_URI: ${MONGO_URI} 14 | ADMIN_SECRET: ${ADMIN_SECRET} 15 | ports: 16 | - "80:3000" 17 | networks: 18 | - backend 19 | depends_on: 20 | - "mongodb" 21 | links: 22 | - mongodb 23 | command: ["npm", "run", "server"] 24 | mongodb: 25 | container_name: mongo 26 | restart: always 27 | image: mongo:latest 28 | environment: 29 | MONGO_URI: ${MONGO_URI} 30 | MONGO_INITDB_DATABASE: ${MONGO_INITDB_DATABASE} 31 | volumes: 32 | - mongodb:/data/db 33 | - mongodb_config:/data/configdb 34 | networks: 35 | - backend 36 | ports: 37 | - "27017:27017" 38 | 39 | networks: 40 | backend: 41 | 42 | volumes: 43 | mongodb: 44 | mongodb_config: -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 |

Hello World

3 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const UserAgent = require('user-agents'), 2 | fs = require('fs'), 3 | ciphers = [ 4 | "AES128-SHA", 5 | "AES256-SHA" 6 | ].join(":"); 7 | var url = require('url'), 8 | path = require('path'), 9 | cloudscraper = require('cloudscraper').defaults({ ciphers:ciphers}), 10 | lodash = require('lodash'), 11 | rp = require('request-promise'), 12 | chalk = require('chalk'), 13 | jsdom = require("jsdom"), 14 | { JSDOM } = jsdom, 15 | randomstring = require("randomstring"), 16 | uuidv4 = require('uuid/v4'), 17 | websites = require('./websites.json'), 18 | // browserData = require("./data.json"), 19 | logger = require("./libs/logger"), 20 | proxies = fs.readFileSync('./proxy.txt', 'utf-8').toString().toLowerCase().split("\r\n").filter(l => l.length !== 0), 21 | {app, session, net, BrowserWindow} = require('electron'), 22 | originalConsoleError = console.error, 23 | ghost_cursor = require("ghost-cursor").path; 24 | console.error = (e) => { 25 | if (lodash.startsWith(e, '[vuex] unknown') || lodash.startsWith(e, 'Error: Could not parse CSS stylesheet')) return; 26 | originalConsoleError(e) 27 | } 28 | 29 | let cookie_counter = 0, 30 | akamaiSession, 31 | akamaiSession2 32 | dataNum = lodash.random(0, browserData.length); 33 | // dataNum = '-1818464567' 34 | app.allowRendererProcessReuse = false; 35 | app.commandLine.appendSwitch('disable-site-isolation-trials'); 36 | 37 | app.on('ready', async () => { 38 | akamaiSession = session.fromPartition('akamai', {cache: false}); 39 | akamaiSession2 = session.fromPartition('akamai2', {cache: false}); 40 | var site = 'footlocker'; 41 | site = websites.find(w => w.name === site); 42 | var userAgent = browserData[dataNum].userAgent.replace(/\|"/g, ""); 43 | var ua_browser = userAgent.toString().replace(/\|"/g, "").indexOf("Chrome") > -1 ? "chrome" : userAgent.toString().replace(/\|"/g, "").indexOf("Safari") > -1 ? "safari" : userAgent.toString().replace(/\|"/g, "").indexOf("Firefox") > -1 ? "firefox" : "ie"; 44 | akamaiSession.setUserAgent(userAgent); 45 | akamaiSession2.setUserAgent(userAgent); 46 | let win = new BrowserWindow({ 47 | show: false, 48 | webPreferences: { 49 | session: akamaiSession, 50 | devTools: true 51 | } 52 | }); 53 | 54 | await win.show() 55 | await win.webContents.openDevTools(); 56 | 57 | 58 | // win.loadURL( 59 | // url.format({ 60 | // pathname: path.join(__dirname, "index.html"), 61 | // protocol: "file:", 62 | // slashes: true 63 | // }) 64 | // ); 65 | await intercept() 66 | setTimeout(async function(){ 67 | await win.loadURL(site.url, {userAgent: userAgent}) 68 | }, 1000) 69 | // var userAgent = new UserAgent([/Chrome/, {deviceCategory: 'desktop', platform: 'MacIntel'}]).toString().replace(/\|"/g, ""); 70 | 71 | var formInfo; 72 | win.webContents.on('did-finish-load', async function() { 73 | console.log('Finished loading') 74 | formInfo = await getforminfo(); 75 | // controller(site, userAgent, ua_browser, null, null, null, formInfo) 76 | init(site, userAgent, ua_browser, null, null, null, formInfo) 77 | }); 78 | 79 | async function controller(site, userAgent, ua_browser, proxy, abck, post_url, formInfo){ 80 | var bmak = await init(site, userAgent, ua_browser, proxy, abck, post_url, formInfo); 81 | var initialCookie = await get_abck(site, bmak, userAgent, ua_browser, proxy); 82 | 83 | } 84 | 85 | 86 | async function init(site, userAgent, ua_browser, proxy, abck, post_url, formInfo){ 87 | // akamaiSession.cookies.get({}) 88 | // .then((cookies) => { 89 | // console.log(cookies) 90 | // }) 91 | var bmak = { 92 | aj_indx: 0, 93 | aj_type: 0, 94 | den: 0, 95 | dmact: 0, 96 | dme_vel: 0, 97 | doact: 0, 98 | doe_cnt: 0, 99 | doe_vel: 0, 100 | formInfo: formInfo, 101 | fpValstr: "", 102 | genmouse: "", 103 | getmr: "", 104 | lang: "-", 105 | loc: "", 106 | me_cnt: 0, 107 | me_vel: 0, 108 | mn_abck: "", 109 | mn_al: [], 110 | mn_cc: "", 111 | mn_cd: 1000, 112 | mn_ct: 1, 113 | mn_il: [], 114 | mn_lc: [], 115 | mn_lcl: 0, 116 | mn_ld: [], 117 | mn_lg: [], 118 | mn_mc_indx: 0, 119 | mn_mc_lmt: 10, 120 | mn_psn: "", 121 | mn_r: [], 122 | mn_sen: 0, 123 | mn_state: 0, 124 | mn_stout: 1e3, 125 | mn_tcl: [], 126 | mn_tout: 100, 127 | mn_ts: "", 128 | nav_perm: "", 129 | n_ck: 0, 130 | p: 0, 131 | pen: -1, 132 | pe_cnt: 0, 133 | plen: -1, 134 | prod: "-", 135 | psub: "-", 136 | s: 0, 137 | sensor_data: 0, 138 | start_ts: get_cf_date(true), 139 | ta: 0, 140 | td: 0, 141 | tst: -1, 142 | type: '', 143 | ua_browser: ua_browser, 144 | updatet: 0, 145 | vcact: "", 146 | ver: site.ver, 147 | wen: 0, 148 | xagg: -1, 149 | y: Math.floor(1e3 * Math.random()).toString(), 150 | z1: 0, 151 | z: -1 152 | }; 153 | // return bmak; 154 | abck == null ? await switcher('minimal', bmak) : await switcher('nomouse', bmak); 155 | // await switcher('nomouse', bmak); 156 | abck == null ? get_abck(site, bmak, userAgent, ua_browser, proxy) : sensorGen(bmak, abck, ua_browser, userAgent, proxy, site, post_url); 157 | } 158 | 159 | async function get_abck(site, bmak, userAgent, ua_browser, proxy) { 160 | var post_url, 161 | req = net.request({ 162 | method: "GET", 163 | url: site.url, 164 | session: akamaiSession2, 165 | // useSessionCookies: true, 166 | hostname: site.host, 167 | headers: { 168 | 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 169 | 'user-agent': userAgent, 170 | 'sec-fetch-site': 'none', 171 | 'sec-fetch-mode': 'navigate', 172 | 'accept-encoding': 'gzip, deflate, br', 173 | 'accept-language': 'en-US,en;q=0.9' 174 | }, 175 | }); 176 | 177 | req.on("response", (response) => { 178 | response.on("error", e => reject(e)); 179 | 180 | response.on('data', (chunk) => { 181 | var body = chunk.toString('utf8'); 182 | var post_url_match = /src="\/(static|assets|api|resources|public)\/(\w+)/gm.exec(body); 183 | if(post_url_match == null) return; 184 | post_url = `${post_url_match[1]}/${post_url_match[2]}`; 185 | }); 186 | 187 | response.on('end', () => { 188 | akamaiSession2.cookies.get({}).then((cookies) => { 189 | var abck = cookies.find(x => x.name === "_abck").value; 190 | console.log('abck ' + abck) 191 | getSubmitEndpoint(bmak, abck, ua_browser, userAgent, proxy, site, post_url); 192 | // sensorGen(bmak, abck, ua_browser, userAgent, proxy, site, post_url); 193 | }).catch((e) => logger.red('exception ' + e.stack)); 194 | }); 195 | }); 196 | req.end(); 197 | 198 | // var params = { 199 | // method: 'GET', 200 | // url: site.url, 201 | // headers: { 202 | // ...site.headers, 203 | // 'user-agent': userAgent, 204 | // }, 205 | // proxy: proxy !== undefined ? `http://${proxy}` : null, 206 | // timeout: 2000, 207 | // html: true, 208 | // jar: cookieJar, 209 | // resolveWithFullResponse: true, 210 | // } 211 | 212 | // cloudscraper(params).then(response => { 213 | // var post_url_match = /src="\/(static|assets|api|resources|public)\/(\w+)/gm.exec(response.body), 214 | // post_url = `${post_url_match[1]}/${post_url_match[2]}`, 215 | // abck = response.headers['set-cookie'].toString().split('_abck=')[1].split("; Domain")[0]; 216 | // sensorGen(bmak, abck, ua_browser, userAgent, proxy, site, post_url, formInfo, cookieJar); 217 | // }).catch(e => { 218 | // logger.red(e.message == "Error: ESOCKETTIMEDOUT" ? `[GET] Proxy Banned` : `[GET] ${e.message}`); 219 | // }) 220 | } 221 | 222 | async function getSubmitEndpoint(bmak, abck, ua_browser, userAgent, proxy, site, post_url){ 223 | var req = net.request({ 224 | method: "GET", 225 | url: `https://${site.host}/${post_url}`, 226 | session: akamaiSession2, 227 | useSessionCookies: true, 228 | hostname: site.host, 229 | headers: { 230 | 'accept-encoding': 'gzip, deflate, br', 231 | 'accept-language': 'en-US,en;q=0.9', 232 | 'dnt': '1', 233 | 'referer': site.url, 234 | 'sec-fetch-dest': 'script', 235 | 'sec-fetch-mode':' no-cors', 236 | 'sec-fetch-site': 'same-origin', 237 | 'user-agent': userAgent 238 | } 239 | }); 240 | 241 | req.on("response", (response) => { 242 | var body = ''; 243 | response.on("error", e => reject(e)); 244 | 245 | response.on('data', (chunk) => { 246 | body += chunk; 247 | }); 248 | 249 | response.on('end', () => { 250 | sensorGen(bmak, abck, ua_browser, userAgent, proxy, site, post_url); 251 | }); 252 | }); 253 | req.end(); 254 | } 255 | 256 | async function sensorGen(bmak, abck, ua_browser, userAgent, proxy, site, post_url) { 257 | var g = "", w = "", y = ""; 258 | if(abck.includes("\|\|") && bmak.type != 'minimal') { 259 | bmak = await mn_poll(abck, bmak); 260 | bmak = await genChallengeMouseEvent(bmak); 261 | var h = await mn_get_current_challenges(abck); 262 | if (undefined !== h[1]) { 263 | logger.green('Filtering challenge 1') 264 | var C = h[1]; 265 | undefined !== bmak.mn_r[C] && (g = bmak.mn_r[C]) 266 | } 267 | if (undefined !== h[2]) { 268 | var E = h[2]; 269 | logger.green('Filtering challenge 2') 270 | if(undefined !== bmak.mn_r[E]) w = bmak.mn_r[E] 271 | } 272 | if (undefined !== h[3]) { 273 | logger.green('Filtering challenge 3') 274 | var S = h[3]; 275 | undefined !== bmak.mn_r[S] && (y = bmak.mn_r[S]) 276 | } 277 | } 278 | 279 | var a = get_cf_date() % 1e7; 280 | bmak.d3 = a; 281 | 282 | var sensor_data = 283 | bmak.ver + 284 | "-1,2,-94,-100," + 285 | gd(ua_browser, userAgent, bmak) + 286 | "-1,2,-94,-101," + 287 | "do_en,dm_en,t_en" + 288 | "-1,2,-94,-105," + 289 | bmak.formInfo + 290 | "-1,2,-94,-102," + 291 | bmak.formInfo + 292 | "-1,2,-94,-108," + 293 | //bmak.kact 294 | "-1,2,-94,-110," + 295 | bmak.genmouse + //OR EMPTY MOUSE => "0,1," + mm + ',' + kk + ',' + ll + ';' + 296 | "-1,2,-94,-117," + 297 | //bmak.tact 298 | "-1,2,-94,-111," + 299 | // cdoa(bmak) + 300 | "-1,2,-94,-109," + 301 | // cdma(bmak) + 302 | "-1,2,-94,-114," + 303 | //bmak.pact 304 | "-1,2,-94,-103," + 305 | bmak.vcact + 306 | "-1,2,-94,-112," + 307 | site.url + 308 | "-1,2,-94,-115," + 309 | [1, bmak.me_vel + 32, 32, 0, 0, 0, bmak.me_vel, bmak.updatet, 0, bmak.start_ts, bmak.td, parseInt((parseInt(bmak.start_ts / (2016 * 2016))) / 23), 0, bmak.me_cnt, parseInt(parseInt((parseInt(bmak.start_ts / (2016 * 2016))) / 23) / 6), bmak.pe_cnt, 0, bmak.s, bmak.ta, 0, abck.toString(), ab(abck.toString()), bmak.y, bmak.z, 30261693].join(',') + //needs to be improved 310 | "-1,2,-94,-106," + 311 | bmak.aj_type + "," + bmak.aj_indx + 312 | "-1,2,-94,-119," + 313 | bmak.getmr + 314 | "-1,2,-94,-122," + 315 | sed() + 316 | "-1,2,-94,-123," + 317 | g + 318 | //h function (undefined) 319 | "-1,2,-94,-124," + 320 | w + 321 | //g function (undefined) 322 | "-1,2,-94,-126," + 323 | y + 324 | "-1,2,-94,-127," + 325 | bmak.nav_perm; 326 | 327 | var k = ab(sensor_data); 328 | 329 | sensor_data = 330 | sensor_data + 331 | "-1,2,-94,-70," + 332 | bmak.fpValstr + 333 | "-1,2,-94,-80," + 334 | bmak.p + 335 | "-1,2,-94,-116," + 336 | to(bmak) + 337 | "-1,2,-94,-118," + 338 | k + 339 | "-1,2,-94,-121,"; 340 | var sensor = await gen_key(sensor_data, bmak); 341 | logger.yellow(sensor) 342 | // init(site, userAgent, ua_browser, proxy, abck, post_url, formInfo); 343 | // sendPost(sensor, formInfo, userAgent, ua_browser, proxy, site, post_url, abck) 344 | validator(sensor, bmak, formInfo, userAgent, ua_browser, proxy, site, post_url, abck) 345 | } 346 | 347 | async function validator(sensor, bmak, formInfo, userAgent, ua_browser, proxy, site, post_url, abck) { 348 | var ak_bmsc; 349 | var bm_sz; 350 | // await akamaiSession.cookies.get({}) 351 | // .then((cookies) => { 352 | // console.log(cookies) 353 | // ak_bmsc = cookies.find(x => x.name === "ak_bmsc").value; 354 | // bm_sz = cookies.find(x => x.name === "bm_sz").value; 355 | // }) 356 | // console.log(`DCT_Exp_HUNDRED=DCT; bm_sz=${bm_sz}; ak_bmsc=${ak_bmsc}; _abck=${abck}; check=true`) 357 | 358 | var options = { 359 | 'method': 'POST', 360 | 'url': `https://${site.host}/${post_url}`, 361 | 'session': akamaiSession2, 362 | 'useSessionCookies': true, 363 | 'hostname': site.host, 364 | headers: { 365 | 'sec-fetch-dest': 'empty', 366 | 'authority': site.host, 367 | 'user-agent': userAgent, 368 | 'content-type': 'text/plain;charset=UTF-8', 369 | 'accept': '*/*', 370 | 'origin': `https://${site.host}`, 371 | 'sec-fetch-site': 'same-origin', 372 | 'sec-fetch-mode': 'cors', 373 | 'referer': `https://${site.host}/`, 374 | 'accept-encoding': 'gzip, deflate, br', 375 | 'accept-language': 'en-US,en;q=0.9,fr;q=0.8,de;q=0.7', 376 | 'dnt': '1', 377 | // 'Cookie': `DCT_Exp_HUNDRED=DCT; bm_sz=${bm_sz}; ak_bmsc=${ak_bmsc}; _abck=${abck}; check=true` 378 | }, 379 | }; 380 | 381 | var req = net.request(options, function (res) { 382 | var chunks = []; 383 | 384 | res.on("data", function (chunk) { 385 | chunks.push(chunk); 386 | }); 387 | 388 | res.on("end", function (chunk) { 389 | akamaiSession2.cookies.get({}).then(async (cookies) => { 390 | var abck = cookies.find(x => x.name === "_abck").value; 391 | var verify = verify_abck(abck, site, true); 392 | verify.success ? logger.green(JSON.stringify(verify)) && writeToFile(abck) : logger.red(JSON.stringify(verify)); 393 | if(cookie_counter < 4){ 394 | init(site, userAgent, ua_browser, proxy, abck, post_url, formInfo); 395 | } 396 | }).catch((e) => logger.red(e.message)); 397 | }); 398 | 399 | res.on("error", function (error) { 400 | console.error(error); 401 | }); 402 | }); 403 | 404 | var postData = `{\"sensor_data\":\"${sensor.toString()}\"}`; 405 | // req.setHeader("Cookie", 'DCT_Exp_HUNDRED=DCT') 406 | // req.setHeader("Cookie", `bm_sz=${bm_sz}`) 407 | // req.setHeader("Cookie", `ak_bmsc=${ak_bmsc}`) 408 | // req.setHeader("Cookie", `_abck=${abck};`) 409 | 410 | req.write(postData); 411 | 412 | req.end(); 413 | 414 | // var params = { 415 | // method: 'POST', 416 | // url: `https://${site.host}/${post_url}`, 417 | // headers: { 418 | // 'Accept': '*/*', 419 | // 'Accept-Encoding': 'gzip, deflate, br', 420 | // 'Accept-Language': 'en-US,en;q=0.9', 421 | // 'Content-Type': 'application/json', 422 | // 'dnt': '1', 423 | // 'Host': site.host, 424 | // 'User-Agent': userAgent, 425 | // 'Connection': 'keep-alive', 426 | // 'Cache-Control': 'no-cache', 427 | // }, 428 | // body: JSON.stringify({ 429 | // "sensor_data": sensor 430 | // }), 431 | // proxy: proxy !== undefined ? `http://${proxy}` : null, 432 | // timeout: 2000, 433 | // jar: cookieJar, 434 | // resolveWithFullResponse: true, 435 | // } 436 | // return cloudscraper(params).then(response => { 437 | // abck = response.headers['set-cookie'].toString().split("_abck=")[1].split("; Domain")[0]; 438 | // logger.blue(JSON.stringify(verify_abck(abck, site))); 439 | // init(site, userAgent, ua_browser, proxy, abck, post_url, cookieJar); 440 | // }).catch(e => { 441 | // logger.red(e.message == "Error: ESOCKETTIMEDOUT" ? `[POST] Proxy Banned` : `[POST] ${e.message}`) 442 | // }); 443 | } 444 | 445 | async function sendPost(sensor, formInfo, userAgent, ua_browser, proxy, site, url, abck){ 446 | await win.webContents.executeJavaScript(` 447 | function check_cookie_name(name) 448 | { 449 | var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)')); 450 | if (match) { 451 | return match[2]; 452 | } 453 | else{ 454 | console.log('--something went wrong--'); 455 | } 456 | } 457 | async function send(callback){ 458 | return new Promise((resolve, reject) => { 459 | var n; 460 | undefined !== window.XMLHttpRequest ? n = new XMLHttpRequest : undefined !== window.XDomainRequest ? (n = new XDomainRequest, n.onload = function () { 461 | this.readyState = 4, this.onreadystatechange instanceof Function && this.onreadystatechange() 462 | }) : n = new ActiveXObject("Microsoft\.XMLHTTP"), n.open("POST", '${url}', true), undefined !== n.withCredentials && (n.withCredentials = true); 463 | var o = '\{"sensor_data":"' + '${sensor}' + '"\}'; 464 | n.onreadystatechange = function () { 465 | if (n.readyState > 3){ 466 | resolve(check_cookie_name('_abck')); 467 | } 468 | }, 469 | n.send(o) 470 | }) 471 | } 472 | send() 473 | `).then(response => { 474 | abck = response; 475 | console.log(abck) 476 | var verify = verify_abck(abck, site, true); 477 | verify.success ? logger.green(JSON.stringify(verify)) && writeToFile(abck) : logger.red(JSON.stringify(verify)); 478 | if(cookie_counter < 4){ 479 | init(site, userAgent, ua_browser, proxy, abck, url, formInfo); 480 | } 481 | }) 482 | } 483 | 484 | function gen_key(sensor_data, bmak) { 485 | var a = get_cf_date(); 486 | var y = od("0a46G5m17Vrp4o4c", "afSbep8yjnZUjq3aL010jO15Sawj2VZfdYK8uY90uxq").slice(0, 16); 487 | var w = Math.floor(get_cf_date() / 36e5); 488 | var j = get_cf_date(); 489 | var E = y + od(w, y) + sensor_data; 490 | sensor_data = E + ";" + lodash.random(2, 22) + ";" + bmak.tst + ";" + (get_cf_date() - j) 491 | return sensor_data; 492 | } 493 | 494 | function rir(a, t, e, n) { 495 | return a > t && a <= e && (a += n % (e - t)) > e && (a = a - e + t), a; 496 | } 497 | 498 | function get_cf_date(start) { 499 | if (Date.now) { 500 | return (start ? new Date(Date.now()).getTime() : Date.now()); 501 | } else { 502 | return (start ? new Date(+new Date()).getTime() : +new Date()); 503 | } 504 | } 505 | 506 | function getCookieVal(name, details){ 507 | if(!details.requestHeaders['Cookie'].includes(name)) return details; 508 | details.requestHeaders['Cookie'] = details.requestHeaders['Cookie'].replace(name + '=' + details.requestHeaders['Cookie'].split(`${name}=`)[1].split(';')[0] + ';', ''); 509 | return details 510 | } 511 | 512 | async function intercept(){ 513 | const filter = { 514 | urls: ['https://www.footlocker.com/assets/*'] 515 | } 516 | var count = 0; 517 | win.webContents.session.webRequest.onBeforeSendHeaders(filter, async(details, callback) => { 518 | if(details.method == 'POST'){ 519 | details.uploadData.forEach(async part => { 520 | console.log(part.bytes.toString('utf8')) 521 | }) 522 | // details = await getCookieVal('check', details); 523 | // details = await getCookieVal('mbox', details); 524 | // details = await getCookieVal('AMCV_40A3741F578E26BA7F000101%40AdobeOrg', details); 525 | // details = await getCookieVal('AMCVS_40A3741F578E26BA7F000101%40AdobeOrg', details); 526 | // var cleanStr = details.requestHeaders['Cookie'].split('_abck=')[1].split(';')[0]; 527 | // details.requestHeaders['Cookie'] = details.requestHeaders['Cookie'].replace(cleanStr, 'C43E5257DCBECA8C1CC90B7E58F8DB0B~-1~YAAQlKoRYGHr6L1xAQAAuSd56APej+pd8yvTOQZiA34H1E7S1949T54xNYRsHrzJPgrjz9TI6+RD+0cP2jD3j3tgvUR9w06jpMyNik1opsQlt/6uvGIwWo/SKsXZovhTZaZwf9BAQken1lIaO3s3P8EnD8gT5LzW2ms9ojoBZD3oN3E58PgWMD12IQX1px//S3yJIqEvYoAv1OLIyeNUbXzbY1B6CSGTjhfVQlQLCq0GBlh469XLsXoNyaSK5gJyzhPp3xNxa/Vdy3V9RPANY2r08wT5TAnoiYPlhHoEOt45QYQrOSNCCtJKoyhpoA==~-1~-1~-1') 528 | // sensor; 529 | // if(count == 0) sensor = `7a74G7m23Vrp0o5c9165131.54-1,2,-94,-100,Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36,uaend,12147,20030107,en-US,Gecko,3,0,0,0,390898,1040935,1440,832,1440,900,1440,821,1440,,cpen:0,i1:0,dm:0,cwen:0,non:1,opc:0,fc:0,sc:0,wrc:1,isc:0,vib:1,bat:1,x11:0,x12:1,8931,0.646547378323,794355520407.5,loc:-1,2,-94,-101,do_en,dm_en,t_en-1,2,-94,-105,-1,2,-94,-102,-1,2,-94,-108,-1,2,-94,-110,-1,2,-94,-117,-1,2,-94,-111,-1,2,-94,-109,-1,2,-94,-114,-1,2,-94,-103,-1,2,-94,-112,https://www.footlocker.com/-1,2,-94,-115,1,32,32,0,0,0,0,9,0,1588711040815,-999999,16995,0,0,2832,0,0,10,0,0,${abck},29544,-1,-1,30261693-1,2,-94,-106,0,0-1,2,-94,-119,-1-1,2,-94,-122,0,0,0,0,1,0,0-1,2,-94,-123,-1,2,-94,-124,-1,2,-94,-126,-1,2,-94,-127,-1,2,-94,-70,-1-1,2,-94,-80,94-1,2,-94,-116,46842240-1,2,-94,-118,74881-1,2,-94,-121,;18;-1;0` 530 | // if(count == 1) sensor = `7a74G7m23Vrp0o5c9165131.54-1,2,-94,-100,Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36,uaend,12147,20030107,en-US,Gecko,3,0,0,0,390898,1040999,1440,832,1440,900,1440,821,1440,,cpen:0,i1:0,dm:0,cwen:0,non:1,opc:0,fc:0,sc:0,wrc:1,isc:0,vib:1,bat:1,x11:0,x12:1,8931,0.882576068441,794355520470,loc:-1,2,-94,-101,do_en,dm_en,t_en-1,2,-94,-105,-1,2,-94,-102,-1,2,-94,-108,-1,2,-94,-110,-1,2,-94,-117,-1,2,-94,-111,-1,2,-94,-109,-1,2,-94,-114,-1,2,-94,-103,-1,2,-94,-112,https://www.footlocker.com/-1,2,-94,-115,1,32,32,0,0,0,0,1569,0,1588711040940,106,16995,0,0,2832,0,0,1570,0,0,${abck},29544,516,16516272,30261693-1,2,-94,-106,9,1-1,2,-94,-119,29,50,33,34,113,18,11,8,7,5,5,1178,1332,335,-1,2,-94,-122,0,0,0,0,1,0,0-1,2,-94,-123,-1,2,-94,-124,-1,2,-94,-126,-1,2,-94,-127,01321144241322243122-1,2,-94,-70,-36060876;-1849314799;dis;,7,8;true;true;true;240;true;24;24;true;false;1-1,2,-94,-80,5497-1,2,-94,-116,5205005-1,2,-94,-118,78285-1,2,-94,-121,;16;18;0` 531 | // var responseData = Buffer.from(sensor, 'utf8'); 532 | // count++ 533 | // callback({cancel: 'true', beforeSendResponse: {"sensor_data":"foo"}, requestHeaders: details.requestHeaders}) 534 | // }) 535 | 536 | // const request = net.request(details) 537 | // request.on('response', res => { 538 | // const chunks = [] 539 | 540 | // res.on('data', chunk => { 541 | // chunks.push(Buffer.from(chunk)) 542 | // }) 543 | 544 | // res.on('end', async() => { 545 | // const file = Buffer.concat(chunks) 546 | // callback(file) 547 | // }) 548 | // }) 549 | 550 | // if (details.uploadData) { 551 | // details.uploadData.forEach(part => { 552 | // if (part.bytes) { 553 | // request.write(part.bytes) 554 | // } else if (part.file) { 555 | // request.write(fs.readFileSync(part.file)) 556 | // } 557 | // }) 558 | // } 559 | // request.end() 560 | callback({ cancel: true, requestHeaders: details.requestHeaders }) 561 | } else { 562 | details.requestHeaders['User-Agent'] = 'MyAgent' 563 | callback({ cancel: false, requestHeaders: details.requestHeaders }) 564 | } 565 | }) 566 | // count = 0; 567 | // win.webContents.session.protocol.interceptHttpProtocol('https', (req, callback) => { 568 | // if (req.url == 'https://www.footlocker.com/assets/ea4ac69816262992aff5b862e75c' && req.method == 'POST') { 569 | // console.log(req) 570 | // req.uploadData.forEach(part => { 571 | // console.log(part.bytes.toString('utf8')) 572 | // var abck = 'foo', 573 | // sensor; 574 | // if(count == 0) sensor = `7a74G7m23Vrp0o5c9165131.54-1,2,-94,-100,Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36,uaend,12147,20030107,en-US,Gecko,3,0,0,0,390898,1040935,1440,832,1440,900,1440,821,1440,,cpen:0,i1:0,dm:0,cwen:0,non:1,opc:0,fc:0,sc:0,wrc:1,isc:0,vib:1,bat:1,x11:0,x12:1,8931,0.646547378323,794355520407.5,loc:-1,2,-94,-101,do_en,dm_en,t_en-1,2,-94,-105,-1,2,-94,-102,-1,2,-94,-108,-1,2,-94,-110,-1,2,-94,-117,-1,2,-94,-111,-1,2,-94,-109,-1,2,-94,-114,-1,2,-94,-103,-1,2,-94,-112,https://www.footlocker.com/-1,2,-94,-115,1,32,32,0,0,0,0,9,0,1588711040815,-999999,16995,0,0,2832,0,0,10,0,0,${abck},29544,-1,-1,30261693-1,2,-94,-106,0,0-1,2,-94,-119,-1-1,2,-94,-122,0,0,0,0,1,0,0-1,2,-94,-123,-1,2,-94,-124,-1,2,-94,-126,-1,2,-94,-127,-1,2,-94,-70,-1-1,2,-94,-80,94-1,2,-94,-116,46842240-1,2,-94,-118,74881-1,2,-94,-121,;18;-1;0` 575 | // if(count == 1) sensor = `7a74G7m23Vrp0o5c9165131.54-1,2,-94,-100,Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36,uaend,12147,20030107,en-US,Gecko,3,0,0,0,390898,1040999,1440,832,1440,900,1440,821,1440,,cpen:0,i1:0,dm:0,cwen:0,non:1,opc:0,fc:0,sc:0,wrc:1,isc:0,vib:1,bat:1,x11:0,x12:1,8931,0.882576068441,794355520470,loc:-1,2,-94,-101,do_en,dm_en,t_en-1,2,-94,-105,-1,2,-94,-102,-1,2,-94,-108,-1,2,-94,-110,-1,2,-94,-117,-1,2,-94,-111,-1,2,-94,-109,-1,2,-94,-114,-1,2,-94,-103,-1,2,-94,-112,https://www.footlocker.com/-1,2,-94,-115,1,32,32,0,0,0,0,1569,0,1588711040940,106,16995,0,0,2832,0,0,1570,0,0,${abck},29544,516,16516272,30261693-1,2,-94,-106,9,1-1,2,-94,-119,29,50,33,34,113,18,11,8,7,5,5,1178,1332,335,-1,2,-94,-122,0,0,0,0,1,0,0-1,2,-94,-123,-1,2,-94,-124,-1,2,-94,-126,-1,2,-94,-127,01321144241322243122-1,2,-94,-70,-36060876;-1849314799;dis;,7,8;true;true;true;240;true;24;24;true;false;1-1,2,-94,-80,5497-1,2,-94,-116,5205005-1,2,-94,-118,78285-1,2,-94,-121,;16;18;0` 576 | // var responseData = Buffer.from(sensor, 'utf8'); 577 | // count++ 578 | // // callback({uploadData: responseData, requestHeaders: details.requestHeaders}) 579 | // callback(responseData) 580 | // return; 581 | // const request = net.request(req) 582 | // request.on('response', res => { 583 | // const chunks = [] 584 | 585 | // res.on('data', chunk => { 586 | // chunks.push(Buffer.from(chunk)) 587 | // }) 588 | 589 | // res.on('end', async() => { 590 | // const file = Buffer.concat(chunks) 591 | // callback(file) 592 | // }) 593 | // }) 594 | 595 | // if (req.uploadData) { 596 | // console.log('upload data') 597 | // req.uploadData.forEach(part => { 598 | // if (part.bytes) { 599 | // request.write(responseData) 600 | // } else if (part.file) { 601 | // request.write(fs.readFileSync(part.file)) 602 | // } 603 | // }) 604 | // } 605 | // request.end() 606 | // }) 607 | // } else { 608 | // console.log(req) 609 | // const request = net.request(req) 610 | // request.on('response', res => { 611 | // const chunks = [] 612 | 613 | // res.on('data', chunk => { 614 | // chunks.push(Buffer.from(chunk)) 615 | // }) 616 | 617 | // res.on('end', async() => { 618 | // const file = Buffer.concat(chunks) 619 | // callback(file) 620 | // }) 621 | // }) 622 | 623 | // if (req.uploadData) { 624 | // req.uploadData.forEach(part => { 625 | // if (part.bytes) { 626 | // request.write(part.bytes) 627 | // } else if (part.file) { 628 | // request.write(fs.readFileSync(part.file)) 629 | // } 630 | // }) 631 | // } 632 | // request.end() 633 | // } 634 | // }) 635 | } 636 | 637 | async function switcher(type, bmak){ 638 | var add_random = lodash.random(600, 1600); 639 | var canvasArray = [-258688526,-380229768,-910147602,-642074913,1454575003,-1627350430,-2087321731,-552230799,681622556,1468298035,-968659517,792904753,1872114383,-768838012,-1422808916,-1690440540,918177569,-299824332,-1100926242,590387504,1204914753,-850342987,1434960077,-184491859,-252924566,-1590637647,-906906434,1994921761,-1014216413,490096504,1377200418,-320790731,-1003491391,-1593598986,-1959133361,-2024885122,473012774,-329194412,1033447141,1890175965,1099923539,-672395682,502393356,943657248,1303997989,1720664392,1665785846,-1039492718,1595197574,774758725,-2053610281,-1534714262,1345437442,-1672230605,419952338,-283135681,-1838110275,-479081611,336557930,-1949793014,-1875028898,-105344335,-56519046,-506985284,-133219342,717760806,683192729,-2023689198,-797584100,387610619,-624734334,-1559441329,98693687,482089505,1642163098,771424090,-2102473331,1596732241,365734556,-1036769400,-1828356990,-2126145962,-1880052230,-1823219244,-2049470082,509393476,671236453,-643946448,2023922389,-1548751671,892401278,935944785,1845025122,2606366,1109190367,463462894,-984871412,1522275505,-1998744585,1057016696,1516994777,899809789,-2056282797,-1401291820,1405341072,-1659079231,-1098063850,-1775584524,1167084910,-1203860934,-1739252648,1658412146,1012595405,1328031493,845785392,365563868,-100528605,1481032659,1164376938,-2054079242,-1134554344,1419213814,1277909185,445886213,1613561813,-1644599259,1372775405,873406024,-2045491203,175608234,1132364414,1741893195,987457133,-1516174339,-405450964,-82625416,-2080348235,-519820048,-1530580113,176993305,850728828,1234546812,1350393282,7645340,-1257794611,2121130236,993907753,909177413,-984538518,800661011,-1904734195,-278662786,733151654,1455681486,1139284331,-1209505346,-168824815,1337533696,482975363,-90780829,827715054,-1212852372,1387921604,-316044306,-1198197263,1352105616,-1048079677,-4901305,1981168010,801095379,-529550983,667233341,1452083482,263139143,449799980,-1248862444,1985197412,-492400093,165735080,971725205,624507096,1885720402,-1374252450,-161232591,930207515,-306696578,1260652560,564030182,-1690440424,1044398475,1605056938,606742522,-2112242920,1787970790,2130019848,1696807714,1524933943,-456086790,-883157529,-1976146447,-323217155,-954379794,1355634429,918764075,-1186630950,-522019341,-828390735,-2126970604,-632898889,200897686,1476230058,-1911364106,-650568971,1572861600,-1516942358,523475053,-1971008308,1005878714,161028307,570616773,1077436128,-935905905,1916171924,1174366911,-1237479794,-943904773,-1047765989,-1125300377,1612038834,-35000204,-107771871,-1389844782,-1028854978,1293591563,-1167839215,2058641366,1182808274,1165921662,217391223,-315998290,-1229038094,-1822001433,-187912077,1100692638,378695697,-494446180,-1554333920,-1453007041,984132648,140145595,-1955364192,-1604616878,310132848,-177965470,1135921945,1055114156,-1221961150,675514309,-339886135,2143817175,-1320546811,-587969387,-1922307056,-505386012,-1506827828,1358099373,1621629411,843462594,-523095756,409654245,-867192464,-767303534,-773094730,1813932073,-84577464,-986751055,1126894857,-322258131,1048330850,1838791977,-1571958021,-1589413718,-1006860530,-346424859,-796931837,1393120955,14855716,505786525,-643533959,113790283,1828888626,17324485,1239252261,1991762298,1912879515,-914799973,-153705403,-274048750,232854839,-373205660,-1908904817,-931491701,33790275,173335966,-2135953573,1429506244,-955312352,-1072513886,983187086,-1412830555,1596673802,1516879041,963515989,933704263,-2052288503,65844785,1488899022,17467309,-2012468492,-852978433,-1699263931,276533966,-195879488,1560790008,-276176615,1016937411,-1603358651,910685505,-1364955012,-1017437590,236760183,1725534116,-1559970395,-702952436,1234637032,121356017,-374242116,-1638850243,-1112094112,148913778,-1186882379,-1656367166,312158799,-231214470,1609361956,-2090251722,715337012,1861524823,-2039847086,2083787088,1574248546,884639223,-1790283213,-92856436,638775442,734547668,863468051,-223698491,1515381855,1781901138,-36416617,-735690133,706153569,438160177,-1033047417,1487339943,-869639204,-925445670,1808462405,50946879,394524621,706323612,765361903,1065314165,1893244412,1879968007,1342811245,1166009843,1034509870,893217566,-1044830369,2074449951,1472904622,858533177,976762486,1401081377,-565973016,245050634,-1035400908,-979069881,-1935615546,-926202838,-789344540,-1299821532,1350641492,756704389,732653660,806265358,1771619217,-1806637971,-1299526048,-921714080,1245951968,-1499933886,-514471883,961252547,-1600241058,-979445115,-480479628,829980267,941106298,525711418,-240296881,-1429532413,-1016477073,-2137745713,-312024775,-1038527564,-1311849555,1692812886,-1975257310,-1614522809,-474844608,-1048987855,-334605269,357011607,1903211848,-871403296,166496018,2132094792,-1419368974,1249301791,-987350054,942562193,-946143950,1420051882,-485339647,-1759902971,-1676860753,1291121709,-1590948176,-1991807083,717535678,-894148759,1078383725,-1440495522,-1482007412,922701385,-1987241925,-1299492863,-254338881,-85080367,1666295398,-599688957,-1946482893,1606837949,-754412071,242417931,-1226017357,806280314,1764097388,1917974438,-1229958227,-534668515,-1103786397,-820506042,-1154851989,789717163,1537236374,-1378630083,-1738305695,542601657,-1129862068,-443509507,-845081808,1242749413,-1841895320,-18012966,729844124,517133709,1010460475,621407935,886950167,1493179651,1670892287,-1735636821,-881424725,-1010583789,-817205306,1686815234,1648956571,480034744,-95853288,-580071365,1476003279,-14051860,1508713146,1014377593,246287052,1455654485,-299825011,-268747218,513105997,-217973441,-1087421795,-779996976,154630619,-1534839609,255899654,-1959670965,-1121161339,-1740773695,1523726831,-1151427033,-1847062949,29160895,16516272,-1638463703,1134544339,-1032662166,1349639910,1439005589,1928380368,-800978756,-1722212029,-22952513,-760365355,-1739833163,-1773862672,1157049676,-1921064576,-880371606,416719594,-1754108269,1125135107,603784203,-821599346,-1576981016,1853778667,-1877370610,2070635919,524486792,-1136421537,-1140216172,-380424975,1404024697,1040524592,-918006681,-2116893411,1177636017,-1813987613,-1955511204,-915346280,775660831,2187405,1193493515,282850357,-568141974,-1167613657,336694120,-1521806280,-851124730,279455890,-1046413370,175590908,-1293737519,-892109913,-1257998071,1027252794,-1034023587,-1903727290,1831115731,-514965615,201034976,692871038,-302903434,1966463954,770262050,2096457252,-749691641,-1295431555,329875092,1864688235,-57212845,1070175570,202856167,-2110628,-638892055,-834271936,-2041139586,-1112424664,-945810206,506104879,1308063270,-262599732,-636133997,-100507472,-1198494937,1845793138,-1748492529,-965757490,-266141959,391492585,999189973,-794269044,-770798309,-532268442,779907080,-1697282099,1943493379,-1768209806,-792269116,1255674906,1435887540,286132079,-1551834539,-2028799728,690667456,323944900,-498285799,-1735579108,-1638921255,1615028357,1410146618,923064790,-1219293980,-192925144,-1476773501,-1726149465,-1352524847,1574438244,-2114686162,623353945,1539583716,-1936544814,-625557109,-1850378022,-296786123,-1917306138,2119875620,-1256544066,1423959906,-1918664649,307157306,1305387685,702136856,-2081213803,2000529563,-1646669521,-1241881201,1184546978,-1831835215,-269585743,1897287603,-729993291,-760597134,-554743091,1654579694,-397248697,650970331,-355795650,-1329771447,-378714370,-1882959208,885128646,-1840808499,523033904,211461706,1458211852,1344021496,-1344629673,1554131943,221477349,-2140740438,-2094728770,433142806,149557752,-305508085,-218281914,-2038416455,1709855065,865951137,1384161526,-1566012780,-1078600774,1616115895,651299023,-1552762728,-400882637,-1986611575,1974809509,-1968890847,-1483947074,-2068264326,-872797655,-2046079536,1921907369,-188786761,1469307639,1271683050,-95806663,527928166,1979329417,1364384164,80083159,-1753357456,1926611114,1013093610,-153255278,-433637289,600352388,1910113175,843281291,1079529553,539335608,1188911425,1746072188,2068013213,-307008226,-2104701177,391742678,-360150762,-2144133911,-1645746788,2051312314,430425483,324855823,-1205225244,-1034678099,-374050393,-946043456,1955424182,-975669769,762276854,-857314060,-998560693,-578052362,-1499553884,-291351290,1690326096,-591580249,94377739,-833906175,779958138,-2058085455,2028279384,798645864,-210589242,-1701325717,1940788165,-1045317424,-542976023,-844552550,1946293243,999250251,550920105,-1604735723,-416716967,1252174709,1300291386,-212188266,558001247,1054248821,893180224,-512100532,1980317548,1843800547,1074809575,-1511651738,2138031004,1515134667,58860384,1582495396,-170570642,-304257926,384838318,1301853571,-472575317,-2096166160,872932967,-1378669788,1335144781,-369148539,-885736967,-1811935563,149328226,-1421003447,311538186,1956348216,-1365769595,-31766439,-2132925211,1029568641,637046469,-601862137,-1573470551,815916176,2050335435,-1089555714,-1421711902,-480591687,325317125,1812614504,1332755845,-1033971972,-655911794,-1637243605,-600594122,2025215381,-1315034565,154297519,2053584813,1409535141,535910440,-1934356819,-895408955,1459135497,-604295372,883658489,703051130,1914030205,-1753105422,-1714841549,-1961113770,1893921502,867246850,844199983,-2025624521,1674457409,1144662859,-468434663,-152996295,860208855,1930563111,1299410111,-2126368622,1091932033,-1448695275,1259662135,748635992,-1836079659,1227975603,482667487,-89159812,-2075380707,1690536291,690076925,969296919,-1166874454,632349224,-1062484194,1049070721,370601979,-1513703034,904680186,-2042648983,-1907617059,2057813156,1123068287,-1012199070,-1114398061,925087610,1475556409,1875246208,2064922467,1573376728,784287628,-1926896999,1298177385,-909654206,-685966616,262509527,1900749289,511092653,369721886,736217480,-1875147238,1542350551,-672901527,-370125508,-72120016,-1592799810,-918670348,-521498789,1115367753,2046442295,-893958995,1906215645,-467522783,-1170032566,-1300835752,1130820842,162830643,-1690938757,1210214650,981590209,-211648942,1188530149,-280172162,-1995919837,710932903,181857257,-1697875030,-1345614003,264465643,-379825717,-2076882578,533200158,-577398117,-687179673,-1313061805,-342997765,1180392947,1328950321,142178060,-367975685,1352221793,-760017623,1108050233,-611654777,871794052,238653167,1063358622,1283516056,-280337387,154958994,-92913881,-172712666,629480492,768999156,2003025250,-424053337,590906940,-1879159956,-146182503,1439644808,-1860335561,-1859965811,-1423950573,1431458228,-1416222855,1959538097,-1454392165,2099726725,1035870658,-1515465314,9698996,-723565764,-992591845,2082159340,655766253,-1254207960,203944385,-1959022703,-2009515897,-260196031,-626768058,-1539423197,784706541,-1964155249,993855571,-2083804049,1215008054,593156823,-13878337,1263752775,1073726159,986390186,-1726133962,-1360419847,-1072041758,447894757,-929769051,-571041888,1033841466,1583464646,911587120,-57607189,1459059972,-2094338290,1603664502,1934366767,356865128,1475176013,-172402483,1113038729,-41796291,272570950,186801301,1723843249,1587180766,360416223,-1808641695,994893307,802397304,-540255740,-1256861600,1349533949,33192664,-1443816258,2027772712] 640 | switch(type) { 641 | case 'minimal': bmak.type = 'minimal', 642 | bmak.formInfo = '', 643 | bmak.updatet = lodash.random(1,10); 644 | bmak.td = -999999; 645 | bmak.pe_cnt = 0; 646 | bmak.s = lodash.random(1,10); 647 | bmak.aj_type = 0; 648 | bmak.aj_indx = 0; 649 | bmak.getmr = '-1'; 650 | bmak.nav_perm = ''; 651 | bmak.fpValstr = '-1'; 652 | bmak.p = 94; 653 | bmak.y = -1; 654 | break; 655 | 656 | case 'nomouse': bmak.type = 'nomouse', 657 | bmak.updatet = add_random; 658 | bmak.td = lodash.random(40, 200); 659 | bmak.pe_cnt = 0; 660 | bmak.s = bmak.updatet + 1; 661 | bmak.aj_type = 9; 662 | bmak.aj_indx = 1; 663 | bmak.getmr = await getmr(); 664 | bmak.nav_perm = '01321144241322243122'; 665 | bmak.fpValstr = data(bmak.ua_browser).replace(/"/g, "\"") 666 | bmak.p = ab(bmak.fpValstr); 667 | bmak.z = canvasArray[bmak.y].toString(); 668 | bmak.tst = lodash.random(10, 70); 669 | break; 670 | 671 | case 'mouse': bmak.type = 'mouse', 672 | bmak.genmouse = genMouseData(bmak); 673 | bmak.updatet = add_random; 674 | bmak.td = lodash.random(40, 200); 675 | bmak.pe_cnt = lodash.random(3,7); 676 | bmak.s = bmak.updatet + 1; 677 | bmak.aj_type = 1; 678 | bmak.aj_indx = 2; 679 | bmak.getmr = await getmr(); 680 | bmak.nav_perm = '01321144241322243122'; 681 | bmak.fpValstr = data(bmak.ua_browser).replace(/"/g, "\"") 682 | bmak.p = ab(bmak.fpValstr); 683 | bmak.z = canvasArray[bmak.y].toString(); 684 | bmak.tst = lodash.random(10, 70); 685 | break; 686 | } 687 | } 688 | 689 | function verify_abck(abck, site) { 690 | abck = abck.toString(); 691 | writeToFile(`${abck}\n`); 692 | cookie_counter++; 693 | logger.purple(`Cookie #${cookie_counter}`) 694 | return site.valid_check.every(i => !i.includes("!") && abck.includes(i.replace("!", "")) || i.includes("!") && !abck.includes(i.replace("!", ""))) ? { 695 | success: true, 696 | abck: abck 697 | } : { 698 | success: false, 699 | abck: abck 700 | } 701 | } 702 | 703 | /** 704 | * ! {Browser Functions} 705 | */ 706 | 707 | function gd(ua_browser, userAgent, bmak) { 708 | var screen_size = screenSize(), 709 | a = userAgent, 710 | t = "" + ab(a), 711 | e = bmak.start_ts / 2, 712 | n = screen_size[0], 713 | o = screen_size[1], 714 | m = screen_size[2], 715 | r = screen_size[3], 716 | i = screen_size[4], 717 | c = screen_size[5], 718 | b = screen_size[6]; 719 | bmak.z1 = parseInt(bmak.start_ts / (2016 * 2016)); 720 | var d = Math.random(), 721 | k = parseInt((1e3 * d) / 2), 722 | l = d + ""; 723 | return ((l = l.slice(0, 11) + k), get_browser(ua_browser, bmak), bc(ua_browser, bmak), bmisc(bmak), a + ",uaend," + bmak.xagg + "," + bmak.psub + "," + bmak.lang + "," + bmak.prod + "," + bmak.plen + "," + bmak.pen + "," + bmak.wen + "," + bmak.den + "," + bmak.z1 + "," + bmak.d3 + "," + n + "," + o + "," + m + "," + r + "," + i + "," + c + "," + b + "," + bd(ua_browser) + "," + t + "," + l + "," + e + ",loc:" + bmak.loc); 724 | } 725 | 726 | function screenSize() { 727 | logger.white(browserData[dataNum].resolutions) 728 | try{ 729 | JSON.parse(browserData[dataNum].resolutions) 730 | return JSON.parse(browserData[dataNum].resolutions); 731 | } catch(e){ 732 | return lodash.sample([ 733 | ['1098', '686', '1098', '686', '1098', '583', '1098'], 734 | ['1280', '680', '1280', '720', '1280', '578', '1280'], 735 | ['1440', '776', '1440', '900', '1440', '660', '1440'], 736 | ['1440', '826', '1440', '900', '1440', '746', '1440'], 737 | ['1440', '860', '1440', '900', '1440', '757', '1440'], 738 | ['1440', '831', '1440', '900', '1440', '763', '1440'], 739 | ['1440', '851', '1440', '900', '1420', '770', '1420'], 740 | ['1440', '786', '1440', '900', '1440', '789', '1440'], 741 | ['1440', '900', '1440', '900', '920', '789', '1440'], 742 | ['1440', '900', '1440', '900', '1440', '821', '1440'], 743 | ['1536', '824', '1536', '864', '1536', '722', '1536'], 744 | ['1680', '972', '1680', '1050', '1680', '939', '1680'], 745 | ['1680', '1020', '1680', '1050', '1680', '917', '1680'], 746 | ['1920', '1040', '1920', '1080', '1920', '937', '1920'], 747 | ['1920', '1040', '1920', '1080', '1920', '969', '1920'], 748 | ['1920', '1080', '1920', '1080', '1920', '1007', '1920'], 749 | ['2560', '1400', '2560', '1440', '2560', '1327', '2576'], 750 | ['1024', '1024', '1024', '1024', '1024', '1024', '1024'], 751 | ['1680', '973', '1680', '1050', '1133', '862', '1680'], 752 | ['1680', '973', '1680', '1050', '1680', '862', '1680'], 753 | ['1024', '768', '1024', '768', '1256', '605', '1272'], 754 | ['1360', '728', '1360', '768', '1360', '625', '1358'], 755 | ['1440', '797', '1440', '900', '1440', '685', '1440'] 756 | ]); 757 | } 758 | } 759 | 760 | function get_browser(ua_browser, bmak) { 761 | bmak.psub = productSub(ua_browser), 762 | bmak.lang = "en-US", 763 | bmak.prod = "Gecko", 764 | bmak.plen = pluginsLength(ua_browser); 765 | } 766 | 767 | function pluginsLength(browser) { 768 | switch (browser) { 769 | case "chrome": 770 | return 3; 771 | case "ie": 772 | return 1; 773 | case "opera": 774 | return 1; 775 | case "firefox": 776 | return 0; 777 | case "safari": 778 | return 1; 779 | } 780 | } 781 | 782 | function productSub(browser) { 783 | switch (browser) { 784 | case "chrome": 785 | return 20030107; 786 | case "ie": 787 | return 20030107; 788 | case "opera": 789 | return 20030107; 790 | case "firefox": 791 | return 20100101; 792 | case "safari": 793 | return 20030107; 794 | } 795 | } 796 | 797 | function touchEvent(browser) { 798 | switch (browser) { 799 | case "chrome": 800 | return 1; 801 | case "ie": 802 | return 0; 803 | case "opera": 804 | return 1; 805 | case "firefox": 806 | return 1; 807 | case "safari": 808 | return 0; 809 | } 810 | } 811 | 812 | function chrome(browser) { 813 | switch (browser) { 814 | case "chrome": 815 | return 1; 816 | default: 817 | return 0; 818 | } 819 | } 820 | 821 | function bc(ua_browser, bmak) { 822 | var a = 1, 823 | t = 1, 824 | e = 0, 825 | n = 0, 826 | o = 1, 827 | m = 1, 828 | r = touchEvent(ua_browser), 829 | i = 0, 830 | c = 1, 831 | b = 1, 832 | d = chrome(ua_browser), 833 | k = 1, 834 | l = 0, 835 | s = 1; 836 | bmak.xagg = 837 | a + 838 | (t << 1) + 839 | (e << 2) + 840 | (n << 3) + 841 | (o << 4) + 842 | (m << 5) + 843 | (r << 6) + 844 | (i << 7) + 845 | (c << 8) + 846 | (b << 9) + 847 | (d << 10) + 848 | (k << 11) + 849 | (l << 12) + 850 | (s << 13); 851 | } 852 | 853 | function bmisc(bmak) { 854 | bmak.pen = 0, 855 | bmak.wen = 0, 856 | bmak.den = 0; 857 | } 858 | 859 | function bd(browser) { 860 | switch (browser) { 861 | case "chrome": 862 | return [",cpen:0", "i1:0", "dm:0", "cwen:0", "non:1", "opc:0", "fc:0", "sc:0", "wrc:1", "isc:0", "vib:1", "bat:1", "x11:0", "x12:1"].join(","); 863 | case "ie": 864 | return [",cpen:0", "i1:1", "dm:1", "cwen:0", "non:1", "opc:0", "fc:0", "sc:0", "wrc:0", "isc:0", "vib:0", "bat:0", "x11:0", "x12:1"].join(","); 865 | case "opera": 866 | return [",cpen:0", "i1:0", "dm:0", "cwen:0", "non:1", "opc:1", "fc:0", "sc:0", "wrc:1", "isc:0", "vib:0", "bat:1", "x11:0", "x12:1"].join(","); 867 | case "firefox": 868 | return [",cpen:0", "i1:0", "dm:0", "cwen:0", "non:1", "opc:0", "fc:1", "sc:0", "wrc:1", "isc:1", "vib:1", "bat:0", "x11:0", "x12:1"].join(","); 869 | case "safari": 870 | return [",cpen:0", "i1:0", "dm:0", "cwen:0", "non:1", "opc:0", "fc:0", "sc:0", "wrc:1", "isc:0", "vib:0", "bat:0", "x11:0", "x12:1"].join(","); 871 | } 872 | } 873 | 874 | function pluginInfo(browser) { 875 | switch (browser) { 876 | case "chrome": 877 | return [",7,8"]; 878 | case "ie": 879 | return [""]; 880 | case "opera": 881 | return [""]; 882 | case "firefox": 883 | return [",3"]; 884 | case "safari": 885 | return [""]; 886 | } 887 | } 888 | 889 | function webrtcKey(browser) { 890 | switch (browser) { 891 | case "chrome": 892 | return true; 893 | case "ie": 894 | return false; 895 | case "opera": 896 | return true; 897 | case "firefox": 898 | return true; 899 | case "safari": 900 | return true; 901 | } 902 | } 903 | 904 | function data(ua_browser) { 905 | // -36060876;-1849314799; 906 | return [canvas(), canvas_2(), "dis", pluginInfo(ua_browser), true, true, true, ((new Date).getTimezoneOffset()), webrtcKey(ua_browser), 24, 24, true, false, "1"].filter(x => x !== null).join(";") 907 | } 908 | 909 | function sed() { 910 | return [0, 0, 0, 0, 1, 0, 0].join(","); 911 | } 912 | 913 | function canvas() { 914 | return browserData[dataNum].canvas1; 915 | // return lodash.sample([-1151536724, -1152944628, -1259079336, -1618588580, -1752250632, -1752591854, -1880212897, -36060876, -434613739, -509993527, -52233038, -739578230, -746822318, 1112667908, 1454252292, 1544133244, 1637755981, 59688812, 73331404, 763748173]).toString(); 916 | } 917 | 918 | function canvas_2() { 919 | return browserData[dataNum].canvas2; 920 | // return lodash.sample([-1849314799, 66351601, 1396487819]).toString(); 921 | } 922 | 923 | async function getmr() { 924 | var mr; 925 | await win.webContents.executeJavaScript(`function x() { 926 | try { 927 | for (var a = "", t = 1e3, e = [Math.abs, Math.acos, Math.asin, Math.atanh, Math.cbrt, Math.exp, Math.random, Math.round, Math.sqrt, isFinite, isNaN, parseFloat, parseInt, JSON.parse], n = 0; n < e.length; n++) { 928 | var o = [], 929 | m = 0, 930 | r = performance.now(), 931 | i = 0, 932 | c = 0; 933 | if (void 0 !== e[n]) { 934 | for (i = 0; i < t && m < .6; i++) { 935 | for (var b = performance.now(), d = 0; d < 4e3; d++) e[n](3.14); 936 | var k = performance.now(); 937 | o.push(Math.round(1e3 * (k - b))), m = k - r 938 | } 939 | var s = o.sort(); 940 | c = s[Math.floor(s.length / 2)] / 5 941 | } 942 | a = a + c + "," 943 | } 944 | return a != null ? a : x(); 945 | } catch (a) { 946 | console.error(a); 947 | } 948 | } 949 | x();`).then((y) => { mr = y }); 950 | return mr; 951 | } 952 | 953 | async function getforminfo() { 954 | // var a = "", 955 | // error_url = (site.error_page != null) ? site.error_page : `https://${site.host}/${randomstring.generate({length: 5,charset: 'alphabetic'})}`; 956 | // // var params = { 957 | // // method: 'GET', 958 | // // url: error_url, 959 | // // headers: { 960 | // // ...site.headers, 961 | // // 'user-agent': userAgent 962 | // // }, 963 | // // proxy: proxy !== undefined ? `http://${proxy}` : null, 964 | // // timeout: 2000, 965 | // // html: true, 966 | // // resolveWithFullResponse: true, 967 | // // } 968 | // var options = { 969 | // 'method': 'GET', 970 | // 'url': 'https://www.footlocker.com/', 971 | // 'hostname': site.host, 972 | // headers: { 973 | // 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 974 | // 'user-agent': userAgent, 975 | // 'sec-fetch-site': 'none', 976 | // 'sec-fetch-mode': 'navigate', 977 | // 'accept-encoding': 'gzip, deflate, br', 978 | // 'accept-language': 'en-US,en;q=0.9' 979 | // } 980 | // }; 981 | 982 | // var req = await net.request(options, function (res) { 983 | // var body = ''; 984 | 985 | // res.on("data", function (chunk) { 986 | // body += chunk; 987 | // }); 988 | 989 | // res.on("end", function (chunk) { 990 | // console.log('end') 991 | // temp(body); 992 | // }); 993 | 994 | // res.on("error", function (error) { 995 | // console.log('err ' + error) 996 | // temp(body) 997 | // }); 998 | // }); 999 | 1000 | // await req.end(); 1001 | var a = ''; 1002 | await win.webContents.executeJavaScript(` 1003 | function temp(){ 1004 | var a = ''; 1005 | var size = document.getElementsByTagName("input").length; 1006 | for (var t = "", n = -1, o = 0; o < size; o++) { 1007 | var m = document.getElementsByTagName("input")[o], 1008 | r = ab(m.getAttribute("name")), 1009 | i = ab(m.getAttribute("id")), 1010 | c = m.getAttribute("required"), 1011 | b = null == c ? 0 : 1, 1012 | d = m.getAttribute("type"), 1013 | k = null == d ? -1 : get_type(d), 1014 | s = m.getAttribute("autocomplete"); 1015 | null == s ? n = -1 : (s = s.replace(/\\\"/g, '').replace('/', '').toLowerCase(), n = "off" == s ? 0 : "on" == s ? 1 : 2); 1016 | var l = m.defaultValue.replace(/\\\"/g, '').replace('/', ''), 1017 | u = m.value.replace(/\\\"/g, '').replace('/', ''), 1018 | _ = 0, 1019 | f = 0; 1020 | l && 0 != l.length && (f = 1), !u || 0 == u.length || f && u == l || (_ = 1), 1021 | 2 != k && (a = a + k + "," + n + "," + _ + "," + b + "," + i + "," + r + "," + f + ";"), 1022 | t = t + _ + ";" 1023 | } 1024 | return a; 1025 | } 1026 | 1027 | function ab(a) { 1028 | if (null == a) return -1; 1029 | for (var t = 0, e = 0; e < a.replace(/\\\"/g, '').replace('/', '').length; e++) { 1030 | var n = a.replace(/\\\"/g, '').replace('/', '').charCodeAt(e); 1031 | n < 128 && (t += n); 1032 | } 1033 | 1034 | return t; 1035 | } 1036 | 1037 | function get_type(a) { 1038 | return a = a.replace(/\\\"/g, '').toLowerCase(), "text" == a || "search" == a || "url" == a || "email" == a || "tel" == a || "number" == a ? 0 : "password" == a ? 1 : 2 1039 | } 1040 | 1041 | temp(); 1042 | `).then((response) => { 1043 | console.log(response) 1044 | a = response; 1045 | }); 1046 | return a; 1047 | 1048 | // async function temp(doc) { 1049 | // // console.log(doc) 1050 | // const dom = new JSDOM(options, {runScripts: "dangerously"}); 1051 | // var size = dom.window.document.getElementsByTagName("input").length; 1052 | // logger.green(`${size} inputs`); 1053 | // for (var t = "", n = -1, o = 0; o < size; o++) { 1054 | // var m = dom.window.document.getElementsByTagName("input")[o], 1055 | // r = ab(m.getAttribute("name")), 1056 | // i = ab(m.getAttribute("id")), 1057 | // c = m.getAttribute("required"), 1058 | // b = null == c ? 0 : 1, 1059 | // d = m.getAttribute("type"), 1060 | // k = null == d ? -1 : get_type(d), 1061 | // s = m.getAttribute("autocomplete"); 1062 | // null == s ? n = -1 : (s = s.replace(/\\\"/g, '').replace('/', '').toLowerCase(), n = "off" == s ? 0 : "on" == s ? 1 : 2); 1063 | // var l = m.defaultValue.replace(/\\\"/g, '').replace('/', ''), 1064 | // u = m.value.replace(/\\\"/g, '').replace('/', ''), 1065 | // _ = 0, 1066 | // f = 0; 1067 | // l && 0 != l.length && (f = 1), !u || 0 == u.length || f && u == l || (_ = 1), 1068 | // 2 != k && (a = a + k + "," + n + "," + _ + "," + b + "," + i + "," + r + "," + f + ";"), 1069 | // t = t + _ + ";" 1070 | // } 1071 | // } 1072 | // await cloudscraper(params).then(response => temp(response.body)).catch((e) => temp(e.message)); 1073 | // return a; 1074 | } 1075 | 1076 | function get_type(a) { 1077 | return a = a.replace(/\\\"/g, '').toLowerCase(), "text" == a || "search" == a || "url" == a || "email" == a || "tel" == a || "number" == a ? 0 : "password" == a ? 1 : 2 1078 | } 1079 | 1080 | /** 1081 | * ! {Mouse Event Functions} 1082 | */ 1083 | 1084 | function genMouseData(bmak) { 1085 | var timeStamp = Math.round(get_cf_date() - (new Date() - 20)) + lodash.random(8000, 12000), 1086 | mouseString = '', 1087 | loop_amount = 100, 1088 | generated = ghost_cursor({ x: lodash.random(100, 200), y: lodash.random(70, 230) }, { x: lodash.random(500, 800), y: lodash.random(470, 750) }), 1089 | path = (generated.length > 100) ? generated : ghost_cursor({ x: lodash.random(100, 200), y: lodash.random(70, 230) }, { x: lodash.random(500, 800), y: lodash.random(470, 750) }); 1090 | for (var i = 0; i <= loop_amount; i++) { 1091 | let point = path[i]; 1092 | x = Math.round(point.x), 1093 | y = Math.round(point.y); 1094 | timeStamp = timeStamp + lodash.random(0, 2); 1095 | if (i == loop_amount) { 1096 | bmak.me_cnt = lodash.random(200, 1400), 1097 | mouseString = mouseString + bmak.me_cnt + ',3,' + timeStamp + ',' + x + ',' + y + ',-1;'; 1098 | } else { 1099 | bmak.me_vel = bmak.me_vel + i + 1 + timeStamp + x + y, 1100 | bmak.ta += timeStamp, 1101 | mouseString = mouseString + i + ',1,' + timeStamp + ',' + x + ',' + y + ";"; 1102 | } 1103 | mouseString = mouseString 1104 | } 1105 | 1106 | return mouseString; 1107 | } 1108 | 1109 | /** 1110 | * *This function will create the correct values for mouse movements required for challenge cookies 1111 | * @returns {bmak} 1112 | * *bmak.me_vel is added to cf_date and mouse event values. This should be within the 1000 range. 1113 | * ! The values {t, i, n, o} are subject to change!!!! This can be found at cma: function(){} 1114 | */ 1115 | 1116 | function genChallengeMouseEvent(bmak) { 1117 | var timing = lodash.random(900, 1400), 1118 | t = 2, 1119 | i = timing, 1120 | n = -1, 1121 | o = -1 1122 | bmak.genmouse = `${bmak.me_cnt},${t},${i},${n},${o},-1,it0;`; 1123 | bmak.vcact = `2,${lodash.random(3000, 5000)};`; 1124 | bmak.me_vel = i + t + n + o + bmak.me_cnt; 1125 | bmak.me_cnt++; 1126 | bmak.ta = timing; 1127 | bmak.updatet = timing + lodash.random(3000,5000); 1128 | bmak.s = bmak.updatet + 1; 1129 | return bmak; 1130 | } 1131 | 1132 | function cdoa(bmak) { 1133 | try { 1134 | var t = get_cf_date() - bmak.start_ts + 105; 1135 | var e = getFloatVal(lodash.random(0, 360)); 1136 | var n = getFloatVal(lodash.random(-180, 180)); 1137 | var o = getFloatVal(lodash.random(-90, 90)); 1138 | var m = bmak.doe_cnt + "," + t + "," + "-1" + "," + "-1" + "," + "-1"; 1139 | bmak.doact = m + ";"; 1140 | bmak.doe_vel = t; 1141 | return bmak.doact; 1142 | } catch (a) { } 1143 | }; 1144 | 1145 | /** 1146 | * @returns - bmak.dmact 1147 | */ 1148 | function cdma(bmak) { 1149 | try { 1150 | var t = (get_cf_date() - bmak.start_ts) + 20; 1151 | var m = "0," + t + ",-1,-1,-1,-1,-1,-1,-1,-1,-1"; 1152 | bmak.dmact = m + ";"; 1153 | bmak.dme_vel = t; 1154 | return bmak.dmact; 1155 | } catch (a) { } 1156 | } 1157 | 1158 | // function dmact(bmak){ 1159 | // return '0,' + (get_cf_date() - bmak.start_ts) + ',-1,-1,-1,-1,-1,-1,-1,-1,-1;'; 1160 | // } 1161 | 1162 | 1163 | /** 1164 | * ! {Challenge Cookie Functions} 1165 | */ 1166 | 1167 | async function mn_poll(abck, bmak) { 1168 | if (0 == bmak.mn_state) { 1169 | var a = await get_mn_params_from_abck(abck), 1170 | t = await mn_get_new_challenge_params(a, bmak); 1171 | null != t && (await mn_update_challenge_details(t, bmak)); 1172 | return await mn_w(bmak) 1173 | } 1174 | } 1175 | 1176 | function get_mn_params_from_abck(abck) { 1177 | var a = [ 1178 | [] 1179 | ]; 1180 | try { 1181 | var t = abck; 1182 | if (!1 !== t) { 1183 | var e = decodeURIComponent(t).split("~"); 1184 | if (e.length >= 5) { 1185 | var n = e[0], 1186 | o = e[4], 1187 | m = o.split("\|\|"); 1188 | if (m.length > 0) 1189 | for (var r = 0; r < m.length; r++) { 1190 | var i = m[r], 1191 | c = i.split("-"); 1192 | if (c.length >= 5) { 1193 | var b = pi(c[0]), 1194 | d = c[1], 1195 | k = pi(c[2]), 1196 | s = pi(c[3]), 1197 | l = pi(c[4]), 1198 | u = 1; 1199 | c.length >= 6 && (u = pi(c[5])); 1200 | var _ = [b, n, d, k, s, l, u]; 1201 | 2 == u ? a.splice(0, 0, _) : a.push(_) 1202 | } 1203 | } 1204 | } 1205 | } 1206 | } catch (a) {} 1207 | return a 1208 | } 1209 | 1210 | async function mn_get_current_challenges(abck) { 1211 | var a = await get_mn_params_from_abck(abck), 1212 | t = []; 1213 | if (null != a) 1214 | for (var e = 0; e < a.length; e++) { 1215 | var n = a[e]; 1216 | if (n.length > 0) { 1217 | var o = n[1] + n[2], 1218 | m = n[6]; 1219 | t[m] = o 1220 | } 1221 | } 1222 | return t 1223 | } 1224 | 1225 | function mn_update_challenge_details(a, bmak) { 1226 | bmak.mn_sen = a[0], bmak.mn_abck = a[1], bmak.mn_psn = a[2], bmak.mn_cd = a[3], bmak.mn_tout = a[4], bmak.mn_stout = a[5], bmak.mn_ct = a[6], bmak.mn_ts = bmak.start_ts, bmak.mn_cc = bmak.mn_abck + bmak.start_ts + bmak.mn_psn; 1227 | } 1228 | 1229 | function mn_get_new_challenge_params(a, bmak) { 1230 | var t = null, 1231 | e = null, 1232 | n = null; 1233 | if (null != a) 1234 | for (var o = 0; o < a.length; o++) { 1235 | var m = a[o]; 1236 | if (m.length > 0) { 1237 | for (var r = m[0], i = bmak.mn_abck + bmak.start_ts + m[2], c = m[3], b = m[6], d = 0; d < bmak.mn_lcl && (1 == r && bmak.mn_lc[d] != i && bmak.mn_ld[d] != c); d++); 1238 | d == bmak.mn_lcl && (t = o, 2 == b && (e = o), 3 == b && (n = o)) 1239 | } 1240 | } 1241 | return null != n && bmak.pstate ? a[n] : null == e || bmak.pstate ? null == t || bmak.pstate ? null : a[t] : a[e] 1242 | } 1243 | 1244 | async function mn_w(bmak) { 1245 | //Called when you get challenge cookie 1246 | try { 1247 | for (var a = 0, t = 0, e = 0, n = "", o = get_cf_date(), m = bmak.mn_cd + bmak.mn_mc_indx; 0 == a;) { 1248 | n = Math.random().toString(16); 1249 | var r = bmak.mn_cc + m.toString() + n, 1250 | i = mn_h(r); 1251 | if (0 == bdm(i, m)) a = 1, e = get_cf_date() - o, bmak.mn_al.push(n), bmak.mn_tcl.push(e), bmak.mn_il.push(t), 0 == bmak.mn_mc_indx && (bmak.mn_lg.push(bmak.mn_abck), bmak.mn_lg.push(bmak.mn_ts), bmak.mn_lg.push(bmak.mn_psn), bmak.mn_lg.push(bmak.mn_cc), bmak.mn_lg.push(bmak.mn_cd.toString()), bmak.mn_lg.push(m.toString()), bmak.mn_lg.push(n), bmak.mn_lg.push(r), bmak.mn_lg.push(i)); 1252 | else if ((t += 1) % 1e3 == 0 && (e = get_cf_date() - o) > bmak.mn_stout) return setTimeout(mn_w(bmak), 1e3 + bmak.mn_stout); 1253 | } 1254 | bmak.mn_mc_indx += 1, bmak.mn_mc_indx < bmak.mn_mc_lmt ? await mn_w(bmak) : (bmak.mn_mc_indx = 0, bmak.mn_lc[bmak.mn_lcl] = bmak.mn_cc, bmak.mn_ld[bmak.mn_lcl] = bmak.mn_cd, bmak.mn_lcl = bmak.mn_lcl + 1, bmak.mn_state = 0, bmak.mn_r[bmak.mn_abck + bmak.mn_psn] = await mn_pr(bmak), bmak.aj_type = 8, bmak.aj_indx++); 1255 | return bmak; 1256 | } catch (a) { 1257 | logger.red('exception on line ' + a.stack) 1258 | } 1259 | } 1260 | 1261 | function mn_pr(bmak) { 1262 | return bmak.mn_al.join(",") + ";" + bmak.mn_tcl.join(",") + ";" + bmak.mn_il.join(",") + ";" + bmak.mn_lg.join(",") + ";"; 1263 | } 1264 | 1265 | /** 1266 | * ! {Math Functions} 1267 | */ 1268 | 1269 | function to(bmak) { 1270 | var a = get_cf_date() % 1e7; 1271 | bmak.d3 = a; 1272 | for (var t = a, e = 0; e < 5; e++) { 1273 | var n = parseInt(a / Math.pow(10, e)) % 10, 1274 | o = n + 1, 1275 | m = 'return a' + cc(n) + o + ';'; 1276 | t = new Function('a', m)(t) 1277 | } 1278 | return t 1279 | } 1280 | 1281 | function cc(a) { 1282 | var t = a % 4; 1283 | 2 == t && (t = 3); 1284 | var e = 42 + t; 1285 | return String.fromCharCode(e) 1286 | } 1287 | 1288 | //Used for determining how long challenge cookie verification loops for 1289 | function mn_h(a) { 1290 | var t = 1732584193, 1291 | e = 4023233417, 1292 | n = 2562383102, 1293 | o = 271733878, 1294 | m = 3285377520, 1295 | r = encode_utf8(a), 1296 | i = 8 * r.length; 1297 | r += String.fromCharCode(128); 1298 | for (var c = r.length / 4 + 2, b = Math.ceil(c / 16), d = new Array(b), k = 0; k < b; k++) { 1299 | d[k] = new Array(16); 1300 | for (var s = 0; s < 16; s++) d[k][s] = r.charCodeAt(64 * k + 4 * s) << 24 | r.charCodeAt(64 * k + 4 * s + 1) << 16 | r.charCodeAt(64 * k + 4 * s + 2) << 8 | r.charCodeAt(64 * k + 4 * s + 3) << 0 1301 | } 1302 | var l = i / Math.pow(2, 32); 1303 | d[b - 1][14] = Math.floor(l), d[b - 1][15] = 4294967295 & i; 1304 | for (var u = 0; u < b; u++) { 1305 | for (var _, f, p, v = new Array(80), h = t, g = e, w = n, y = o, C = m, k = 0; k < 80; k++) v[k] = k < 16 ? d[u][k] : rotate_left(v[k - 3] ^ v[k - 8] ^ v[k - 14] ^ v[k - 16], 1), k < 20 ? (_ = g & w | ~g & y, f = 1518500249) : k < 40 ? (_ = g ^ w ^ y, f = 1859775393) : k < 60 ? (_ = g & w | g & y | w & y, f = 2400959708) : (_ = g ^ w ^ y, f = 3395469782), p = rotate_left(h, 5) + _ + C + f + v[k], C = y, y = w, w = rotate_left(g, 30), g = h, h = p; 1306 | t += h, e += g, n += w, o += y, m += C 1307 | } 1308 | return [t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, 255 & t, e >> 24 & 255, e >> 16 & 255, e >> 8 & 255, 255 & e, n >> 24 & 255, n >> 16 & 255, n >> 8 & 255, 255 & n, o >> 24 & 255, o >> 16 & 255, o >> 8 & 255, 255 & o, m >> 24 & 255, m >> 16 & 255, m >> 8 & 255, 255 & m] 1309 | } 1310 | 1311 | function getFloatVal(a) { 1312 | try { 1313 | if (-1 != chknull(a) && !isNaN(a)) { 1314 | var t = parseFloat(a); 1315 | if (!isNaN(t)) return t.toFixed(2) 1316 | } 1317 | } catch (a) { } 1318 | return -1 1319 | } 1320 | 1321 | /** 1322 | * ! {Support Functions} 1323 | */ 1324 | 1325 | function encode_utf8(a) { 1326 | return unescape(encodeURIComponent(a)) 1327 | } 1328 | 1329 | function rotate_left(a, t) { 1330 | return a << t | a >>> 32 - t; 1331 | } 1332 | 1333 | function pi(a) { 1334 | return parseInt(a); 1335 | } 1336 | 1337 | function bdm(a, t) { 1338 | for (var e = 0, n = 0; n < a.length; ++n) e = (e << 8 | a[n]) >>> 0, e %= t; 1339 | return e; 1340 | } 1341 | 1342 | function chknull(a) { 1343 | return null == a ? -1 : a 1344 | }; 1345 | 1346 | function od(a, t) { 1347 | try { 1348 | (a = a.toString()), (t = t.toString()); 1349 | var e = []; 1350 | var n = t.length; 1351 | if (n > 0) { 1352 | for (var o = 0; o < a.length; o++) { 1353 | var m = a.charCodeAt(o); 1354 | var r = a.charAt(o); 1355 | var i = t.charCodeAt(o % n); 1356 | (m = rir(m, 47, 57, i)), 1357 | m != a.charCodeAt(o) && (r = String.fromCharCode(m)), 1358 | e.push(r); 1359 | } 1360 | if (e.length > 0) return e.join(""); 1361 | } 1362 | } catch (a) { } 1363 | return a; 1364 | } 1365 | 1366 | function ab(a) { 1367 | if (null == a) return -1; 1368 | for (var t = 0, e = 0; e < a.replace(/\\\"/g, '').replace('/', '').length; e++) { 1369 | var n = a.replace(/\\\"/g, '').replace('/', '').charCodeAt(e); 1370 | n < 128 && (t += n); 1371 | } 1372 | 1373 | return t; 1374 | } 1375 | 1376 | function writeToFile(abck){ 1377 | fs.appendFile('footpatrol_abck.txt', abck, (e) => { 1378 | if (e) throw e.message; 1379 | }); 1380 | } 1381 | }); 1382 | 1383 | // module.exports = init; 1384 | 1385 | // /* setInterval(() => */ init('dell', undefined, undefined) /*, 1000); */ -------------------------------------------------------------------------------- /libs/logger/index.js: -------------------------------------------------------------------------------- 1 | const Logger = function () { }; 2 | Logger.prototype.green = function success(message) { 3 | console.log(`[${new Date().toISOString()}] \x1b[32m${message}\x1b[0m`); 4 | }; 5 | Logger.prototype.purple = function success(message) { 6 | console.log(`[${new Date().toISOString()}] \x1b[35m${message}\x1b[0m`); 7 | }; 8 | Logger.prototype.red = function error(message) { 9 | console.log(`[${new Date().toISOString()}] \x1b[31m${message}\x1b[0m`); 10 | }; 11 | Logger.prototype.blue = function info(message) { 12 | console.log(`[${new Date().toISOString()}] \x1b[34m${message}\x1b[0m`); 13 | }; 14 | Logger.prototype.yellow = function warn(message) { 15 | console.log(`[${new Date().toISOString()}] \x1b[33m${message}\x1b[0m`); 16 | }; 17 | Logger.prototype.white = function normal(message) { 18 | console.log(`[${new Date().toISOString()}] \x1b[37m${message}\x1b[0m`); 19 | } 20 | module.exports = new Logger(); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "akamai_sensor_generator", 3 | "version": "1.0.0", 4 | "description": "Akamai Sensor Generator", 5 | "scripts": { 6 | "electron": "electron .", 7 | "start": "node --no-warnings index.js", 8 | "test": "node test.js", 9 | "server": "node ./app/index.js" 10 | }, 11 | "main": "index.js", 12 | "repository": "https://github.com/HypePhilosophy/Akamai-Sensor-Generator.git", 13 | "author": "!Help#0001, Admin#0001", 14 | "license": "MIT", 15 | "dependencies": { 16 | "brotli": "^1.3.2", 17 | "chalk": "^3.0.0", 18 | "cloudscraper": "^4.6.0", 19 | "cors": "^2.8.5", 20 | "dotenv": "^8.2.0", 21 | "express": "^4.17.1", 22 | "fs": "0.0.1-security", 23 | "ghost-cursor": "^1.0.3", 24 | "helmet": "^3.21.2", 25 | "jsdom": "^16.2.2", 26 | "mongoose": "^5.8.7", 27 | "morgan": "^1.9.1", 28 | "path": "^0.12.7", 29 | "perf_hooks": "0.0.1", 30 | "randomstring": "^1.1.5", 31 | "request": "^2.88.0", 32 | "request-promise": "^4.2.5", 33 | "url": "^0.11.0", 34 | "user-agents": "^1.0.559", 35 | "uuid": "^3.4.0" 36 | }, 37 | "devDependencies": { 38 | "electron": "^8.5.1" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /test.js: -------------------------------------------------------------------------------- 1 | const UserAgent = require('user-agents'); 2 | const fs = require('fs'); 3 | var cloudscraper = require('cloudscraper'); 4 | var userAgent = new UserAgent(/Chrome/, { 5 | deviceCategory: 'desktop' 6 | }) 7 | var num = 2; 8 | var proxies = fs.readFileSync('./proxy.txt', 'utf-8'); 9 | var proxy_array = proxies.toString().toLowerCase().split("\r\n").filter(l => l.length !== 0); 10 | var lodash = require('lodash'); 11 | const rp = require('request-promise'); 12 | const chalk = require('chalk'); 13 | var canvasArray = [1919619550, -1085185828, 1577591477, 1958559063, 1590583886, 803501153, 1321416369, 1332131968, -1787050453, -1476045391, -1249560680, -307900961, -897401638, 1709140274, 1475048621, -1170855828, -1829873084, -1512615331, -573415275, 1361126098, -1361238855, 40959895, -2105304209, 22178460, 1470773690, -1205632004, 949173836, 2084738809, 962317613, 1855184060, 1895730262, -1192897860, -708764388, -468451651, 1512892720, -1595694700, 1589472982, -584358640, -753875503, -970573925, 1593248957, 832443918, -2086080131, 1599414695, 1294939072, -266172782, 267125544, -117935709, -382099010, 683139923, 605378659, 531048646, 1473006948, 1896233946, 1081567925, -1337405644, 126549912, 775316417, 1564455373, -1032659979, -1394229960, 868242717, -1691668883, 985904217, 804413516, -2005170143, -1066190195, 2139001865, 149826589, 313665912, -2115346543, -883743074, 675677164, 751721323, 282043467, 599027506, 95789836, 977322217, 1515016729, 382196848, 867324092, -1372025774, -1766240076, -1166190575, 1022881729, 2039262647, 1280289523, -841711560, -729260194, 106379808, 1831935536, 349043025, -586373857, 1406533623, 1234549834, 1792446232, 197242163, 228750819, -1091322357, -1648351618, -533479225, 1190868050, -858804567, -478770949, 34712964, -880781543, 867322169, 991305586, -316899420, 1749902403, -958883221, -1474626848, -2000791231, -87268314, 155229937, 142006334, 1246607029, 1063218567, 369994210, -574654566, 233802077, -654616279, -1720288619, 248066775, -1690343480, 813579045, 318510261, -2099981713, 1916819915, 426522241, 1982873175, 259558704, -1135446035, 2123810049, 1772694758, 809855726, -644707227, 1459695271, 98083533, 1765877848, -1551103271, -1914916132, 1427706569, 171353429, 1336912234, 653579005, -1028161146, 1398744446, -547031256, -626036720, 614558751, -602697365, 1854921746, 2085005153, -1843345038, 1867726891, -573393068, -2043001444, -1466500821, -601805002, -427186192, 1532988208, -1539748643, 546785630, 81521532, 1192026764, -1757464415, -323512492, -1481594226, 107746788, -858095953, 363553961, -1759692542, 1099214035, -2087355482, -197391300, -2097876531, 2019372932, -330462884, 1802059905, 827112250, 1440380285, 467074714, 228661045, 527283370, -1107885465, 1708523220, 2121425108, 145400717, 2053165989, 1991074146, -2059670094, 911984436, -889775473, -311617566, -796487964, -905019286, -286402639, -16013481, 1129656526, -1052621218, 1681510179, -2042032971, 258753656, -249539474, 1995029405, 1868201585, -191426787, 1519756866, 1526502928, -972855174, 1853700035, 1801350837, 1934535310, 1072274748, 473072677, 286672874, 1290074182, -1856922812, -751522268, -5098406, 356375750, 1863300093, 750250045, -638950352, 1092940192, -587861234, 478201070, -1428052155, -1695993807, -1618886839, -85270360, 1049235916, -218798047, -824819736, -1208829223, -1763606687, -1055579251, -695583957, -2124327015, 1338821594, 2024394737, -1260392421, -1063918748, -782765713, 109743002, -145873267, 2055065344, -1705839794, -2006674797, -2062417103, 202730061, 951098531, -1898972102, -1168641565, 1360719819, -255778355, -2004073000, -1079244743, 457208623, -1614898741, -557395473, -1684730672, -561518103, -1000614991, 901081754, -900767228, 601426296, 937614702, 306461062, 1948656569, 1161873092, -951048736, -2079626833, 2009426827, 345761982, 894304389, -1626697646, 721107868, -1546260301, -314002814, 1546549374, -1987137393, 89434850, 1384428534, 347295556, 352523830, 1209486423, 792832955, 945789467, 1481987152, -1330646784, -1495424737, 165941514, 849233153, -450936921, -306000977, -272260002, 1166933750, -1835758318, 1754539158, 1912811729, -962968957, 35491729, 77086292, 2032182834, -768831533, 36895537, -1862872003, -813956440, 1936119145, -1517947305, -1284864849, 197088676, -1816834394, 766141118, 1704433804, -1286731005, -1366250393, -2105571876, -1319799889, -1952775740, 780208014, -1868224405, 1375713954, -2084843209, -1998788056, 435680602, -226665783, 1886686846, 1141023512, -1048746225, -703537349, 1898029715, -826544384, 193015596, 1289698732, 1894753284, 1077460565, -1413630782, -1128807590, -312650750, -441906433, 812024957, 1439759401, -111074295, -453317645, -688962502, 736164362, 1942858881, 469223319, -741000212, 1639272820, -384926886, 1548079247, 2005072441, -1377331724, 1870633422, -420647417, -965368968, -1336963158, 626254252, -1896967653, 1104709886, 1650305990, -109692439, 905575854, -1018437694, 1450131897, 337549539, -1052131244, -1371148462, -1210879278, 325829703, 371811250, -1314100125, 318722185, -1067219145, -454382934, 1017004869, -673184472, 215569038, 1917072377, 841612531, 575096859, -1753887160, -655173093, -1077520139, -261905087, -139525991, -908097258, -1648619715, 391106743, 1197772952, -16553977, -1929234759, -1167717642, 269520794, 1181692381, 2094371358, -1282496015, 1642829565, 2090504319, -1628632322, -855632870, -1998929305, -2005169686, -1444815886, -1635151002, 522310787, 1152247591, -1493472039, 1943273938, -1090594941, 1517780680, 318350641, 1642543420, -1873809268, 858902114, -1429342033, -1936788517, -1910118381, -531252006, 1514768229, 2017068164, -311714590, -1453938274, 1220277834, -1515201405, 1492918427, -1321445854, 824217737, 69711112, 344075329, -1156418781, -858234117, 1510385381, 1293887522, -419809639, 805198488, 1290155937, 648169110, -1596135890, -1387098377, 719737079, -1965727635, -352219242, -1179114679, 113420698, -1100580052, 1161806690, 1798394793, -1287635506, 1711319718, 905970143, 833498743, -1172861974, 1696133848, 1110677564, 446283753, -1786110017, 726074790, 282466731, 1300013972, -301585085, -717404832, 330064591, -647904333, -476442234, 221418729, -1433405406, 1761512573, 2036266399, -755055013, -515076464, -1025441582, 1929424273, 610575639, -574041051, -1771809176, 1949280899, 330438175, -1646628381, -1980914855, 2031227420, -955729054, -452179264, -1922482972, 526417380, -879823317, -1654196472, 1971618492, 364294544, -1808651648, 1465862389, -586660593, -962265402, -1332157837, 670969217, -596811292, -1766892945, 1544647678, 1504764514, 1779720857, -796066866, -271080089, -1278141541, -735722508, 195610834, 1157960124, -293848541, -1425858879, -1986458541, -623467536, -797506645, 362056146, 212473745, -1689230474, -394425087, 236803916, -663485973, 382791623, -2110557961, -1783089878, 605555237, -1934032292, -738960547, 2082115192, 1009535724, 2058096498, -315510204, 1967590074, 1363950005, -2081587808, -1564304910, -1887221738, -513249529, 1016201736, 1745685937, 2135880179, 211905806, -344476266, 1831693079, 1141288276, -118984555, -2060149016, 1159444987, 168459664, 153236124, 1355368153, 1152255436, -936371786, 198972893, -539931264, 867184916, -961913580, -121637175, 711665406, 620741722, 1835568403, 1303814692, -1941377173, -1182006658, 1174059900, -1763035954, -1750857519, -1565579795, -779206992, 177944597, -1396932992, 726270712, -273068484, -726541808, -1701515442, 510058953, -1534596372, -1327913956, 280878654, -1324291206, 1501903306, -617432212, -1432536440, -223344901, 648272851, 1049403460, 1172066684, 1440998377, -1657616677, -956272919, -963375195, 1665642889, 935769943, -227285553, -241673136, 1484778263, 1223459057, -1369090146, -1113477316, -857822524, -396575091, -1934805436, -1080460314, -654920445, -421460888, 363895340, 968329203, -934954940, -391250906, -1987081563, 849626156, -508220569, -693708758, 360287008, -980578635, -1023114224, -1178122384, 1695913874, 551421118, 850857098, 1118854806, 496455002, 1669927590, 1178692316, -1883730260, 917300359, 200628049, 1896873548, 1474395826, 27411342, 940461528, 2012576033, -481257752, -2088375209, -197191349, -1089176207, 157562083, 1047250240, 652233055, -1868068007, -476240373, 1262878945, 405976126, 1840798212, 1640831637, -1481922735, 697505007, 2135664190, 1245141298, -1895666662, -1664600460, 394239754, 347585382, -1487276530, 381035314, 1140790277, 209178218, -1925146254, -1341135031, 1473940103, 2014241610, 526381613, -686309414, -631580353, -1831426169, 473611905, 1002793996, 701102146, 66667019, 1845832427, 1683030166, -954685976, 1409756506, -1665844891, -299911622, 1674235834, -516388511, 857219923, 479618590, -1596197028, -486496326, 1936913221, -1387911841, 1178003068, 1416486482, -1753084083, 1941756424, -1780031839, 631310713, 1097125154, 600937979, -1151984106, 821131791, -1487899646, -9718845, 1188428809, 1179526470, 1497410073, -450353559, 1394686547, 1689434288, -468243090, -1459390341, -499160796, -1426521368, 525051908, -300640878, 1893072528, -824541417, 371701919, -1736253654, 20573414, -801466790, 1557792708, -867996866, -1454633379, 1076138799, -1357611649, -1218451156, -101911350, 1024649994, 2064510389, -1361200787, 250745475, -420070058, -2062939969, -1033489643, -420779329, 1262162981, -1975462168, 342504846, 867790585, 104534415, 414173895, -903837451, 320487152, 691562486, 1511444547, -824139370, -1687900118, 1759405889, 724419348, -2141826340, -734847174, 1306390764, -1387519333, -1274503199, 1644933566, -1782654497, -1207306799, 1275759741, 1119346737, 600407037, -1037984361, 1719141678, -872449395, 1952815068, 463640920, 2003407205, -1050719844, 880494744, 979738192, 2087682557, 397274289, -1749298448, -1494363497, 1536907502, -825375091, -1927365192, 863691654, -1690567059, 486847271, -1671045364, -235694007, -1242028238, 519924606, -1024746180, -812516759, 1587795424, 226855760, -1959146050, -1778582851, -950964718, -644631463, -1390197917, 1171883645, -422190023, -340438029, 2052982681, -1977832966, -1843224151, 1850519927, 939966667, -1924095356, -1268955611, 2057000467, -1560070169, 1185885133, 1151163132, -504020751, 1117066095, -513373422, -828908883, 1106318419, -390007157, -1110690587, -1585942551, -1291087701, 148518137, 1064759725, -1770022059, -645964021, -2070414920, -360038513, 1974644765, -2087292635, -1723552797, -306772180, 1203905298, -1908503090, -1006565309, 717798204, 1404581219, 1471354530, -2142861998, -176305339, -2058853308, -885708772, -1187647843, -1098897499, 505294809, 873016398, 1700638994, 1292677676, -400009322, 771871928, 1583907455, -1170503765, 2014944246, 1715714187, -926555761, 549531937, 478492527, -898583714, 631347641, 1481846854, -166447365, 1354458445, 441638102, 693321932, -1003330601, 1142121597, 559614801, -364428855, -1693202299, -286296443, -2067751109, 1773786429, -861306983, 347265191, -2043474358, 1412861106, 110335122, 147240732, 79697243, -65169755, -940507213, -732786088, 1590535386, -1146805075, 736434977, -1291404919, -1309608661, -735887547, -581097353, 236726374, -1218530790, -2038950847, 800074848, -965821767, 1110904680, -1142088286, 699234900, -206311305, 1926286043, 1121289573, 2137631411, 682558149, -688680219, 1434125880, 877498383, -482382150, 1690388223, 1757292811, -1082614189, 2022631578, -1798036160, -1110541694, -217761131, -664609087, 645354853, 181159353, 5179676, -906072299, -2030780670, -1375402202, 1133466901, 643146272, -687258138, 1425984483, 957113511, -279068014, -1579275590, -400738553, -35169951, 1242709077, 1576684620, -901182146, 1958273577, -2031111477, -676273039, 1519344680, 1913066696, -2132576325, 1496240465, -736571815, 1811658424, -1216172679, -1660751546, 1264657029, 196766413, 1437134335, -2141281336, 35382391, -1260374368, -1303477343, 152603613, -612784234, 611664018, 402586310, -751191676, 1331166204, 663754801, -1486351662, 938275697, 791339626, -2109085621, 1732635166, 1457031384, 441281506, -430809018, 684162697, 424663432, 1710839254, 1643570932, 844291532, -217307719, -1911468693, -1858068682, 2116099367, -1906301027, 865954035, 903215997, 1973851065, -459129557, 2086634689, -1516832268, -1082178193, 275490211, -818190931, -1815615777, 839588370, 1239995079, 1523860565, 1235718686, -796000342, 291017469, -1444906757, 1048973760, -6896623, -435979846, -103379579, 1203128572, -85695905, -734513447, -1019769883, 2098200122, 1332470076, 710580430, -945189960, 1009459292, 1434508088, 461863800, 1760909738, 1849405969, 702643278, 462783532, -1744409804, -442210601, -257832395] 14 | var counter = 1; 15 | var usedUserAgent = userAgent.toString().replace(/\|"/g, ""); 16 | var ua_browser = usedUserAgent.indexOf("Chrome") > -1 ? "chrome" : usedUserAgent.indexOf("Safari") > -1 ? "safari" : usedUserAgent.indexOf("Firefox") > -1 ? "firefox" : "ie"; 17 | const siteOptions = [{ 18 | url: 'https://www.dickssportinggoods.com/', 19 | host: 'www.dickssportinggoods.com', 20 | headers: { 21 | "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 22 | 'accept-encoding': 'gzip, deflate, br', 23 | 'accept-language': 'en-US,en;q=0.9', 24 | 'dnt': '1', 25 | 'sec-fetch-mode': 'navigate', 26 | 'sec-fetch-site': 'none', 27 | 'sec-fetch-user': '?1', 28 | "upgrade-insecure-requests": "1", 29 | 'user-agent': usedUserAgent, 30 | 'Host': 'www.dickssportinggoods.com', 31 | 'Connection': 'keep-alive', 32 | // 'Cache-Control': 'no-cache' 33 | } 34 | }, 35 | { 36 | url: 'https://www.yeezysupply.com/', 37 | host: 'www.yeezysupply.com', 38 | headers: { 39 | "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 40 | 'accept-encoding': 'gzip, deflate, br', 41 | 'accept-language': 'en-US,en;q=0.9', 42 | 'dnt': '1', 43 | 'sec-fetch-mode': 'navigate', 44 | 'sec-fetch-site': 'none', 45 | 'sec-fetch-user': '?1', 46 | "upgrade-insecure-requests": "1", 47 | 'user-agent': usedUserAgent, 48 | 'Host': 'www.yeezysupply.com', 49 | 'Connection': 'keep-alive', 50 | 'Cache-Control': 'no-cache' 51 | } 52 | }, 53 | { 54 | url: 'https://www.gamestop.com/', 55 | host: 'www.gamestop.com', 56 | headers: { 57 | "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 58 | 'accept-encoding': 'gzip, deflate, br', 59 | 'accept-language': 'en-US,en;q=0.9', 60 | 'dnt': '1', 61 | 'sec-fetch-mode': 'navigate', 62 | 'sec-fetch-site': 'none', 63 | 'sec-fetch-user': '?1', 64 | "upgrade-insecure-requests": "1", 65 | 'user-agent': usedUserAgent, 66 | 'Host': 'www.gamestop.com', 67 | 'Connection': 'keep-alive', 68 | 'Cache-Control': 'no-cache' 69 | } 70 | } 71 | ] 72 | async function get_abck() { 73 | var proxy = lodash.sample(proxy_array); 74 | var cookieJar = new rp.jar(); 75 | userAgent = new UserAgent(/Chrome/, { 76 | deviceCategory: 'desktop' 77 | }) 78 | usedUserAgent = userAgent.toString().replace(/\|"/g, ""); 79 | ua_browser = usedUserAgent.indexOf("Chrome") > -1 ? "chrome" : usedUserAgent.indexOf("Safari") > -1 ? "safari" : usedUserAgent.indexOf("Firefox") > -1 ? "firefox" : "ie"; 80 | var params = { 81 | method: 'GET', 82 | url: siteOptions[num].url, 83 | // url: 'https://www.yeezysupply.com/api/yeezysupply/products/bloom', 84 | headers: siteOptions[num].headers, 85 | // proxy: `http://${proxy}`, 86 | timeout: 2000, 87 | html: true, 88 | jar: cookieJar, 89 | resolveWithFullResponse: true, 90 | } 91 | 92 | return cloudscraper(params).then(response => { 93 | var abck = response.headers['set-cookie'].toString().split("_abck=")[1].split("; Domain")[0]; 94 | return sensorGen(abck, cookieJar, ua_browser, usedUserAgent, proxy, 1); 95 | }).catch(error => { 96 | if (error.message == "Cannot read property 'toString' of undefined") { 97 | console_log(`[GET] ABCK cookie error`, "error"); 98 | } else if (error.message == "Error: ESOCKETTIMEDOUT") { 99 | console_log(`[GET] Proxy Banned`, "error"); 100 | } else { 101 | console_log(`[GET] ${error.message}`, "error"); 102 | } 103 | }) 104 | } 105 | 106 | function sensorGen(abck, cookieJar, ua_browser, usedUserAgent, proxy, type) { 107 | var bmak = { 108 | ver: 1.45, 109 | ke_cnt_lmt: 150, 110 | mme_cnt_lmt: 100, 111 | mduce_cnt_lmt: 75, 112 | pme_cnt_lmt: 25, 113 | pduce_cnt_lmt: 25, 114 | tme_cnt_lmt: 25, 115 | tduce_cnt_lmt: 25, 116 | doe_cnt_lmt: 10, 117 | dme_cnt_lmt: 10, 118 | vc_cnt_lmt: 100, 119 | doa_throttle: 0, 120 | dma_throttle: 0, 121 | session_id: "default_session", 122 | js_post: !1, 123 | loc: "", 124 | cf_url: "https://apid.cformanalytics.com/api/v1/attempt", 125 | auth: "", 126 | api_public_key: null, 127 | aj_lmt_doact: 1, 128 | aj_lmt_dmact: 1, 129 | aj_lmt_tact: 1, 130 | ce_js_post: 0, 131 | init_time: 0, 132 | informinfo: "", 133 | prevfid: -1, 134 | fidcnt: 0, 135 | sensor_data: 0, 136 | ins: null, 137 | cns: null, 138 | enGetLoc: 0, 139 | enReadDocUrl: 0, 140 | disFpCalOnTimeout: 0, 141 | xagg: -1, 142 | pen: -1, 143 | brow: "", 144 | browver: "", 145 | psub: "-", 146 | lang: "-", 147 | prod: "-", 148 | wen: 0, 149 | den: 0, 150 | plen: -1, 151 | doadma_en: 0, 152 | sdfn: [], 153 | d2: 0, 154 | d3: 0, 155 | thr: 0, 156 | cs: "0a46G5m17Vrp4o4c", 157 | hn: "unk", 158 | z1: 0, 159 | o9: 0, 160 | vc: "", 161 | y1: 2016, 162 | ta: 0, 163 | tst: -1, 164 | t_tst: 0, 165 | ckie: "_abck", 166 | n_ck: "0", 167 | ckurl: 0, 168 | bm: !1, 169 | mr: "-1", 170 | altFonts: !1, 171 | rst: !1, 172 | runFonts: !0, 173 | fsp: !1, 174 | mn_mc_lmt: 10, 175 | mn_state: 0, 176 | mn_mc_indx: 0, 177 | mn_sen: 0, 178 | mn_tout: 100, 179 | mn_stout: 1e3, 180 | mn_ct: 1, 181 | mn_cc: "", 182 | mn_cd: 1e4, 183 | mn_lc: [], 184 | mn_ld: [], 185 | mn_lcl: 0, 186 | mn_al: [], 187 | mn_il: [], 188 | mn_tcl: [], 189 | mn_r: [], 190 | mn_abck: "", 191 | mn_psn: "", 192 | mn_ts: "", 193 | mn_lg: [], 194 | start_ts: Date.now() 195 | } 196 | var fpValstr = data(ua_browser).replace(/"/g, "\""); 197 | var p = ab(fpValstr) 198 | var add_random = lodash.random(40, 90); 199 | var updatet = (get_cf_date() - bmak.start_ts + add_random); 200 | var xx = (type === 0) ? -999999 : lodash.random(5, 100); 201 | var yy = (type === 0) ? -1 : Math.floor(1e3 * Math.random()).toString(); 202 | var zz = canvasArray[lodash.random(0, 999)]; 203 | var kk = lodash.random(100, 900); 204 | var ll = lodash.random(50, 550); 205 | var l = (get_cf_date() - bmak.start_ts + add_random + lodash.random(1, 3)); 206 | var me_val = 1 + l + kk + ll; 207 | // var f = [1, me_val, 0, 0, 0, 0, 0, updatet, 0, bmak.start_ts, xx, parseInt((parseInt(bmak.start_ts / (2016 * 2016))) / 23), 0, 1, parseInt(parseInt((parseInt(bmak.start_ts / (2016 * 2016))) / 23) / 6), 0, 0, l, mm, 0, abck, ab(abck), yy, zz, 30261693].join(','); 208 | var f = [1, 1, 0, 0, 0, 0, 0, updatet, 0, bmak.start_ts, xx, parseInt((parseInt(bmak.start_ts / (2016 * 2016))) / 23), 0, 0, parseInt(parseInt((parseInt(bmak.start_ts / (2016 * 2016))) / 23) / 6), 0, 0, l, 0, 0, abck, ab(abck), yy, zz, 30261693].join(','); 209 | to(bmak); 210 | 211 | //First sensor call 212 | var sensor_data = 213 | bmak.ver + 214 | "-1,2,-94,-100," + 215 | gd(ua_browser, usedUserAgent, bmak) + 216 | "-1,2,-94,-101," + 217 | "do_en,dm_en,t_en" + 218 | "-1,2,-94,-105," + 219 | // getforminfo() + 220 | "-1,2,-94,-102," + //add the getforminfo() function because Zed has OCD 221 | "-1,2,-94,-108," + //bmak.kact is empty 222 | "-1,2,-94,-110," + //bmak.mact is empty. Adding mouse movements below 223 | genMouseData(bmak) + 224 | // "0,1," + mm + ',' + kk + ',' + ll + ';' + 225 | "-1,2,-94,-117," + //bmak.tact is empty 226 | "-1,2,-94,-111," + //bmak.doact is empty 227 | "-1,2,-94,-109," + //bmak.dmact is empty. This is necessary 228 | 0 + ',' + lodash.random(50, 190) + ',-1,-1,-1,-1,-1,-1,-1,-1,-1;' + 229 | "-1,2,-94,-114," + //bmak.pact is empty 230 | "-1,2,-94,-103," + //bmak.vcact is empty. This might be necessary 231 | "-1,2,-94,-112," + 232 | getdurl() + 233 | "-1,2,-94,-115," + 234 | f + 235 | "-1,2,-94,-106," + 236 | "0,1"; //Might want to change these values. Deals with input 237 | 238 | // console.log(genMouseData()) 239 | //Sensor concatenation 1 240 | sensor_data = 241 | sensor_data + 242 | "-1,2,-94,-119," + 243 | // getmr() + 244 | "-1" + 245 | "-1,2,-94,-122," + 246 | sed() + 247 | "-1,2,-94,-123," + 248 | //the function h goes here. Apparently is undefined. 249 | "-1,2,-94,-124," + 250 | "-1,2,-94,-125,"; 251 | //the function g goes here. Apparently is undefined. 252 | 253 | var w = ab(sensor_data); 254 | var ff = (type === 0) ? -1 : fpValstr + ";-1"; 255 | var pp = (type === 0) ? 94 : p; 256 | //Sensor concatenation 2 257 | sensor_data = 258 | sensor_data + 259 | "-1,2,-94,-70," + 260 | ff + 261 | "-1,2,-94,-80," + 262 | pp + 263 | "-1,2,-94,-116," + 264 | to(bmak) + 265 | "-1,2,-94,-118," + 266 | w + 267 | "-1,2,-94,-121,"; 268 | var gg = (type === 0) ? false : true; 269 | return validator(gen_key(sensor_data, type), abck, cookieJar, usedUserAgent, proxy, gg) 270 | } 271 | 272 | function validator(sensor_data, abck, cookieJar, usedUserAgent, proxy, x) { 273 | var params = { 274 | method: 'POST', 275 | url: `${siteOptions[num].url}_bm/_data`, 276 | headers: { 277 | 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 278 | 'Accept-Encoding': 'gzip, deflate, br', 279 | 'Accept-Language': 'en-US,en;q=0.9', 280 | 'Content-Type': 'application/json', 281 | 'dnt': '1', 282 | 'Host': siteOptions[num].host, 283 | 'User-Agent': usedUserAgent, 284 | 'Connection': 'keep-alive', 285 | 'Cache-Control': 'no-cache' 286 | }, 287 | body: JSON.stringify({ 288 | "sensor_data": sensor_data 289 | }), 290 | // proxy: `http://${proxy}`, 291 | timeout: 2000, 292 | jar: cookieJar, 293 | resolveWithFullResponse: true, 294 | } 295 | return rp(params).then(response => { 296 | abck = response.headers['set-cookie'].toString().split("_abck=")[1].split("; Domain")[0]; 297 | verify_abck(abck, params.url); 298 | return abck; 299 | }).catch(error => { 300 | if (error.message == "Error: ESOCKETTIMEDOUT") { 301 | console_log(`[POST] Proxy Banned`, "error"); 302 | } else { 303 | console_log(`[POST] ${error.message}`, "error"); 304 | } 305 | }) 306 | } 307 | 308 | //This is basically their fingerprinting. Everything from this point to 'END' marker is fingerprinting related 309 | function gd(ua_browser, usedUserAgent, bmak) { 310 | var screen_size = screenSize() 311 | var a = usedUserAgent, 312 | t = "" + ab(a), 313 | e = bmak.start_ts / 2, 314 | n = screen_size[0], 315 | o = screen_size[1], 316 | m = screen_size[2], 317 | r = screen_size[3], 318 | i = screen_size[4], 319 | c = screen_size[5], 320 | b = screen_size[6]; 321 | bmak.z1 = parseInt(bmak.start_ts / (2016 * 2016)); 322 | var d = Math.random(), 323 | k = parseInt((1e3 * d) / 2), 324 | l = d + ""; 325 | return ((l = l.slice(0, 11) + k), get_browser(ua_browser, bmak), bc(ua_browser, bmak), bmisc(bmak), a + ",uaend," + bmak.xagg + "," + bmak.psub + "," + bmak.lang + "," + bmak.prod + "," + bmak.plen + "," + bmak.pen + "," + bmak.wen + "," + bmak.den + "," + bmak.z1 + "," + bmak.d3 + "," + n + "," + o + "," + m + "," + r + "," + i + "," + c + "," + b + "," + bd(ua_browser) + "," + t + "," + l + "," + e + ",loc:" + bmak.loc); 326 | } 327 | 328 | function screenSize() { 329 | var x = lodash.sample([ 330 | ['1098', '686', '1098', '686', '1098', '583', '1098'], 331 | ['1280', '680', '1280', '720', '1280', '578', '1280'], 332 | ['1440', '776', '1440', '900', '1440', '660', '1440'], 333 | ['1440', '826', '1440', '900', '1440', '746', '1440'], 334 | ['1440', '860', '1440', '900', '1440', '757', '1440'], 335 | ['1440', '831', '1440', '900', '1440', '763', '1440'], 336 | ['1440', '851', '1440', '900', '1420', '770', '1420'], 337 | ['1440', '786', '1440', '900', '1440', '789', '1440'], 338 | ['1440', '900', '1440', '900', '1440', '821', '1440'], 339 | ['1536', '824', '1536', '864', '1536', '722', '1536'], 340 | ['1680', '972', '1680', '1050', '1680', '939', '1680'], 341 | ['1680', '1020', '1680', '1050', '1680', '917', '1680'], 342 | ['1920', '1040', '1920', '1080', '1920', '937', '1920'], 343 | ['1920', '1040', '1920', '1080', '1920', '969', '1920'], 344 | ['1920', '1080', '1920', '1080', '1920', '1007', '1920'], 345 | ['2560', '1400', '2560', '1440', '2560', '1327', '2576'], 346 | ['1024', '1024', '1024', '1024', '1024', '1024', '1024'], 347 | ['1680', '973', '1680', '1050', '1133', '862', '1680'], 348 | ['1680', '973', '1680', '1050', '1680', '862', '1680'], 349 | ['1024', '768', '1024', '768', '1256', '605', '1272'] 350 | ]); 351 | return x; 352 | } 353 | 354 | //Needs to be spoofed 355 | function get_browser(ua_browser, bmak) { 356 | (bmak.psub = productSub(ua_browser)), 357 | (bmak.lang = "en-US"), 358 | (bmak.prod = "Gecko"), 359 | (bmak.plen = pluginsLength(ua_browser)); 360 | } 361 | 362 | function pluginsLength(browser) { 363 | switch (browser) { 364 | case "chrome": 365 | return 3; 366 | case "ie": 367 | return 1; 368 | case "opera": 369 | return 1; 370 | case "firefox": 371 | return 0; 372 | case "safari": 373 | return 1; 374 | } 375 | } 376 | 377 | function productSub(browser) { 378 | switch (browser) { 379 | case "chrome": 380 | return 20030107; 381 | case "ie": 382 | return 20030107; 383 | case "opera": 384 | return 20030107; 385 | case "firefox": 386 | return 20100101; 387 | case "safari": 388 | return 20030107; 389 | } 390 | } 391 | 392 | function touchEvent(browser) { 393 | switch (browser) { 394 | case "chrome": 395 | return 1; 396 | case "ie": 397 | return 0; 398 | case "opera": 399 | return 1; 400 | case "firefox": 401 | return 1; 402 | case "safari": 403 | return 0; 404 | } 405 | } 406 | 407 | function chrome(browser) { 408 | switch (browser) { 409 | case "chrome": 410 | return 1; 411 | default: 412 | return 0; 413 | } 414 | } 415 | 416 | function bc(ua_browser, bmak) { 417 | var a = 1, 418 | t = 1, 419 | e = 0, 420 | n = 0, 421 | o = 1, 422 | m = 1, 423 | r = touchEvent(ua_browser), 424 | i = 0, 425 | c = 1, 426 | b = 1, 427 | d = chrome(ua_browser), 428 | k = 1, 429 | l = 0, 430 | s = 1; 431 | bmak.xagg = 432 | a + 433 | (t << 1) + 434 | (e << 2) + 435 | (n << 3) + 436 | (o << 4) + 437 | (m << 5) + 438 | (r << 6) + 439 | (i << 7) + 440 | (c << 8) + 441 | (b << 9) + 442 | (d << 10) + 443 | (k << 11) + 444 | (l << 12) + 445 | (s << 13); 446 | } 447 | 448 | //This checks for automation from selenium/phantomjs/DOM automation. Already spoofed 449 | function bmisc(bmak) { 450 | (bmak.pen = 0), (bmak.wen = 0), (bmak.den = 0); 451 | //bmak._phantom 0 452 | //bmak.wen 0 453 | //bmak.den 0 454 | } 455 | 456 | // # bd function browser detect 457 | function bd(browser) { 458 | switch (browser) { 459 | case "chrome": 460 | return [",cpen:0", "i1:0", "dm:0", "cwen:0", "non:1", "opc:0", "fc:0", "sc:0", "wrc:1", "isc:0", "vib:1", "bat:1", "x11:0", "x12:1"].join(","); 461 | case "ie": 462 | return [",cpen:0", "i1:1", "dm:1", "cwen:0", "non:1", "opc:0", "fc:0", "sc:0", "wrc:0", "isc:0", "vib:0", "bat:0", "x11:0", "x12:1"].join(","); 463 | case "opera": 464 | return [",cpen:0", "i1:0", "dm:0", "cwen:0", "non:1", "opc:1", "fc:0", "sc:0", "wrc:1", "isc:0", "vib:0", "bat:1", "x11:0", "x12:1"].join(","); 465 | case "firefox": 466 | return [",cpen:0", "i1:0", "dm:0", "cwen:0", "non:1", "opc:0", "fc:1", "sc:0", "wrc:1", "isc:1", "vib:1", "bat:0", "x11:0", "x12:1"].join(","); 467 | case "safari": 468 | return [",cpen:0", "i1:0", "dm:0", "cwen:0", "non:1", "opc:0", "fc:0", "sc:0", "wrc:1", "isc:0", "vib:0", "bat:0", "x11:0", "x12:1"].join(","); 469 | } 470 | } 471 | 472 | function pluginInfo(browser) { 473 | switch (browser) { 474 | case "chrome": 475 | return [",7,8"]; 476 | case "ie": 477 | return [""]; 478 | case "opera": 479 | return [""]; 480 | case "firefox": 481 | return [",3"]; 482 | case "safari": 483 | return [""]; 484 | } 485 | } 486 | 487 | function webrtcKey(browser) { 488 | switch (browser) { 489 | case "chrome": 490 | return true; 491 | case "ie": 492 | return false; 493 | case "opera": 494 | return true; 495 | case "firefox": 496 | return true; 497 | case "safari": 498 | return true; 499 | } 500 | } 501 | 502 | //for sensor 503 | 504 | function cc(a) { 505 | var t = a % 4; 506 | 2 == t && (t = 3); 507 | var e = 42 + t; 508 | return String.fromCharCode(e) 509 | } 510 | 511 | function to(bmak) { 512 | var a = get_cf_date() % 1e7; 513 | bmak.d3 = a; 514 | for (var t = a, e = 0; e < 5; e++) { 515 | var n = parseInt(a / Math.pow(10, e)) % 10, 516 | o = n + 1, 517 | m = 'return a' + cc(n) + o + ';'; 518 | t = new Function('a', m)(t) 519 | } 520 | return t 521 | } 522 | 523 | //add this to functions 524 | function data(ua_browser) { 525 | return [canvas(), "dis", pluginInfo(ua_browser), true, true, true, ((new Date).getTimezoneOffset()), webrtcKey(ua_browser), 24, 24, true, false].join(";") 526 | } 527 | 528 | // # check for webdriver 529 | function sed() { 530 | return [0, 0, 0, 0, 1, 0, 0].join(","); 531 | } 532 | 533 | //END ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 534 | 535 | //Form Info 536 | 537 | function canvas() { 538 | return lodash.sample([-36060876, -1752250632, -1152944628, -1752591854, 539 | 1454252292, -739578230, 540 | 763748173, -52233038, -434613739, 541 | 59688812 542 | ]) 543 | } 544 | 545 | function getdurl() { 546 | //We have to make this as an input value later for our api 547 | // return 'https://www.yeezysupply.com/' 548 | return siteOptions[num].url 549 | } 550 | 551 | function ab(a) { 552 | for (var t = 0, e = 0; e < a.length; e++) { 553 | var n = a.charCodeAt(e); 554 | n < 128 && (t += n); 555 | } 556 | 557 | return t; 558 | } 559 | 560 | function gen_key(sensor_data, type) { 561 | var hh = (type === 0) ? -1 : lodash.random(4, 50); 562 | var a = get_cf_date(); 563 | var y = od("0a46G5m17Vrp4o4c", "afSbep8yjnZUjq3aL010jO15Sawj2VZfdYK8uY90uxq").slice(0, 16); 564 | var w = Math.floor(get_cf_date() / 36e5); 565 | var j = get_cf_date(); 566 | var E = y + od(w, y) + sensor_data; 567 | sensor_data = E + ";" + lodash.random(0, 5) + ";" + hh + ";" + (get_cf_date() - j) 568 | return sensor_data; 569 | } 570 | 571 | function rir(a, t, e, n) { 572 | return a > t && a <= e && (a += n % (e - t)) > e && (a = a - e + t), a; 573 | } 574 | 575 | //Gets the date when the sensor is genned 576 | function get_cf_date() { 577 | if (Date.now) { 578 | return Date.now(); 579 | } else { 580 | return +new Date(); 581 | } 582 | } 583 | 584 | function od(a, t) { 585 | try { 586 | (a = a.toString()), (t = t.toString()); 587 | var e = []; 588 | var n = t.length; 589 | if (n > 0) { 590 | for (var o = 0; o < a.length; o++) { 591 | var m = a.charCodeAt(o); 592 | var r = a.charAt(o); 593 | var i = t.charCodeAt(o % n); 594 | (m = rir(m, 47, 57, i)), 595 | m != a.charCodeAt(o) && (r = String.fromCharCode(m)), 596 | e.push(r); 597 | } 598 | if (e.length > 0) return e.join(""); 599 | } 600 | } catch (a) {} 601 | return a; 602 | } 603 | 604 | 605 | /** 606 | * @param {string} message - message 607 | * @param {string} type - success, error, info, warning, primary 608 | */ 609 | function console_log(message, type) { 610 | if (type == "success") { 611 | console.log(`${chalk.magenta(`[${new Date().toISOString()}]`)} ${chalk.green(message)}`); 612 | } else if (type == "error") { 613 | console.log(`${chalk.magenta(`[${new Date().toISOString()}]`)} ${chalk.red(message)}`); 614 | } else if (type == "info") { 615 | console.log(`${chalk.magenta(`[${new Date().toISOString()}]`)} ${chalk.cyan(message)}`); 616 | } else if (type == "warning") { 617 | console.log(`${chalk.magenta(`[${new Date().toISOString()}]`)} ${chalk.yellow(message)}`); 618 | } else if (type == "primary") { 619 | console.log(`${chalk.magenta(`[${new Date().toISOString()}]`)} ${chalk.white(message)}`); 620 | } 621 | } 622 | 623 | /** 624 | * @param {string} abck - abck cookie 625 | * @param {string} site - website (checks for footpatrol, footlocker, champssports, footaction, eastbay, kidsfootlocker, yeezysupply) 626 | */ 627 | function verify_abck(abck, site) { 628 | abck = abck.toString(); 629 | if (site.includes('footpatrol')) { 630 | abck.length == 397 ? (counter++, console_log(`[${counter}] Valid _abck = ${abck}\n`, "success")) : console_log(`Invalid _abck = ${abck}\n`, "error"); 631 | } else if (site.includes("dickssportinggoods")) { 632 | (abck.includes("~0~") && abck.includes("==")) ? (counter++, console_log(`[${counter}] Valid _abck = ${abck}\n`, "success")) : console_log(`Invalid _abck = ${abck}\n`, "error"); 633 | } else if (site.match(/footlocker|champssports|footaction|eastbay|kidsfootlocker/)) { 634 | abck.includes("~0~") ? (counter++, console_log(`[${counter}] Valid _abck = ${abck}\n`, "success")) : console_log(`Invalid _abck = ${abck}\n`, "error"); 635 | } else if (site.includes('yeezysupply')) { 636 | abck.includes("==") ? (counter++, console_log(`[${counter}] Valid _abck = ${abck}\n`, "success")) : console_log(`Invalid _abck = ${abck}\n`, "error"); 637 | } else if (site.includes('gamestop')) { 638 | abck.includes("==") ? (counter++, console_log(`[${counter}] Valid _abck = ${abck}\n`, "success")) : console_log(`Invalid _abck = ${abck}\n`, "error"); 639 | } else { 640 | console_log(`Wrong Website`, "error"); 641 | } 642 | } 643 | 644 | /** 645 | * @param {*} t 646 | * @param {*} p0 647 | * @param {*} p1 648 | * @param {*} p2 649 | * @param {*} p3 650 | * @returns 651 | */ 652 | function bezier(t, p0, p1, p2, p3) { 653 | var cX = 3 * (p1.x - p0.x), 654 | bX = 3 * (p2.x - p1.x) - cX, 655 | aX = p3.x - p0.x - cX - bX; 656 | 657 | var cY = 3 * (p1.y - p0.y), 658 | bY = 3 * (p2.y - p1.y) - cY, 659 | aY = p3.y - p0.y - cY - bY; 660 | 661 | var x = (aX * Math.pow(t, 3)) + (bX * Math.pow(t, 2)) + (cX * t) + p0.x; 662 | var y = (aY * Math.pow(t, 3)) + (bY * Math.pow(t, 2)) + (cY * t) + p0.y; 663 | 664 | return { 665 | x: x, 666 | y: y 667 | }; 668 | }; 669 | 670 | 671 | /** 672 | * @returns Random Mouse Data 673 | */ 674 | function genMouseData() { 675 | var timeStamp = Math.round(get_cf_date() - (new Date() - 20)); 676 | var mouseString = ''; 677 | var accuracy = 0.01, //this'll give the bezier 100 segments 678 | p0 = { 679 | x: Math.floor(Math.random() * 250), 680 | y: Math.floor(Math.random() * 25) 681 | }, //use whatever points you want obviously 682 | p1 = { 683 | x: Math.floor(Math.random() * 592), 684 | y: Math.floor(Math.random() * 232) 685 | }, 686 | p2 = { 687 | x: Math.floor(Math.random() * 231), 688 | y: Math.floor(Math.random() * 623) 689 | }, 690 | p3 = { 691 | x: Math.floor(Math.random() * 800), 692 | y: Math.floor(Math.random() * 641) 693 | }; 694 | 695 | for (var i = 0; i < 0.11; i += accuracy) { 696 | var p = bezier(i, p0, p1, p2, p3); 697 | timeStamp = timeStamp + lodash.random(0, 30); 698 | mouseString = mouseString + Math.round(i * 100) + ',' + 1 + ',' + timeStamp + ',' + Math.round(p.x) + ',' + Math.round(p.y) + ';' 699 | } 700 | 701 | return mouseString; 702 | } 703 | 704 | setInterval(function () { 705 | get_abck(); 706 | }, 1000); 707 | 708 | module.exports = get_abck; 709 | 710 | // function getforminfo() { 711 | // var temp_string = null; 712 | // var temp_string_2 = null; 713 | // for (var a = '', t = '', e = 1, n = -1, o = 0; o < e; o++) { 714 | // var r = lodash.random(50, 3000), 715 | // i = lodash.random(50, 3000), 716 | // b = lodash.sample([0, 1]), 717 | // k = lodash.sample([-1, 0, 0, 0, 0, 0, 0, 0, 1]), 718 | // n = lodash.sample([-1, 0, 1]), 719 | // _ = lodash.sample([0, 1]), 720 | // f = lodash.sample([0, 1]), 721 | // a = a + k + ',' + n + ',' + _ + ',' + b + ',' + i + ',' + r + ',' + f + ';', 722 | // t = t + _ + ';'; 723 | // } 724 | // console.log('get form info ' + null == temp_string && (temp_string = t), temp_string_2 = t, a) 725 | // return null == temp_string && (temp_string = t), temp_string_2 = t, a 726 | // } 727 | // function cma(a, t) { 728 | // var e = a; 729 | // var n = Math.floor(e.pageX); 730 | // var o = Math.floor(e.pageY); 731 | // var m = e.toElement; 732 | // var r = gf(m); 733 | // var i = "93", 734 | // c = 1 + ',' + t + ',' + i + ',' + n + ',' + o; 735 | // c += ';', 736 | // console.log(c) 737 | // } 738 | // document.addEventListener('mousemove', hmm, true) 739 | // function hmm(a) { 740 | // cma(a, 1) 741 | // } 742 | // function gf(a) { 743 | // var t; 744 | // if (t = null == a ? document.activeElement : a, null == document.activeElement) return -1; 745 | // var e = t.getAttribute('name'); 746 | // if (null == e) { 747 | // var n = t.getAttribute('id'); 748 | // return null == n ? -1 : ab(n) 749 | // } 750 | // return ab(e) 751 | // } 752 | // function ab(a) { 753 | // for (var t = 0, e = 0; e < a.length; e++) { 754 | // var n = a.charCodeAt(e); 755 | // n < 128 && (t += n); 756 | // } 757 | 758 | // return t; 759 | // } 760 | 761 | // console.log('Mouse Data: ' + JSON.stringify(genMouseData())); 762 | 763 | // function updatet() { 764 | // return get_cf_date() - bmak.start_ts; 765 | // } 766 | 767 | // function getmr() { 768 | // try { 769 | // for (var a = '', t = 1e3, e = [Math.abs, Math.acos, Math.asin, Math.atanh, Math.cbrt, Math.exp, Math.random, Math.round, Math.sqrt, isFinite, isNaN, parseFloat, parseInt, JSON.parse], n = 0; n < e.length; n++) { 770 | // var o = [], 771 | // m = 0, 772 | // r = performance.now(), 773 | // i = 0, 774 | // c = 0; 775 | // if (void 0 !== e[n]) { 776 | // for (i = 0; i < t && m < .6; i++) { 777 | // for (var b = performance.now(), d = 0; d < 4e3; d++) e[n](3.14); 778 | // var k = performance.now(); 779 | // o.push(Math.round(1e3 * (k - b))), m = k - r 780 | // } 781 | // var l = o.sort(); 782 | // c = l[Math.floor(l.length / 2)] / 5 783 | // } 784 | // a = a + c + ',' 785 | // } 786 | // return a; 787 | // } catch (a) { 788 | // return 'exception'; 789 | // } 790 | // } 791 | 792 | // function uar() { 793 | // return userAgent.toString().replace(/\|"/g, ""); 794 | // } -------------------------------------------------------------------------------- /websites.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name":"bestbuy", 4 | "ver":"1.54", 5 | "url":"https://www.bestbuy.com/", 6 | "host":"www.bestbuy.com", 7 | "headers":{ 8 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 9 | "accept-encoding":"gzip, deflate, br", 10 | "accept-language":"en-US,en;q=0.9", 11 | "dnt":"1", 12 | "sec-fetch-mode":"navigate", 13 | "sec-fetch-site":"none", 14 | "sec-fetch-user":"?1", 15 | "upgrade-insecure-requests":"1", 16 | "Host":"www.bestbuy.com", 17 | "Connection":"keep-alive", 18 | "Cache-Control":"no-cache" 19 | }, 20 | "valid_check": ["~0~", "="], 21 | "error_page": "https://www.bestbuy.com/" 22 | }, 23 | { 24 | "name":"dicks", 25 | "ver":"1.54", 26 | "url":"https://www.dickssportinggoods.com/", 27 | "host":"www.dickssportinggoods.com", 28 | "headers":{ 29 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 30 | "accept-encoding":"gzip, deflate, br", 31 | "accept-language":"en-US,en;q=0.9", 32 | "dnt":"1", 33 | "sec-fetch-mode":"navigate", 34 | "sec-fetch-site":"none", 35 | "sec-fetch-user":"?1", 36 | "upgrade-insecure-requests":"1", 37 | "Host":"www.dickssportinggoods.com", 38 | "Connection":"keep-alive" 39 | }, 40 | "valid_check": ["~0~", "=="], 41 | "error_page": null 42 | }, 43 | { 44 | "name":"zalandouk", 45 | "ver":"1.54", 46 | "url":"https://www.zalando.co.uk/", 47 | "host":"www.zalando.co.uk", 48 | "headers":{ 49 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 50 | "accept-encoding":"gzip, deflate, br", 51 | "accept-language":"en-US,en;q=0.9", 52 | "dnt":"1", 53 | "sec-fetch-mode":"navigate", 54 | "sec-fetch-site":"none", 55 | "sec-fetch-user":"?1", 56 | "upgrade-insecure-requests":"1", 57 | "Host":"www.zalando.co.uk", 58 | "Connection":"keep-alive" 59 | }, 60 | "valid_check": ["~-1~", "=~-1"], 61 | "error_page": null 62 | }, 63 | { 64 | "name":"sony", 65 | "ver":"1.54", 66 | "url":"https://id.sonyentertainmentnetwork.com/signin/#/signin?entry=%2Fsignin", 67 | "host":"id.sonyentertainmentnetwork.com", 68 | "headers":{ 69 | "accept":"*/*", 70 | "accept-encoding":"gzip, deflate, br", 71 | "accept-language":"en-US,en;q=0.9", 72 | "dnt":"1", 73 | "sec-fetch-mode":"navigate", 74 | "sec-fetch-site":"none", 75 | "sec-fetch-user":"?1", 76 | "upgrade-insecure-requests":"1", 77 | "Host":"id.sonyentertainmentnetwork.com", 78 | "Connection":"keep-alive" 79 | }, 80 | "valid_check": ["~0~", "=="], 81 | "error_page": "https://id.sonyentertainmentnetwork.com/signin/#/signin?entry=%2Fsignin" 82 | }, 83 | { 84 | "name":"dell", 85 | "ver":"1.54", 86 | "url":"https://www.dell.com/support/orders/us/en/usbsdt1?NoRedirect=true", 87 | "host":"www.dell.com", 88 | "headers":{ 89 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 90 | "accept-encoding":"gzip, deflate, br", 91 | "accept-language":"en-US,en;q=0.9", 92 | "dnt":"1", 93 | "sec-fetch-mode":"navigate", 94 | "sec-fetch-site":"none", 95 | "sec-fetch-user":"?1", 96 | "upgrade-insecure-requests":"1", 97 | "Host":"www.dell.com", 98 | "Connection":"keep-alive" 99 | }, 100 | "valid_check": ["~0~", "=~-1"], 101 | "error_page": "https://www.dell.com/support/orders/us/en/19/Invoice" 102 | }, 103 | { 104 | "name":"yeezysupply", 105 | "ver":"1.54", 106 | "url":"https://www.yeezysupply.com/", 107 | "host":"www.yeezysupply.com", 108 | "headers":{ 109 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 110 | "accept-encoding":"gzip, deflate, br", 111 | "accept-language":"en-US,en;q=0.9", 112 | "dnt":"1", 113 | "sec-fetch-mode":"navigate", 114 | "sec-fetch-site":"none", 115 | "sec-fetch-user":"?1", 116 | "upgrade-insecure-requests":"1", 117 | "Host":"www.yeezysupply.com", 118 | "Connection":"keep-alive", 119 | "Cache-Control":"no-cache" 120 | }, 121 | "valid_check": ["=="], 122 | "error_page": null 123 | }, 124 | { 125 | "name":"gamestop", 126 | "ver":"1.54", 127 | "url":"https://www.gamestop.com/", 128 | "host":"www.gamestop.com", 129 | "headers":{ 130 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 131 | "accept-encoding":"gzip, deflate, br", 132 | "accept-language":"en-US,en;q=0.9", 133 | "dnt":"1", 134 | "sec-fetch-mode":"navigate", 135 | "sec-fetch-site":"none", 136 | "sec-fetch-user":"?1", 137 | "upgrade-insecure-requests":"1", 138 | "Host":"www.gamestop.com", 139 | "Connection":"keep-alive", 140 | "Cache-Control":"no-cache" 141 | }, 142 | "valid_check": ["~-1~","=="], 143 | "error_page": null 144 | }, 145 | { 146 | "name":"costa", 147 | "ver":"1.54", 148 | "url":"https://www.costa.co.uk/", 149 | "host":"www.costa.co.uk", 150 | "headers":{ 151 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 152 | "accept-encoding":"gzip, deflate, br", 153 | "accept-language":"en-US,en;q=0.9", 154 | "dnt":"1", 155 | "sec-fetch-mode":"navigate", 156 | "sec-fetch-site":"none", 157 | "sec-fetch-user":"?1", 158 | "upgrade-insecure-requests":"1", 159 | "Host":"www.costa.co.uk", 160 | "Connection":"keep-alive", 161 | "Cache-Control":"no-cache" 162 | }, 163 | "valid_check": ["~0~", "=~-"], 164 | "error_page": null 165 | }, 166 | { 167 | "name":"footpatrol", 168 | "ver":"1.54", 169 | "url":"https://www.footpatrol.com/", 170 | "host":"www.footpatrol.com", 171 | "headers":{ 172 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 173 | "accept-encoding":"gzip, deflate, br", 174 | "accept-language":"en-US,en;q=0.9", 175 | "dnt":"1", 176 | "sec-fetch-mode":"navigate", 177 | "sec-fetch-site":"none", 178 | "sec-fetch-user":"?1", 179 | "upgrade-insecure-requests":"1", 180 | "Host":"www.footpatrol.com", 181 | "Connection":"keep-alive", 182 | "Cache-Control":"no-cache" 183 | }, 184 | "valid_check": ["~-1~", "~-1~-1~-1", "!=="], 185 | "error_page": null 186 | }, 187 | { 188 | "name":"jdsports", 189 | "ver":"1.54", 190 | "url":"https://www.jdsports.co.uk/", 191 | "host":"www.jdsports.co.uk", 192 | "headers":{ 193 | "accept":"*/*", 194 | "accept-encoding":"gzip, deflate, br", 195 | "accept-language":"en-US,en;q=0.9", 196 | "dnt":"1", 197 | "sec-fetch-mode":"navigate", 198 | "sec-fetch-site":"none", 199 | "sec-fetch-user":"?1", 200 | "upgrade-insecure-requests":"1", 201 | "Host":"www.jdsports.co.uk", 202 | "Connection":"keep-alive", 203 | "Cache-Control":"no-cache" 204 | }, 205 | "valid_check": ["~-1~", "=", "!=="], 206 | "error_page": null 207 | }, 208 | { 209 | "name":"footlocker", 210 | "ver":"1.54", 211 | "url":"https://www.footlocker.com/", 212 | "host":"www.footlocker.com", 213 | "headers":{ 214 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 215 | "accept-encoding":"gzip, deflate, br", 216 | "accept-language":"en-US,en;q=0.9", 217 | "dnt":"1", 218 | "sec-fetch-mode":"navigate", 219 | "sec-fetch-site":"none", 220 | "sec-fetch-user":"?1", 221 | "upgrade-insecure-requests":"1", 222 | "Host":"www.footlocker.com", 223 | "Connection":"keep-alive", 224 | "Cache-Control":"no-cache" 225 | }, 226 | "valid_check": ["~0~", "="], 227 | "error_page": null 228 | }, 229 | { 230 | "name":"footlockeruk", 231 | "ver":"1.54", 232 | "url":"https://www.footlocker.co.uk/en/homepage", 233 | "host":"www.footlocker.co.uk", 234 | "headers":{ 235 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 236 | "accept-encoding":"gzip, deflate, br", 237 | "accept-language":"en-US,en;q=0.9", 238 | "dnt":"1", 239 | "sec-fetch-mode":"navigate", 240 | "sec-fetch-site":"none", 241 | "sec-fetch-user":"?1", 242 | "upgrade-insecure-requests":"1", 243 | "Host":"www.footlocker.co.uk", 244 | "Connection":"keep-alive", 245 | "Cache-Control":"no-cache" 246 | }, 247 | "valid_check": ["~-1~", "=~-"], 248 | "error_page": "https://www.footlocker.co.uk/en/homepage" 249 | }, 250 | { 251 | "name":"champssports", 252 | "ver":"1.54", 253 | "url":"https://www.champssports.com/", 254 | "host":"www.champssports.com", 255 | "headers":{ 256 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 257 | "accept-encoding":"gzip, deflate, br", 258 | "accept-language":"en-US,en;q=0.9", 259 | "dnt":"1", 260 | "sec-fetch-mode":"navigate", 261 | "sec-fetch-site":"none", 262 | "sec-fetch-user":"?1", 263 | "upgrade-insecure-requests":"1", 264 | "Host":"www.champssports.com", 265 | "Connection":"keep-alive", 266 | "Cache-Control":"no-cache" 267 | }, 268 | "valid_check": ["~0~"], 269 | "error_page": null 270 | }, 271 | { 272 | "name":"footaction", 273 | "ver":"1.54", 274 | "url":"https://www.footaction.com/", 275 | "host":"www.footaction.com", 276 | "headers":{ 277 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 278 | "accept-encoding":"gzip, deflate, br", 279 | "accept-language":"en-US,en;q=0.9", 280 | "dnt":"1", 281 | "sec-fetch-mode":"navigate", 282 | "sec-fetch-site":"none", 283 | "sec-fetch-user":"?1", 284 | "upgrade-insecure-requests":"1", 285 | "Host":"www.footaction.com", 286 | "Connection":"keep-alive", 287 | "Cache-Control":"no-cache" 288 | }, 289 | "valid_check": ["~0~"], 290 | "error_page": null 291 | }, 292 | { 293 | "name":"eastbay", 294 | "ver":"1.54", 295 | "url":"https://www.eastbay.com/", 296 | "host":"www.eastbay.com", 297 | "headers":{ 298 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 299 | "accept-encoding":"gzip, deflate, br", 300 | "accept-language":"en-US,en;q=0.9", 301 | "dnt":"1", 302 | "sec-fetch-mode":"navigate", 303 | "sec-fetch-site":"none", 304 | "sec-fetch-user":"?1", 305 | "upgrade-insecure-requests":"1", 306 | "Host":"www.eastbay.com", 307 | "Connection":"keep-alive", 308 | "Cache-Control":"no-cache" 309 | }, 310 | "valid_check": ["~0~"], 311 | "error_page": null 312 | }, 313 | { 314 | "name":"kidsfootlocker", 315 | "ver":"1.54", 316 | "url":"https://www.kidsfootlocker.com/", 317 | "host":"www.kidsfootlocker.com", 318 | "headers":{ 319 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 320 | "accept-encoding":"gzip, deflate, br", 321 | "accept-language":"en-US,en;q=0.9", 322 | "dnt":"1", 323 | "sec-fetch-mode":"navigate", 324 | "sec-fetch-site":"none", 325 | "sec-fetch-user":"?1", 326 | "upgrade-insecure-requests":"1", 327 | "Host":"www.kidsfootlocker.com", 328 | "Connection":"keep-alive", 329 | "Cache-Control":"no-cache" 330 | }, 331 | "valid_check": ["~0~"], 332 | "error_page": null 333 | }, 334 | { 335 | "name":"panera", 336 | "ver":"1.54", 337 | "url":"https://www.panerabread.com/en-us/home.html", 338 | "host":"www.panerabread.com", 339 | "headers":{ 340 | "accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", 341 | "accept-encoding":"gzip, deflate, br", 342 | "accept-language":"en-US,en;q=0.9", 343 | "dnt":"1", 344 | "sec-fetch-mode":"navigate", 345 | "sec-fetch-site":"none", 346 | "sec-fetch-user":"?1", 347 | "upgrade-insecure-requests":"1", 348 | "Host":"www.panerabread.com", 349 | "Connection":"keep-alive", 350 | "Cache-Control":"no-cache" 351 | }, 352 | "valid_check": ["~-1~", "=="], 353 | "error_page": null 354 | } 355 | ] -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | ajv@^6.5.5: 6 | version "6.10.2" 7 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" 8 | integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw== 9 | dependencies: 10 | fast-deep-equal "^2.0.1" 11 | fast-json-stable-stringify "^2.0.0" 12 | json-schema-traverse "^0.4.1" 13 | uri-js "^4.2.2" 14 | 15 | asn1@~0.2.3: 16 | version "0.2.4" 17 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" 18 | integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== 19 | dependencies: 20 | safer-buffer "~2.1.0" 21 | 22 | assert-plus@1.0.0, assert-plus@^1.0.0: 23 | version "1.0.0" 24 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 25 | integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= 26 | 27 | asynckit@^0.4.0: 28 | version "0.4.0" 29 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 30 | integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= 31 | 32 | aws-sign2@~0.7.0: 33 | version "0.7.0" 34 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 35 | integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= 36 | 37 | aws4@^1.8.0: 38 | version "1.9.0" 39 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.9.0.tgz#24390e6ad61386b0a747265754d2a17219de862c" 40 | integrity sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A== 41 | 42 | bcrypt-pbkdf@^1.0.0: 43 | version "1.0.2" 44 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" 45 | integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= 46 | dependencies: 47 | tweetnacl "^0.14.3" 48 | 49 | bluebird@^3.5.0: 50 | version "3.7.2" 51 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" 52 | integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== 53 | 54 | caseless@~0.12.0: 55 | version "0.12.0" 56 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 57 | integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= 58 | 59 | combined-stream@^1.0.6, combined-stream@~1.0.6: 60 | version "1.0.8" 61 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" 62 | integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== 63 | dependencies: 64 | delayed-stream "~1.0.0" 65 | 66 | core-util-is@1.0.2: 67 | version "1.0.2" 68 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 69 | integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= 70 | 71 | dashdash@^1.12.0: 72 | version "1.14.1" 73 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 74 | integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= 75 | dependencies: 76 | assert-plus "^1.0.0" 77 | 78 | delayed-stream@~1.0.0: 79 | version "1.0.0" 80 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 81 | integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= 82 | 83 | docopt@~0.6.2: 84 | version "0.6.2" 85 | resolved "https://registry.yarnpkg.com/docopt/-/docopt-0.6.2.tgz#b28e9e2220da5ec49f7ea5bb24a47787405eeb11" 86 | integrity sha1-so6eIiDaXsSffqW7JKR3h0Be6xE= 87 | 88 | dot-json@^1.1.0: 89 | version "1.1.0" 90 | resolved "https://registry.yarnpkg.com/dot-json/-/dot-json-1.1.0.tgz#36dc7d40c00afaef2823b715b94325ba39f1bd89" 91 | integrity sha512-PiQZW9/C8xILPYK2bOye/cbPZrakNEkt28jFb8RlPCwsoMAHYYw9T8JoACxgttHL9Y2AmdqVvibbZJHtLgeqTQ== 92 | dependencies: 93 | docopt "~0.6.2" 94 | underscore-keypath "~0.0.22" 95 | 96 | ecc-jsbn@~0.1.1: 97 | version "0.1.2" 98 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" 99 | integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= 100 | dependencies: 101 | jsbn "~0.1.0" 102 | safer-buffer "^2.1.0" 103 | 104 | extend@~3.0.2: 105 | version "3.0.2" 106 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" 107 | integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== 108 | 109 | extsprintf@1.3.0: 110 | version "1.3.0" 111 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" 112 | integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= 113 | 114 | extsprintf@^1.2.0: 115 | version "1.4.0" 116 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" 117 | integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= 118 | 119 | fast-deep-equal@^2.0.1: 120 | version "2.0.1" 121 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" 122 | integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= 123 | 124 | fast-json-stable-stringify@^2.0.0: 125 | version "2.1.0" 126 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" 127 | integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== 128 | 129 | forever-agent@~0.6.1: 130 | version "0.6.1" 131 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 132 | integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= 133 | 134 | form-data@~2.3.2: 135 | version "2.3.3" 136 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" 137 | integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== 138 | dependencies: 139 | asynckit "^0.4.0" 140 | combined-stream "^1.0.6" 141 | mime-types "^2.1.12" 142 | 143 | getpass@^0.1.1: 144 | version "0.1.7" 145 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 146 | integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= 147 | dependencies: 148 | assert-plus "^1.0.0" 149 | 150 | har-schema@^2.0.0: 151 | version "2.0.0" 152 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 153 | integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= 154 | 155 | har-validator@~5.1.0: 156 | version "5.1.3" 157 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" 158 | integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g== 159 | dependencies: 160 | ajv "^6.5.5" 161 | har-schema "^2.0.0" 162 | 163 | http-signature@~1.2.0: 164 | version "1.2.0" 165 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 166 | integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= 167 | dependencies: 168 | assert-plus "^1.0.0" 169 | jsprim "^1.2.2" 170 | sshpk "^1.7.0" 171 | 172 | is-typedarray@~1.0.0: 173 | version "1.0.0" 174 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 175 | integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= 176 | 177 | isstream@~0.1.2: 178 | version "0.1.2" 179 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 180 | integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= 181 | 182 | jsbn@~0.1.0: 183 | version "0.1.1" 184 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 185 | integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= 186 | 187 | json-schema-traverse@^0.4.1: 188 | version "0.4.1" 189 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 190 | integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== 191 | 192 | json-schema@0.2.3: 193 | version "0.2.3" 194 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 195 | integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= 196 | 197 | json-stringify-safe@~5.0.1: 198 | version "5.0.1" 199 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 200 | integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= 201 | 202 | jsprim@^1.2.2: 203 | version "1.4.1" 204 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" 205 | integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI= 206 | dependencies: 207 | assert-plus "1.0.0" 208 | extsprintf "1.3.0" 209 | json-schema "0.2.3" 210 | verror "1.10.0" 211 | 212 | lodash.clonedeep@^4.5.0: 213 | version "4.5.0" 214 | resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" 215 | integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= 216 | 217 | lodash@^4.17.15: 218 | version "4.17.15" 219 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" 220 | integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== 221 | 222 | mime-db@1.42.0: 223 | version "1.42.0" 224 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac" 225 | integrity sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ== 226 | 227 | mime-types@^2.1.12, mime-types@~2.1.19: 228 | version "2.1.25" 229 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.25.tgz#39772d46621f93e2a80a856c53b86a62156a6437" 230 | integrity sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg== 231 | dependencies: 232 | mime-db "1.42.0" 233 | 234 | oauth-sign@~0.9.0: 235 | version "0.9.0" 236 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" 237 | integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== 238 | 239 | performance-now@^2.1.0: 240 | version "2.1.0" 241 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 242 | integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= 243 | 244 | psl@^1.1.24, psl@^1.1.28: 245 | version "1.7.0" 246 | resolved "https://registry.yarnpkg.com/psl/-/psl-1.7.0.tgz#f1c4c47a8ef97167dea5d6bbf4816d736e884a3c" 247 | integrity sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ== 248 | 249 | punycode@^1.4.1: 250 | version "1.4.1" 251 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 252 | integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= 253 | 254 | punycode@^2.1.0, punycode@^2.1.1: 255 | version "2.1.1" 256 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" 257 | integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== 258 | 259 | qs@~6.5.2: 260 | version "6.5.2" 261 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" 262 | integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== 263 | 264 | request-promise-core@1.1.3: 265 | version "1.1.3" 266 | resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.3.tgz#e9a3c081b51380dfea677336061fea879a829ee9" 267 | integrity sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ== 268 | dependencies: 269 | lodash "^4.17.15" 270 | 271 | request-promise@^4.2.5: 272 | version "4.2.5" 273 | resolved "https://registry.yarnpkg.com/request-promise/-/request-promise-4.2.5.tgz#186222c59ae512f3497dfe4d75a9c8461bd0053c" 274 | integrity sha512-ZgnepCykFdmpq86fKGwqntyTiUrHycALuGggpyCZwMvGaZWgxW6yagT0FHkgo5LzYvOaCNvxYwWYIjevSH1EDg== 275 | dependencies: 276 | bluebird "^3.5.0" 277 | request-promise-core "1.1.3" 278 | stealthy-require "^1.1.1" 279 | tough-cookie "^2.3.3" 280 | 281 | request@^2.88.0: 282 | version "2.88.0" 283 | resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" 284 | integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== 285 | dependencies: 286 | aws-sign2 "~0.7.0" 287 | aws4 "^1.8.0" 288 | caseless "~0.12.0" 289 | combined-stream "~1.0.6" 290 | extend "~3.0.2" 291 | forever-agent "~0.6.1" 292 | form-data "~2.3.2" 293 | har-validator "~5.1.0" 294 | http-signature "~1.2.0" 295 | is-typedarray "~1.0.0" 296 | isstream "~0.1.2" 297 | json-stringify-safe "~5.0.1" 298 | mime-types "~2.1.19" 299 | oauth-sign "~0.9.0" 300 | performance-now "^2.1.0" 301 | qs "~6.5.2" 302 | safe-buffer "^5.1.2" 303 | tough-cookie "~2.4.3" 304 | tunnel-agent "^0.6.0" 305 | uuid "^3.3.2" 306 | 307 | safe-buffer@^5.0.1, safe-buffer@^5.1.2: 308 | version "5.2.0" 309 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" 310 | integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== 311 | 312 | safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: 313 | version "2.1.2" 314 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 315 | integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== 316 | 317 | sshpk@^1.7.0: 318 | version "1.16.1" 319 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" 320 | integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== 321 | dependencies: 322 | asn1 "~0.2.3" 323 | assert-plus "^1.0.0" 324 | bcrypt-pbkdf "^1.0.0" 325 | dashdash "^1.12.0" 326 | ecc-jsbn "~0.1.1" 327 | getpass "^0.1.1" 328 | jsbn "~0.1.0" 329 | safer-buffer "^2.0.2" 330 | tweetnacl "~0.14.0" 331 | 332 | stealthy-require@^1.1.1: 333 | version "1.1.1" 334 | resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" 335 | integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks= 336 | 337 | tough-cookie@^2.3.3: 338 | version "2.5.0" 339 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" 340 | integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== 341 | dependencies: 342 | psl "^1.1.28" 343 | punycode "^2.1.1" 344 | 345 | tough-cookie@~2.4.3: 346 | version "2.4.3" 347 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" 348 | integrity sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ== 349 | dependencies: 350 | psl "^1.1.24" 351 | punycode "^1.4.1" 352 | 353 | tunnel-agent@^0.6.0: 354 | version "0.6.0" 355 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 356 | integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= 357 | dependencies: 358 | safe-buffer "^5.0.1" 359 | 360 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 361 | version "0.14.5" 362 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 363 | integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= 364 | 365 | underscore-keypath@~0.0.22: 366 | version "0.0.22" 367 | resolved "https://registry.yarnpkg.com/underscore-keypath/-/underscore-keypath-0.0.22.tgz#48a528392bb6efc424be1caa56da4b5faccf264d" 368 | integrity sha1-SKUoOSu278QkvhyqVtpLX6zPJk0= 369 | dependencies: 370 | underscore "*" 371 | 372 | underscore@*: 373 | version "1.9.1" 374 | resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961" 375 | integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg== 376 | 377 | uri-js@^4.2.2: 378 | version "4.2.2" 379 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" 380 | integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== 381 | dependencies: 382 | punycode "^2.1.0" 383 | 384 | user-agents@^1.0.490: 385 | version "1.0.490" 386 | resolved "https://registry.yarnpkg.com/user-agents/-/user-agents-1.0.490.tgz#774cc4d9ab5875db48e417599ea425d698a06091" 387 | integrity sha512-LEuU0L8uC0OLgbtxvshxCLRQp7kv4rhsOKMH28NkHm0c33CbK8n4SeezrhNmAyVrOSqYgT6Tu39eVYRe5Xy8Jg== 388 | dependencies: 389 | dot-json "^1.1.0" 390 | lodash.clonedeep "^4.5.0" 391 | 392 | uuid@^3.3.2: 393 | version "3.3.3" 394 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866" 395 | integrity sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ== 396 | 397 | verror@1.10.0: 398 | version "1.10.0" 399 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" 400 | integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= 401 | dependencies: 402 | assert-plus "^1.0.0" 403 | core-util-is "1.0.2" 404 | extsprintf "^1.2.0" 405 | --------------------------------------------------------------------------------