FredrikAugust / bulk-renamer

Simple app that allows you to bulk-rename js variables. Useful fo CTFs

Home Page:https://fredrikaugust.github.io/bulk-renamer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bulk renamer for JavaScript

Link to website

This is a very simple program that takes a javscript program, and renames variables sharing the same name, but not representing the same variables into unique names.

This is a common obfuscation pattern in CTFs, and this is my motivation for creating it.

The idea is based upon the issue submitted by KOLANICH @ open-source-ideas/open-source-ideas.

How?

  1. First, validate the input with ESPrima.
  2. Create a span around every character, and allow the user to click on a character to rename the variable under the cursor, and all references to that variable.
  3. Regen the code, and show that.
  4. Repeast 2. until satisfied, and click generate new code.

About

Simple app that allows you to bulk-rename js variables. Useful fo CTFs

https://fredrikaugust.github.io/bulk-renamer

License:MIT License


Languages

Language:JavaScript 54.6%Language:HTML 30.7%Language:CSS 14.8%