Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/mantasdaraciunas/CookieScanner

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mantasdaraciunas/CookieScanner

  • v0.0.0-20190425073817-4f56c641cea5
  • Source
  • Go
  • Socket score

Version published
Created
Source

Cookie Tester is a simple utility to analyze website cookie status and generate reports for GDPR-compliance.

Installation

Requires MacOS/Linux system.

First, install Google Chrome in your operating system. Or you can start a headless Chrome in docker with

$ docker container run -d -p 9222:9222 zenika/alpine-chrome --no-sandbox \ 
 --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222

Then, install the CookieTester using go get.

$ go get github.com/CovenantSQL/CookieTester

Usage

CookieTester is capable of geneating reports in json/html/pdf format.

$ CookieTester --help
usage: CookieTester [<flags>] <command> [<args> ...]

website cookie usage report generator

Flags:
  --help                 Show context-sensitive help (also try --help-long and --help-man).
  --chrome=CHROME        chrome application to run as remote debugger
  --verbose              run debugger in verbose mode
  --timeout=1m0s         timeout for a single cookie scan
  --wait=WAIT            wait duration after page load in scan
  --log-level=LOG-LEVEL  set log level

Commands:
  help [<command>...]
    Show help.

  cli [<flags>] <site>
    generate report for a single website

  version
    get debugger version

  server [<flags>]
    start a report generation server

$ CookieTester cli --help
usage: CookieTester cli [<flags>] <site>

generate report for a single website

Flags:
  --help                 Show context-sensitive help (also try --help-long and --help-man).
  --chrome=CHROME        chrome application to run as remote debugger
  --verbose              run debugger in verbose mode
  --timeout=1m0s         timeout for a single cookie scan
  --wait=WAIT            wait duration after page load in scan
  --log-level=LOG-LEVEL  set log level
  --headless             run chrome in headless mode
  --port=9222            chrome remote debugger listen port
  --json                 print report as json
  --html=HTML            save report as html
  --pdf=PDF              save report as pdf

Args:
  <site>  site url

Examples

Generate HTML report for www.google.com using cli mode.

$ CookieTester cli --headless --html google.html www.google.com

Just wait for a while, you will found google.html showing results containing cookie descriptions like NID.

FAQs

Package last updated on 25 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc