Skip to content

ScriptoX is a versatile tool that enables users to create SVG and PDF files with embedded JavaScript code.

Notifications You must be signed in to change notification settings

AnonKryptiQuz/ScriptoX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScriptoX: SVG & PDF Creator with Embedded JavaScript

ScriptoX combines two powerful functionalities: creating SVG and PDF files with embedded JavaScript code. Designed for educational and testing purposes, this tool enables the users to generate files demonstrating how embedded scripts can operate within SVG and PDF documents. It's useful for security researchers and developers looking to understand the implications of embedded scripts. (Not an XSS tool)

Features

  • SVG Creation: Generate SVG files with customizable embedded JavaScript.
  • PDF Creation: Create PDF files that include JavaScript actions.
  • User-Friendly: Interactive prompts for easy input and configuration.
  • Educational Use: Ideal for learning about embedded scripts in SVGs and PDFs and their potential security implications.

Prerequisites

  • Python 3.7+
  • colorama
  • prompt_toolkit

Installation

  1. Clone the repository:

    git clone https://github.com/AnonKryptiQuz/ScriptoX.git
    cd ScriptoX
  2. Install the required packages:

    pip install -r requirements.txt

    Ensure requirements.txt contains:

    colorama==0.4.6
    prompt_toolkit==3.0.36
    

Usage

  1. Run the tool:

    python ScriptoX.py
  2. Follow the prompts to specify the SVG or PDF filename and the JavaScript code to embed.

  3. The generated file will be saved with the specified filename.

Disclaimer

  • Educational Purposes Only: ScriptoX is intended for educational and research use. The tool should not be used for illegal or malicious activities. It is the user’s responsibility to ensure compliance with local laws and regulations.

Author

Created by: AnonKryptiQuz

About

ScriptoX is a versatile tool that enables users to create SVG and PDF files with embedded JavaScript code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages