Git Product home page Git Product logo

datadome-bp's Introduction

DataDome Cookie Generator

DataDome Cookie Generator is a project designed to interact with DataDome's API to generate secure cookies. DataDome is a renowned solution specializing in bot mitigation and protecting websites from various malicious activities. This project aimed to aid interactions with sites that utilize DataDome for protection, such as footlocker.com, asus.com, mcdonalds.com and so on.

Table of Contents

  1. Prerequisites
  2. Installation
  3. Usage
  4. API Endpoints
  5. Related Projects
  6. Disclaimer

Prerequisites

  • Node.js (>= 13.2.0)

Installation

  1. Clone the repository.

    git clone https://github.com/ceodavee/datadome-bp.git
  2. Navigate to the project directory.

    cd datadome-bp
  3. Install the dependencies.

    npm install

Usage

  1. Start the server by running the following command:

    node --experimental-modules source/main.mjs
  2. The server will start and will be available at http://localhost:{configured-port}/cookie-generator.

API Endpoints

Generate Cookie

  • Endpoint:
    POST /cookie-generator
    
  • Request Body: Content-Type has to be application/json
    {
      "targetDomain": "http://example.com"
    }
  • Success Response:
    {
      "raw": "raw_cookie_string",
      "cookie": "cookie_name=cookie_value",
      "value": "cookie_value"
    }
  • Error Response:
    {
      "Error": "Error Message"
    }

Related Projects

In one of my older projects, Footlocker Bot, there is also a method to bypass DataDome, albeit with a different approach. You may find it insightful to check out this method as well; however, please note that the DataDome bypass in the Footlocker Bot project is no longer operational. The functionality of this current project is not verified recently.

Disclaimer

This project was operational about 0.5 years ago from the time of this documentation. It may not be working anymore as it has not been tested recently. Please try and verify it in your environment, and use it responsibly, respecting all relevant laws and website terms of service.

datadome-bp's People

Contributors

d-suter avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.