Warning
This repository is in an archived state. Use caution when evaluating or using this code as its methods or dependencies may be outdated or insecure.
_
(_)___ ___ ___ ___ _ __ ___
| / __|_____/ __|/ __/ _ \| '_ \ / _ \
| \__ \_____\__ \ (_| (_) | |_) | __/
_/ |___/ |___/\___\___/| .__/ \___|
|__/ |_|
v2.0
Enumerates javascript requests and hooks native function calls with Headless Chrome.
yarn install
redis
The default configs point to localhost for the redis server (scan queue).
puppeteer
Replace default startup arguments as needed (proxy/sandbox)
"args": [
"--headless",
"--no-sandbox",
"--disable-gpu",
"--single-process",
"--no-zygote"
],
"timeout": 300000
Depends on the MerryMaker Scan queue for tasking jobs and queueing results.
yarn start
yarn build
yarn lint
Start the test web server
yarn start-test
Run Jest
yarn jest
console-message
- catches and relays console messageslog-message
- user defined log message for debugging and tracking statecomplete
- fired once the site flow has completedpageError
- the page threw an errorpageCookies
- tracks cookiesworkerCreated
- tracks web workersscriptRequest
- tracks javascript request eventsresponseError
- occurs when a request failedrequestResponse
- contains details of a request and responsescanError
- fired when the scan itself fails to completefunctionCall
- tracks hooked native function callsscreenshotEvent
- contains a base64 encoded screenshot for tracing the site flow
Copyright (c) 2021 Target Brands, Inc.