Giter VIP home page Giter VIP logo

psa-maps-activation-tool's Introduction

PL ๐Ÿ‡ต๐Ÿ‡ฑ ยท EN ๐Ÿ‡ฌ๐Ÿ‡ง

Activation Key Generator for PSA Group Vehicle Map Updates

This script is used to generate an activation key for a specific map update file (CCT.DAT.inf) and VIN number. Generated keys are compatible with most navigation systems in PSA group vehicles (Citroen, Peugeot, DS Automobile) including:

  • RT6 - CCT.DAT.inf file from the main directory \
  • SMEG - CCT.DAT.inf file from SMEG_UPG\DATA folder
  • SMEG+ - CCT.DAT.inf file from SMEG_PLUS_UPG\DATA folder
  • SMEG IV2 - CCT.DAT.inf file from SMEG_IV2_UPG\DATA folder

The activation key is calculated using the Twofish algorithm and is based on the contents of the CCT.DAT.inf file and the VIN number. The file is read and its content is used as input data to the Twofish algorithm, along with the VIN number and a constant initialization vector. The encrypted data obtained is then used to generate the activation key, which is returned as a string.

Live Demo

The script can be tested here.

generate function

import generator from './generator.js';

generator(filePath: string, vinNumber: string) => Promise<string>
  • filePath - path to the file (CCT.DAT.inf).
  • vinNumber - VIN number to generate the key for.

Returns: a Promise object containing the generated activation key as a string. If the VIN number is too short or an error occurs while reading the file, an error is returned.

There is a sample CCT.DAT.inf file in the repository.

Requirements

  • node.js v12 or higher
  • npm v6 or higher

Installation

To install dependencies, run the command: npm install

Usage

To generate an activation key:

  1. Edit the contents of the index.js file according to example below:
Keygen('/path/to/CCT.DAT.inf', 'EXAMPLE_VIN_NUMBER');
  1. Run the scripts with the command: node index.js
  2. The generated activation key will be displayed in the console.

Screenshoot

This is an implementation of original Java key generator in JavaScript. Original Java generator: generator_java-RT6.rar

This software is provided "as is" and the author of this software cannot be held responsible for any illegal use of the software. It is the responsibility of the user to use the software in accordance with the laws of their jurisdiction. The user is solely responsible for any consequences that may arise from the use of this software. By using this software, the user agrees to these terms.

psa-maps-activation-tool's People

Contributors

hotfr1dge 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.