Skip to content

If a source map is accessible, this script extracts out all of the sources to make them ready for post processing, e.g. in Cursor, grep, or other tools.

Notifications You must be signed in to change notification settings

rivsec/sourcemap-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sourcemap-parse

If a source map is accessible, this script extracts out all of the sources to make them ready for post processing, e.g. in Cursor, grep, or other tools.

Features

  • Download sourcemap files from URLs
  • Extract all source files with proper directory structure
  • Preserve original file paths and content

Installation

  1. Clone this repository or download the files
  2. Install the required dependencies:
pip install -r requirements.txt

Usage

python sourcemap-parse.py https://example.com/ --proxy socks5://127.0.0.1:9001 --extract_sources --output_dir C:\\tmp\\extracted_sources

About

If a source map is accessible, this script extracts out all of the sources to make them ready for post processing, e.g. in Cursor, grep, or other tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages